Subversion Repositories gelsvn

Rev

Rev 198 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 198 Rev 217
Line 1... Line 1...
1
# @file <%project_file%>
1
# @file <%project_file%>
2
#
2
#
3
# $Id: automake.mpd 198 2005-12-15 11:30:53Z bj $
3
# $Id: automake.mpd 217 2006-05-05 09:35:48Z bj $
4
<%marker(top)%>
4
<%marker(top)%>
5
<%if(requires || avoids)%>
5
<%if(requires || avoids)%>
6
 
6
 
7
<%foreach(uniq(requires))%>
7
<%foreach(uniq(requires))%>
8
if BUILD_<%uc(require)%>
8
if BUILD_<%uc(require)%>
Line 83... Line 83...
83
<%normalize(exename)%>_CPPFLAGS = \
83
<%normalize(exename)%>_CPPFLAGS = \
84
<%else%>
84
<%else%>
85
lib<%libname_prefix%><%if(sharedname)%><%normalize(sharedname)%><%else%><%normalize(staticname)%><%endif%>_la_CPPFLAGS = \
85
lib<%libname_prefix%><%if(sharedname)%><%normalize(sharedname)%><%else%><%normalize(staticname)%><%endif%>_la_CPPFLAGS = \
86
<%endif%>
86
<%endif%>
87
<%foreach(am_includes)%>
87
<%foreach(am_includes)%>
88
  -I<%am_include%><%if(defines || common_defines || macros || need_staticflags || dynamicflags)%> \<%else%><%fornotlast(" \\")%><%endif%>
88
  -I<%am_include%><%if(defines || common_defines || macros || compile_flags || need_staticflags || dynamicflags)%> \<%else%><%fornotlast(" \\")%><%endif%>
89
<%endfor%>
89
<%endfor%>
90
<%foreach(defines common_defines macros)%>
90
<%foreach(defines common_defines macros)%>
91
  -D<%define%><%if(compile_flags || need_staticflags || dynamicflags)%> \<%else%><%fornotlast(" \\")%><%endif%>
91
  -D<%define%><%if(compile_flags || need_staticflags || dynamicflags)%> \<%else%><%fornotlast(" \\")%><%endif%>
92
<%endfor%>
92
<%endfor%>
93
<%foreach(compile_flags)%>
93
<%foreach(compile_flags)%>
94
  <%compile_flags%><%if(need_staticflags || dynamicflags)%> \<%else%><%fornotlast(" \\")%><%endif%>
94
  <%compile_flag%><%if(need_staticflags || dynamicflags)%> \<%else%><%fornotlast(" \\")%><%endif%>
95
<%endfor%>
95
<%endfor%>
96
<%if(need_staticflags)%>
96
<%if(need_staticflags)%>
97
<%if(staticflags)%>
97
<%if(staticflags)%>
98
<%foreach(staticflags)%>
98
<%foreach(staticflags)%>
99
  -D<%staticflag%><%fornotlast(" \\")%>
99
  -D<%staticflag%><%fornotlast(" \\")%>
Line 113... Line 113...
113
<%normalize(exename)%>_SOURCES = \
113
<%normalize(exename)%>_SOURCES = \
114
<%else%>
114
<%else%>
115
lib<%libname_prefix%><%if(sharedname)%><%normalize(sharedname)%><%else%><%normalize(staticname)%><%endif%>_la_SOURCES = \
115
lib<%libname_prefix%><%if(sharedname)%><%normalize(sharedname)%><%else%><%normalize(staticname)%><%endif%>_la_SOURCES = \
116
<%endif%>
116
<%endif%>
117
<%foreach(source_file, sort(source_files))%>
117
<%foreach(source_file, sort(source_files))%>
118
  <%source_file%><%if(exename)%><%if(header_files || inline_files)%> \<%else%><%fornotlast(" \\")%><%endif%><%else%><%fornotlast(" \\")%><%endif%>
118
<%if(!flag_overrides(source_file, buildflags))%>
-
 
119
  <%source_file%> \
-
 
120
<%endif%>
119
<%endfor%>
121
<%endfor%>
120
<%if(exename)%>
122
<%if(exename)%>
121
<%foreach(header_file, sort(header_files inline_files))%>
123
<%foreach(header_file, sort(header_files inline_files))%>
122
  <%header_file%><%fornotlast(" \\")%>
124
  <%header_file%><%fornotlast(" \\")%>
123
<%endfor%>
125
<%endfor%>
Line 165... Line 167...
165
  <%pure_lib%><%fornotlast(" \\")%>
167
  <%pure_lib%><%fornotlast(" \\")%>
166
<%endfor%>
168
<%endfor%>
167
<%endif%>
169
<%endif%>
168
<%endif%>
170
<%endif%>
169
<%endif%>
171
<%endif%>
-
 
172
<%endif%>
170
<%if(!exename)%>
173
<%if(!exename)%>
171
<%if(header_files || inline_files || template_files || idl_files || pidl_files)%>
174
<%if(header_files || inline_files || template_files || idl_files || pidl_files)%>
172
 
175
 
173
<%if(includedir)%>
176
<%if(includedir)%>
174
<%project_name%>_includedir = <%includedir%>
177
<%project_name%>_includedir = <%includedir%>
Line 178... Line 181...
178
<%foreach(header, sort(header_files inline_files template_files idl_files pidl_files))%>
181
<%foreach(header, sort(header_files inline_files template_files idl_files pidl_files))%>
179
  <%header%><%fornotlast(" \\")%>
182
  <%header%><%fornotlast(" \\")%>
180
<%endfor%>
183
<%endfor%>
181
<%endif%>
184
<%endif%>
182
<%endif%>
185
<%endif%>
183
<%endif%>
-
 
184
<%if(pkgconfig_files)%>
186
<%if(pkgconfig_files)%>
185
 
187
 
186
pkgconfig_DATA += \
188
pkgconfig_DATA += \
187
<%foreach(pkgconfig_files)%>
189
<%foreach(pkgconfig_files)%>
188
  <%basenoextension(pkgconfig_file)%><%fornotlast(" \\")%>
190
  <%basenoextension(pkgconfig_file)%><%fornotlast(" \\")%>
Line 196... Line 198...
196
 
198
 
197
<%basenoextension(pkgconfig_file)%>: ${top_builddir}/config.status ${srcdir}/<%pkgconfig_file%>
199
<%basenoextension(pkgconfig_file)%>: ${top_builddir}/config.status ${srcdir}/<%pkgconfig_file%>
198
	${top_builddir}/config.status --file "$@":${srcdir}/<%pkgconfig_file%>
200
	${top_builddir}/config.status --file "$@":${srcdir}/<%pkgconfig_file%>
199
<%endfor%>
201
<%endfor%>
200
<%endif%>
202
<%endif%>
-
 
203
<%foreach(sort(source_files))%>
-
 
204
<%if(flag_overrides(source_file, buildflags))%>
-
 
205
 
-
 
206
<%if(exename)%><%normalize(exename)%>_LDADD<%else%>lib<%libname_prefix%><%if(sharedname)%><%normalize(sharedname)%><%else%><%normalize(staticname)%><%endif%>_la_LIBADD<%endif%> += lib<%normalize(source_file)%>_convenience<%forcount%>.la
-
 
207
noinst_LTLIBRARIES += lib<%normalize(source_file)%>_convenience<%forcount%>.la
-
 
208
lib<%normalize(source_file)%>_convenience<%forcount%>_la_SOURCES = <%source_file%>
-
 
209
lib<%normalize(source_file)%>_convenience<%forcount%>_la_CPPFLAGS = $(<%if(exename)%><%normalize(exename)%><%else%>lib<%libname_prefix%><%if(sharedname)%><%normalize(sharedname)%><%else%><%normalize(staticname)%><%endif%>_la<%endif%>_CPPFLAGS) <%flag_overrides(source_file, buildflags)%>
-
 
210
<%endif%>
-
 
211
<%endfor%>
201
<%if(postbuild)%>
212
<%if(postbuild)%>
202
 
213
 
203
all: __postbuild__
214
all: __postbuild__
204
 
215
 
205
__postbuild__:
216
__postbuild__: