Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 1129 lines (950 sloc) 29.862 kB
0ec3897 @ciyam Basic files for make system.
authored
1 ##
2 ## Usage:
4efd286 @ciyam Reworked make for debug builds (Windows only).
authored
3 ## make [<target1> [<target2>] [...]]
0ec3897 @ciyam Basic files for make system.
authored
4 ##
5 ## where:
6 ## <target> is: to:
7 ## all make all targets
8 ## dtm creates make.dtm
9 ## clean clean all targets
10 ## usage display this output
11 ##
12 ## base make base.lib target
13 ## commands make commands.lib target
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
14 ## ciyam_base make ciyam_base.dll target
0ec3897 @ciyam Basic files for make system.
authored
15 ## Meta make Meta.dll target
16 ## bundle make bundle.exe target
e8e7d2e @ciyam Added source code formatting checker and fixed various formatting pro…
authored
17 ## check_source make check_source.exe target
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
18 ## ciyam_client make ciyam_client.exe target
19 ## ciyam_interface make ciyam_interface.exe target
20 ## ciyam_server make ciyam_server.exe target
0ec3897 @ciyam Basic files for make system.
authored
21 ## construct make construct.exe target
6588e98 @ciyam Added diff utilities and additional bundle tests.
authored
22 ## diff make diff.exe target
23 ## diffp make diffp.exe target
0ec3897 @ciyam Basic files for make system.
authored
24 ## dump make dump.exe target
6588e98 @ciyam Added diff utilities and additional bundle tests.
authored
25 ## extract make extract.exe target
0ec3897 @ciyam Basic files for make system.
authored
26 ## generate_commands make generate_commands.exe target
6588e98 @ciyam Added diff utilities and additional bundle tests.
authored
27 ## modeller make modeller.exe target
0ec3897 @ciyam Basic files for make system.
authored
28 ## test make test.exe target
29 ## test_cache make test_cache.exe target
30 ## test_fcgi make test_fcgi.exe target
31 ## test_numeric make test_numeric.exe target
32 ## test_ods make test_ods.exe target
33 ## test_parser make test_parser.exe target
34 ## test_pdf_gen make test_pdf_gen.exe target
35 ## test_sql make test_sql.exe target
36 ## unbundle make unbundle.exe target
37 ## upload make upload.exe target
38 ## xrep make xrep.exe target
39 ## xvars make xvars.exe target
40 ##
41
42 # Flags for tools...
43 !ifdef DEBUG
44 DEBUG_CFLAGS=/Zi /Od
45 DEBUG_LFLAGS=/DEBUG
46 DEBUG_AFLAGS=
47 DEBUG_SUFFIX=d
48 !else
49 DEBUG_CFLAGS=/O2
50 DEBUG_LFLAGS=
51 DEBUG_AFLAGS=
52 DEBUG_SUFFIX=
53 !endif
54
55 CPPFLAGS=/nologo /Zc:forScope,wchar_t /EHa /GR /Gy /wd4068 /wd4355 /D_CRT_SECURE_NO_DEPRECATE /I. $(CFLAGS) $(DEBUG_CFLAGS)
56 BINDFLAGS=/NOLOGO $(DEBUG_AFLAGS)
57 # The ignore is to stop the "all references to 'xxx' discarded by /OPT:REF" linker warning.
58 LINKFLAGS=/NOLOGO $(DEBUG_LFLAGS) /IGNORE:4089 shell32.lib
59 # Remove incremental linking for now due to quick and dirty manifest embedding (need to rework to use incremental linking).
60 #LINKFLAGS=/NOLOGO /INCREMENTAL $(DEBUG_LFLAGS) /IGNORE:4089 shell32.lib
61
62 # Libraries and object files...
63 CONSOLE_LIBS=ole32.lib oleaut32.lib
64 CONSOLE_RTOBJS=
65 CONSOLE_LFLAGS=
66
67 DYNAMIC_LIBS=ole32.lib
68 DYNAMIC_RTOBJS=
69 DYNAMIC_LFLAGS=/DLL
70
71 COMMON_LIBS=psapi.lib rpcrt4.lib advapi32.lib
72
73 WINSOCK_LIBS=ws2_32.lib iphlpapi.lib
74 OPENSSL_LIBS=libeay32.lib ssleay32.lib
75
76 LIBFCGI_LIBS=libfcgi.lib
77
78 LIBHARU_LIBS=libhpdf.lib
79
80 LIBICONV_LIBS=iconv.lib
81
82 MYSQL_LIBS=libmysql.lib
83
84 ZLIB_LIBS=zlib1.lib
85
86 # Tools and implicit rules...
87 CPP=cl.exe
88
89 BIND=@echo Binding $*............... &lib
90 LINK=@echo Linking $*............... &link
91
92 MANIFEST=manifest
93
94 .SUFFIXES: .cpp .cms
95
96 # Remove implicit .cpp to .exe rule to ensure correct linkage.
97 .cpp.exe:
98
99 # Change implicit .cpp to .obj rule to support multiple source file compilation.
100 .cpp.obj::
101 @compile.bat $<
102 # @test_compile.bat $<
103
104 # Custom rule to generate command definitions.
105 .cms.cmh:
106 @generate_commands $*.cms
107
108 #CPP_NORMAL_OPT=STATIC_RTL_SINGLE_THREAD
109 #CPP_NORMAL_OPT=STATIC_RTL_MULTIPLE_THREADS
110 CPP_NORMAL_OPT=DYNAMIC_RTL_MULTIPLE_THREADS
111
112 CPP_DYNAMIC_OPT=DYNAMIC_RTL_MULTIPLE_THREADS
113
114 CPP_NORMAL_SRTL_ST=@$(CPP) $(CPPFLAGS) /ML$(DEBUG_SUFFIX) /c
115 CPP_NORMAL_SRTL_MT=@$(CPP) $(CPPFLAGS) /MT$(DEBUG_SUFFIX) /c
116 CPP_NORMAL_DRTL_MT=@$(CPP) $(CPPFLAGS) /MD$(DEBUG_SUFFIX) /c
117
118 CPP_DYNAMIC_DRTL_MT=$(CPP_NORMAL_DRTL_MT)
119
120 BIND_NORMAL=$(BINDFLAGS) /NOLOGO /OUT:$@
121
122 LINK_NORMAL=$(LINKFLAGS) /SUBSYSTEM:CONSOLE $(CONSOLE_LFLAGS) $** $(CONSOLE_RTOBJS) /LIBPATH:"$(LIB)" /OUT:$*.exe
123 LINK_DYNAMIC=$(LINKFLAGS) /SUBSYSTEM:CONSOLE $(DYNAMIC_LFLAGS) $** $(DYNAMIC_RTOBJS) /LIBPATH:"$(LIB)" /OUT:$*.dll
124
125 !if "$(CPP_NORMAL_OPT)" == "STATIC_RTL_SINGLE_THREAD"
126 CPP_NORMAL=$(CPP_NORMAL_SRTL_ST)
127 !elseif "$(CPP_NORMAL_OPT)" == "STATIC_RTL_MULTIPLE_THREADS"
128 CPP_NORMAL=$(CPP_NORMAL_SRTL_MT)
129 !elseif "$(CPP_NORMAL_OPT)" == "DYNAMIC_RTL_MULTIPLE_THREADS"
130 CPP_NORMAL=$(CPP_NORMAL_DRTL_MT)
131 !else
132 ! error Unexpected CPP_NORMAL_OPT value $(CPP_NORMAL_OPT)
133 !endif
134
135 !if "$(CPP_DYNAMIC_OPT)" == "DYNAMIC_RTL_MULTIPLE_THREADS"
136 CPP_DYNAMIC=$(CPP_DYNAMIC_DRTL_MT)
137 !else
138 ! error Unexpected CPP_DYNAMIC_OPT value $(CPP_DYNAMIC_OPT)
139 !endif
140
141 TARGET_BASE=base.lib
142 TARGET_BASE_INCLUDE=base.inc
143 TARGET_BASE_OBJECTS=base64.obj\
144 console.obj\
145 console_commands.obj\
146 command_parser.obj\
147 command_handler.obj\
148 command_processor.obj\
149 crypt_stream.obj\
150 date_time.obj\
151 dynamic_library.obj\
152 file_buffer.obj\
153 format.obj\
154 fs_iterator.obj\
155 hashcash.obj\
156 mac.obj\
157 md5.obj\
158 mime.obj\
159 numeric.obj\
160 ods.obj\
161 pdf.obj\
162 pdf_gen.obj\
163 pop3.obj\
164 ptypes.obj\
165 read_write_buffer.obj\
166 read_write_buffered_stream.obj\
f7e17b6 @ciyam Added a basic regular expression implementation for use with the comm…
authored
167 regex.obj\
0ec3897 @ciyam Basic files for make system.
authored
168 sio.obj\
169 sha1.obj\
170 smtp.obj\
171 sockets.obj\
172 storable_file.obj\
173 sql_db.obj\
174 tcp_read_write_buffer.obj\
175 text_file_buffer.obj\
176 utilities.obj
177
178 TARGET_COMMANDS=commands.lib
179 TARGET_COMMANDS_INCLUDE=commands.inc
180 TARGET_COMMANDS_OBJECTS=command_parser.obj\
f7e17b6 @ciyam Added a basic regular expression implementation for use with the comm…
authored
181 utilities.obj\
182 regex.obj
0ec3897 @ciyam Basic files for make system.
authored
183
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
184 TARGET_CIYAM_BASE=ciyam_base.dll
185 TARGET_CIYAM_BASE_INCLUDE=ciyam_base.inc
186 TARGET_CIYAM_BASE_OBJECTS=ciyam_base.obj\
187 ciyam_base_command_handler.obj\
188 ciyam_base_date_time.obj\
189 ciyam_base_file_buffer.obj\
190 ciyam_base_numeric.obj\
191 ciyam_base_ods.obj\
0ec3897 @ciyam Basic files for make system.
authored
192 class_base.obj\
193 commands_date_time.obj\
194 commands_numeric.obj\
195 mail_source.obj\
196 module_management.obj
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
197 TARGET_CIYAM_BASE_COMMANDS=date_time.cmh\
0ec3897 @ciyam Basic files for make system.
authored
198 numeric.cmh
199
200 TARGET_META=Meta.dll
201 TARGET_META_INCLUDE=Meta.inc
202 TARGET_META_OBJECTS=Meta.obj\
203 Meta_Application.obj\
204 Meta_Auto_Code.obj\
205 Meta_Class.obj\
206 Meta_Enum.obj\
207 Meta_Enum_Item.obj\
208 Meta_Field.obj\
209 Meta_Index.obj\
210 Meta_Initial_Record.obj\
211 Meta_Initial_Record_Value.obj\
212 Meta_List.obj\
213 Meta_List_Field.obj\
214 Meta_List_Field_Type.obj\
215 Meta_List_Type.obj\
216 Meta_Model.obj\
217 Meta_Modifier.obj\
218 Meta_Modifier_Affect.obj\
219 Meta_Module.obj\
220 Meta_Package.obj\
221 Meta_Package_Option.obj\
222 Meta_Package_Type.obj\
223 Meta_Permission.obj\
224 Meta_Procedure.obj\
225 Meta_Procedure_Arg.obj\
226 Meta_Relationship.obj\
227 Meta_Specification.obj\
228 Meta_Specification_Content_Page.obj\
229 Meta_Specification_Copy_Child_Links.obj\
230 Meta_Specification_Field_Action.obj\
231 Meta_Specification_Type.obj\
232 Meta_Type.obj\
233 Meta_User.obj\
234 Meta_View.obj\
235 Meta_View_Field.obj\
236 Meta_View_Field_Type.obj\
237 Meta_View_Type.obj\
238 Meta_Workgroup.obj
239 TARGET_META_COMMANDS=Meta.cmh\
240 Meta_Application.cmh\
241 Meta_Auto_Code.cmh\
242 Meta_Class.cmh\
243 Meta_Enum.cmh\
244 Meta_Enum_Item.cmh\
245 Meta_Field.cmh\
246 Meta_Index.cmh\
247 Meta_Initial_Record.cmh\
248 Meta_Initial_Record_Value.cmh\
249 Meta_List.cmh\
250 Meta_List_Field.cmh\
251 Meta_List_Field_Type.cmh\
252 Meta_List_Type.cmh\
253 Meta_Model.cmh\
254 Meta_Modifier.cmh\
255 Meta_Modifier_Affect.cmh\
256 Meta_Module.cmh\
257 Meta_Package.cmh\
258 Meta_Package_Option.cmh\
259 Meta_Package_Type.cmh\
260 Meta_Permission.cmh\
261 Meta_Procedure.cmh\
262 Meta_Procedure_Arg.cmh\
263 Meta_Relationship.cmh\
264 Meta_Specification.cmh\
265 Meta_Specification_Content_Page.cmh\
266 Meta_Specification_Copy_Child_Links.cmh\
267 Meta_Specification_Field_Action.cmh\
268 Meta_Specification_Type.cmh\
269 Meta_Type.cmh\
270 Meta_User.cmh\
271 Meta_View.cmh\
272 Meta_View_Field.cmh\
273 Meta_View_Field_Type.cmh\
274 Meta_View_Type.cmh\
275 Meta_Workgroup.cmh
276
277 TARGET_BUNDLE=bundle.exe
278 TARGET_BUNDLE_INCLUDE=bundle.inc
279 TARGET_BUNDLE_OBJECTS=bundle.obj
280
e8e7d2e @ciyam Added source code formatting checker and fixed various formatting pro…
authored
281 TARGET_CHECK_SOURCE=check_source.exe
282 TARGET_CHECK_SOURCE_INCLUDE=check_source.inc
283 TARGET_CHECK_SOURCE_OBJECTS=check_source.obj
284
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
285 TARGET_CIYAM_CLIENT=ciyam_client.exe
286 TARGET_CIYAM_CLIENT_INCLUDE=ciyam_client.inc
287 TARGET_CIYAM_CLIENT_OBJECTS=ciyam_client.obj
0ec3897 @ciyam Basic files for make system.
authored
288
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
289 TARGET_CIYAM_INTERFACE=ciyam_interface.exe
290 TARGET_CIYAM_INTERFACE_INCLUDE=ciyam_interface.inc
291 TARGET_CIYAM_INTERFACE_OBJECTS=ciyam_interface.obj\
0ec3897 @ciyam Basic files for make system.
authored
292 fcgi_cmds.obj\
293 fcgi_info.obj\
294 fcgi_list.obj\
295 fcgi_parser.obj\
296 fcgi_utils.obj\
297 fcgi_view.obj
298
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
299 TARGET_CIYAM_SERVER=ciyam_server.exe
300 TARGET_CIYAM_SERVER_INCLUDE=ciyam_server.inc
301 TARGET_CIYAM_SERVER_OBJECTS=auto_script.obj\
302 ciyam_server.obj\
303 ciyam_session.obj
304 TARGET_CIYAM_SERVER_COMMANDS=ciyam_session.cmh
0ec3897 @ciyam Basic files for make system.
authored
305
306 TARGET_CONSTRUCT=construct.exe
307 TARGET_CONSTRUCT_INCLUDE=construct.inc
308 TARGET_CONSTRUCT_OBJECTS=construct.obj
309
6588e98 @ciyam Added diff utilities and additional bundle tests.
authored
310 TARGET_DIFF=diff.exe
311 TARGET_DIFF_INCLUDE=diff.inc
312 TARGET_DIFF_OBJECTS=diff.obj
313
314 TARGET_DIFFP=diffp.exe
315 TARGET_DIFFP_INCLUDE=diffp.inc
316 TARGET_DIFFP_OBJECTS=diffp.obj
317
318 TARGET_DUMP=dump.exe
319 TARGET_DUMP_INCLUDE=dump.inc
320 TARGET_DUMP_OBJECTS=dump.obj
321
0ec3897 @ciyam Basic files for make system.
authored
322 TARGET_EXTRACT=extract.exe
323 TARGET_EXTRACT_INCLUDE=extract.inc
324 TARGET_EXTRACT_OBJECTS=extract.obj
325
6588e98 @ciyam Added diff utilities and additional bundle tests.
authored
326 TARGET_GENERATE_COMMANDS=generate_commands.exe
327 TARGET_GENERATE_COMMANDS_INCLUDE=generate_commands.inc
328 TARGET_GENERATE_COMMANDS_OBJECTS=generate_commands.obj
329
0ec3897 @ciyam Basic files for make system.
authored
330 TARGET_MODELLER=modeller.exe
331 TARGET_MODELLER_INCLUDE=modeller.inc
332 TARGET_MODELLER_OBJECTS=model.obj\
333 model_domains.obj\
334 model_specifications.obj\
335 interface_specifications.obj\
336 modeller.obj
337 TARGET_MODELLER_COMMANDS=modeller.cmh
338
339 TARGET_TEST=test.exe
340 TARGET_TEST_INCLUDE=test.inc
341 TARGET_TEST_OBJECTS=test.obj
342
343 TARGET_TEST_CACHE=test_cache.exe
344 TARGET_TEST_CACHE_INCLUDE=test_cache.inc
345 TARGET_TEST_CACHE_OBJECTS=test_cache.obj
346 TARGET_TEST_CACHE_COMMANDS=test_cache.cmh
347
348 TARGET_TEST_FCGI=test_fcgi.exe
349 TARGET_TEST_FCGI_INCLUDE=test_fcgi.inc
350 TARGET_TEST_FCGI_OBJECTS=test_fcgi.obj
351
352 TARGET_TEST_NUMERIC=test_numeric.exe
353 TARGET_TEST_NUMERIC_INCLUDE=test_numeric.inc
354 TARGET_TEST_NUMERIC_OBJECTS=test_numeric.obj
355 TARGET_TEST_NUMERIC_COMMANDS=test_numeric.cmh
356
357 TARGET_TEST_ODS=test_ods.exe
358 TARGET_TEST_ODS_INCLUDE=test_ods.inc
359 TARGET_TEST_ODS_OBJECTS=test_ods.obj
360 TARGET_TEST_ODS_COMMANDS=test_ods.cmh
361
362 TARGET_TEST_PARSER=test_parser.exe
363 TARGET_TEST_PARSER_INCLUDE=test_parser.inc
364 TARGET_TEST_PARSER_OBJECTS=test_parser.obj
365
366 TARGET_TEST_PDF_GEN=test_pdf_gen.exe
367 TARGET_TEST_PDF_GEN_INCLUDE=test_pdf_gen.inc
368 TARGET_TEST_PDF_GEN_OBJECTS=test_pdf_gen.obj
369 TARGET_TEST_PDF_GEN_COMMANDS=test_pdf_gen.cmh
370
371 TARGET_TEST_SQL=test_sql.exe
372 TARGET_TEST_SQL_INCLUDE=test_sql.inc
373 TARGET_TEST_SQL_OBJECTS=test_sql.obj
374
375 TARGET_UNBUNDLE=unbundle.exe
376 TARGET_UNBUNDLE_INCLUDE=unbundle.inc
377 TARGET_UNBUNDLE_OBJECTS=unbundle.obj
378
379 TARGET_UPLOAD=upload.exe
380 TARGET_UPLOAD_INCLUDE=upload.inc
381 TARGET_UPLOAD_OBJECTS=upload.obj
382
383 TARGET_XREP=xrep.exe
384 TARGET_XREP_INCLUDE=xrep.inc
385 TARGET_XREP_OBJECTS=xrep.obj
386
387 TARGET_XVARS=xvars.exe
388 TARGET_XVARS_INCLUDE=xvars.inc
389 TARGET_XVARS_OBJECTS=xvars.obj
390
391 ALL_TARGETS=\
392 $(TARGET_BASE)\
393 $(TARGET_COMMANDS)\
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
394 $(TARGET_CIYAM_BASE)\
0ec3897 @ciyam Basic files for make system.
authored
395 $(TARGET_META)\
396 $(TARGET_BUNDLE)\
e8e7d2e @ciyam Added source code formatting checker and fixed various formatting pro…
authored
397 $(TARGET_CHECK_SOURCE)\
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
398 $(TARGET_CIYAM_CLIENT)\
399 $(TARGET_CIYAM_INTERFACE)\
400 $(TARGET_CIYAM_SERVER)\
0ec3897 @ciyam Basic files for make system.
authored
401 $(TARGET_CONSTRUCT)\
6588e98 @ciyam Added diff utilities and additional bundle tests.
authored
402 $(TARGET_DIFF)\
403 $(TARGET_DIFFP)\
0ec3897 @ciyam Basic files for make system.
authored
404 $(TARGET_DUMP)\
6588e98 @ciyam Added diff utilities and additional bundle tests.
authored
405 $(TARGET_EXTRACT)\
0ec3897 @ciyam Basic files for make system.
authored
406 $(TARGET_GENERATE_COMMANDS)\
6588e98 @ciyam Added diff utilities and additional bundle tests.
authored
407 $(TARGET_MODELLER)\
0ec3897 @ciyam Basic files for make system.
authored
408 $(TARGET_TEST)\
409 $(TARGET_TEST_CACHE)\
410 $(TARGET_TEST_FCGI)\
411 $(TARGET_TEST_NUMERIC)\
412 $(TARGET_TEST_ODS)\
413 $(TARGET_TEST_PARSER)\
414 $(TARGET_TEST_PDF_GEN)\
415 $(TARGET_TEST_SQL)\
416 $(TARGET_UNBUNDLE)\
417 $(TARGET_UPLOAD)\
418 $(TARGET_XREP)\
419 $(TARGET_XVARS)
420
421 ALL_INCLUDES=\
422 $(TARGET_BASE_INCLUDE)\
423 $(TARGET_COMMANDS_INCLUDE)\
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
424 $(TARGET_CIYAM_BASE_INCLUDE)\
0ec3897 @ciyam Basic files for make system.
authored
425 $(TARGET_META_INCLUDE)\
426 $(TARGET_BUNDLE_INCLUDE)\
e8e7d2e @ciyam Added source code formatting checker and fixed various formatting pro…
authored
427 $(TARGET_CHECK_SOURCE_INCLUDE)\
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
428 $(TARGET_CIYAM_CLIENT_INCLUDE)\
429 $(TARGET_CIYAM_INTERFACE_INCLUDE)\
430 $(TARGET_CIYAM_SERVER_INCLUDE)\
0ec3897 @ciyam Basic files for make system.
authored
431 $(TARGET_CONSTRUCT_INCLUDE)\
6588e98 @ciyam Added diff utilities and additional bundle tests.
authored
432 $(TARGET_DIFF_INCLUDE)\
433 $(TARGET_DIFFP_INCLUDE)\
0ec3897 @ciyam Basic files for make system.
authored
434 $(TARGET_DUMP_INCLUDE)\
6588e98 @ciyam Added diff utilities and additional bundle tests.
authored
435 $(TARGET_EXTRACT_INCLUDE)\
0ec3897 @ciyam Basic files for make system.
authored
436 $(TARGET_GENERATE_COMMANDS_INCLUDE)\
6588e98 @ciyam Added diff utilities and additional bundle tests.
authored
437 $(TARGET_MODELLER_INCLUDE)\
0ec3897 @ciyam Basic files for make system.
authored
438 $(TARGET_TEST_INCLUDE)\
439 $(TARGET_TEST_CACHE_INCLUDE)\
440 $(TARGET_TEST_FCGI_INCLUDE)\
441 $(TARGET_TEST_NUMERIC_INCLUDE)\
442 $(TARGET_TEST_ODS_INCLUDE)\
443 $(TARGET_TEST_PARSER_INCLUDE)\
444 $(TARGET_TEST_PDF_GEN_INCLUDE)\
445 $(TARGET_TEST_SQL_INCLUDE)\
446 $(TARGET_UNBUNDLE_INCLUDE)\
447 $(TARGET_UPLOAD_INCLUDE)\
448 $(TARGET_XREP_INCLUDE)\
449 $(TARGET_XVARS_INCLUDE)
450
451 ALL_OBJECTS=\
452 $(TARGET_BASE_OBJECTS)\
453 $(TARGET_COMMANDS_OBJECTS)\
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
454 $(TARGET_CIYAM_BASE_OBJECTS)\
0ec3897 @ciyam Basic files for make system.
authored
455 $(TARGET_META_OBJECTS)\
456 $(TARGET_BUNDLE_OBJECTS)\
e8e7d2e @ciyam Added source code formatting checker and fixed various formatting pro…
authored
457 $(TARGET_CHECK_SOURCE_OBJECTS)\
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
458 $(TARGET_CIYAM_CLIENT_OBJECTS)\
459 $(TARGET_CIYAM_INTERFACE_OBJECTS)\
460 $(TARGET_CIYAM_SERVER_OBJECTS)\
0ec3897 @ciyam Basic files for make system.
authored
461 $(TARGET_CONSTRUCT_OBJECTS)\
6588e98 @ciyam Added diff utilities and additional bundle tests.
authored
462 $(TARGET_DIFF_OBJECTS)\
463 $(TARGET_DIFFP_OBJECTS)\
0ec3897 @ciyam Basic files for make system.
authored
464 $(TARGET_DUMP_OBJECTS)\
6588e98 @ciyam Added diff utilities and additional bundle tests.
authored
465 $(TARGET_EXTRACT_OBJECTS)\
0ec3897 @ciyam Basic files for make system.
authored
466 $(TARGET_GENERATE_COMMANDS_OBJECTS)\
6588e98 @ciyam Added diff utilities and additional bundle tests.
authored
467 $(TARGET_MODELLER_OBJECTS)\
0ec3897 @ciyam Basic files for make system.
authored
468 $(TARGET_TEST_OBJECTS)\
469 $(TARGET_TEST_CACHE_OBJECTS)\
470 $(TARGET_TEST_FCGI_OBJECTS)\
471 $(TARGET_TEST_NUMERIC_OBJECTS)\
472 $(TARGET_TEST_ODS_OBJECTS)\
473 $(TARGET_TEST_PARSER_OBJECTS)\
474 $(TARGET_TEST_PDF_GEN_OBJECTS)\
475 $(TARGET_TEST_SQL_OBJECTS)\
476 $(TARGET_UNBUNDLE_OBJECTS)\
477 $(TARGET_UPLOAD_OBJECTS)\
478 $(TARGET_XREP_OBJECTS)\
479 $(TARGET_XVARS_OBJECTS)
480
481 ALL_COMMANDS=\
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
482 $(TARGET_CIYAM_BASE_COMMANDS)\
0ec3897 @ciyam Basic files for make system.
authored
483 $(TARGET_META_COMMANDS)\
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
484 $(TARGET_CIYAM_SERVER_COMMANDS)\
0ec3897 @ciyam Basic files for make system.
authored
485 $(TARGET_MODELLER_COMMANDS)\
486 $(TARGET_TEST_CACHE_COMMANDS)\
487 $(TARGET_TEST_NUMERIC_COMMANDS)\
488 $(TARGET_TEST_ODS_COMMANDS)\
489 $(TARGET_TEST_PDF_GEN_COMMANDS)
490
491 usage: make_usage
492
493 all: $(ALL_TARGETS)
494
495 base: $(TARGET_BASE)
496 commands: $(TARGET_COMMANDS)
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
497 ciyam_base: $(TARGET_CIYAM_BASE)
0ec3897 @ciyam Basic files for make system.
authored
498 Meta: $(TARGET_META)
499 bundle: $(TARGET_BUNDLE)
e8e7d2e @ciyam Added source code formatting checker and fixed various formatting pro…
authored
500 check_source: $(TARGET_CHECK_SOURCE)
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
501 ciyam_client: $(TARGET_CIYAM_CLIENT)
502 ciyam_interface: $(TARGET_CIYAM_INTERFACE)
503 ciyam_server: $(TARGET_CIYAM_SERVER)
0ec3897 @ciyam Basic files for make system.
authored
504 construct: $(TARGET_CONSTRUCT)
6588e98 @ciyam Added diff utilities and additional bundle tests.
authored
505 diff: $(TARGET_DIFF)
506 diffp: $(TARGET_DIFFP)
0ec3897 @ciyam Basic files for make system.
authored
507 dump: $(TARGET_DUMP)
6588e98 @ciyam Added diff utilities and additional bundle tests.
authored
508 extract: $(TARGET_EXTRACT)
0ec3897 @ciyam Basic files for make system.
authored
509 generate_commands: $(TARGET_GENERATE_COMMANDS)
6588e98 @ciyam Added diff utilities and additional bundle tests.
authored
510 modeller: $(TARGET_MODELLER)
0ec3897 @ciyam Basic files for make system.
authored
511 test: $(TARGET_TEST)
512 test_cache: $(TARGET_TEST_CACHE)
513 test_fcgi: $(TARGET_TEST_FCGI)
514 test_numeric: $(TARGET_TEST_NUMERIC)
515 test_ods: $(TARGET_TEST_ODS)
516 test_parser: $(TARGET_TEST_PARSER)
517 test_pdf_gen: $(TARGET_TEST_PDF_GEN)
518 test_sql: $(TARGET_TEST_SQL)
519 unbundle: $(TARGET_UNBUNDLE)
520 upload: $(TARGET_UPLOAD)
521 xrep: $(TARGET_XREP)
522 xvars: $(TARGET_XVARS)
523
524 dtm:
525 @echo %date% %time%>make.dtm
526
527 make_usage:
528 @usage.bat makefile.mvc
529
530 touch_incs:
531 @touch.bat base.inc
532 @touch.bat commands.inc
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
533 @touch.bat ciyam_base.inc
0ec3897 @ciyam Basic files for make system.
authored
534 @touch.bat Meta.inc
535 @touch.bat bundle.inc
e8e7d2e @ciyam Added source code formatting checker and fixed various formatting pro…
authored
536 @touch.bat check_source.inc
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
537 @touch.bat ciyam_client.inc
538 @touch.bat ciyam_interface.inc
539 @touch.bat ciyam_server.inc
0ec3897 @ciyam Basic files for make system.
authored
540 @touch.bat construct.inc
6588e98 @ciyam Added diff utilities and additional bundle tests.
authored
541 @touch.bat diff.inc
542 @touch.bat diffp.inc
0ec3897 @ciyam Basic files for make system.
authored
543 @touch.bat dump.inc
6588e98 @ciyam Added diff utilities and additional bundle tests.
authored
544 @touch.bat extract.inc
0ec3897 @ciyam Basic files for make system.
authored
545 @touch.bat generate_commands.inc
6588e98 @ciyam Added diff utilities and additional bundle tests.
authored
546 @touch.bat modeller.inc
0ec3897 @ciyam Basic files for make system.
authored
547 @touch.bat test.inc
548 @touch.bat test_cache.inc
549 @touch.bat test_fcgi.inc
550 @touch.bat test_numeric.inc
551 @touch.bat test_ods.inc
552 @touch.bat test_parser.inc
553 @touch.bat test_pdf_gen.inc
554 @touch.bat test_sql.inc
555 @touch.bat unbundle.inc
556 @touch.bat upload.inc
557 @touch.bat xrep.inc
558 @touch.bat xvars.inc
559
560 !ifndef NO_INC_FILES
561 ! include $(TARGET_BASE_INCLUDE)
562 !endif
563
564 $(TARGET_BASE:.lib=.compile):
565 @echo @call gendeps.bat %* >compile.bat
566 @echo $(CPP_NORMAL) %* >>compile.bat
567 @geninc $(TARGET_BASE_OBJECTS:.obj=) >$(TARGET_BASE_INCLUDE)
568
569 $(TARGET_BASE):: $(TARGET_BASE:.lib=.compile)
570 @
571
572 $(TARGET_BASE):: $(TARGET_BASE_OBJECTS)
573 $(BIND) @<<
574 $(BIND_NORMAL) $(TARGET_BASE_OBJECTS)
575 <<
576
577 !ifndef NO_INC_FILES
578 ! include $(TARGET_COMMANDS_INCLUDE)
579 !endif
580
581 $(TARGET_COMMANDS:.lib=.compile):
582 @echo @call gendeps.bat %* >compile.bat
583 @echo $(CPP_NORMAL) %* >>compile.bat
584 @geninc $(TARGET_COMMANDS_OBJECTS:.obj=) >$(TARGET_COMMANDS_INCLUDE)
585
586 $(TARGET_COMMANDS):: $(TARGET_COMMANDS:.lib=.compile)
587 @
588
589 $(TARGET_COMMANDS):: $(TARGET_COMMANDS_OBJECTS)
590 $(BIND) @<<
591 $(BIND_NORMAL) $(TARGET_COMMANDS_OBJECTS)
592 <<
593
594 !ifndef NO_INC_FILES
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
595 ! include $(TARGET_CIYAM_BASE_INCLUDE)
0ec3897 @ciyam Basic files for make system.
authored
596 !endif
597
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
598 $(TARGET_CIYAM_BASE:.dll=.compile):
0ec3897 @ciyam Basic files for make system.
authored
599 @echo @call gendeps.bat %* >compile.bat
600 @echo $(CPP_DYNAMIC) %* >>compile.bat
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
601 @geninc $(TARGET_CIYAM_BASE_OBJECTS:.obj=) >$(TARGET_CIYAM_BASE_INCLUDE)
0ec3897 @ciyam Basic files for make system.
authored
602
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
603 $(TARGET_CIYAM_BASE):: $(TARGET_BASE) $(TARGET_GENERATE_COMMANDS) $(TARGET_CIYAM_BASE_COMMANDS) $(TARGET_CIYAM_BASE:.dll=.compile)
0ec3897 @ciyam Basic files for make system.
authored
604 @
605
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
606 $(TARGET_CIYAM_BASE):: $(TARGET_CIYAM_BASE_OBJECTS) $(TARGET_BASE)
0ec3897 @ciyam Basic files for make system.
authored
607 $(LINK) @<<
6070949 @ciyam Added config.h support for optional 3rd party libraries.
authored
608 $(LINK_DYNAMIC) $(COMMON_LIBS) $(WINSOCK_LIBS) $(LIBHARU_LIBS) $(LIBICONV_LIBS) $(MYSQL_LIBS)
0ec3897 @ciyam Basic files for make system.
authored
609 <<
610 !ifdef MANIFEST
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
611 @$(MANIFEST) $(TARGET_CIYAM_BASE)
0ec3897 @ciyam Basic files for make system.
authored
612 !endif
613
614 !ifndef NO_INC_FILES
615 ! include $(TARGET_META_INCLUDE)
616 !endif
617
618 $(TARGET_META:.dll=.compile):
619 @echo @call gendeps.bat %* >compile.bat
620 @echo $(CPP_DYNAMIC) %* >>compile.bat
621 @geninc $(TARGET_META_OBJECTS:.obj=) >$(TARGET_META_INCLUDE)
622
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
623 $(TARGET_META):: $(TARGET_CIYAM_BASE) $(TARGET_GENERATE_COMMANDS) $(TARGET_META_COMMANDS) $(TARGET_META:.dll=.compile)
0ec3897 @ciyam Basic files for make system.
authored
624 @
625
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
626 $(TARGET_META):: $(TARGET_META_OBJECTS) $(TARGET_CIYAM_BASE:.dll=.lib)
0ec3897 @ciyam Basic files for make system.
authored
627 $(LINK) @<<
628 $(LINK_DYNAMIC) $(COMMON_LIBS)
629 <<
630 !ifdef MANIFEST
631 @$(MANIFEST) $(TARGET_META)
632 !endif
633
634 !ifndef NO_INC_FILES
635 ! include $(TARGET_BUNDLE_INCLUDE)
636 !endif
637
638 $(TARGET_BUNDLE:.exe=.compile):
639 @echo @call gendeps.bat %* >compile.bat
640 @echo $(CPP_NORMAL) %* >>compile.bat
641 @geninc $(TARGET_BUNDLE_OBJECTS:.obj=) >$(TARGET_BUNDLE_INCLUDE)
642
643 $(TARGET_BUNDLE):: $(TARGET_BASE) $(TARGET_BUNDLE:.exe=.compile)
644 @
645
646 $(TARGET_BUNDLE):: $(TARGET_BUNDLE_OBJECTS) $(TARGET_BASE)
647 $(LINK) @<<
648 $(LINK_NORMAL) $(COMMON_LIBS) $(ZLIB_LIBS)
649 <<
650 !ifdef MANIFEST
651 @$(MANIFEST) $(TARGET_BUNDLE)
652 !endif
653
654 !ifndef NO_INC_FILES
e8e7d2e @ciyam Added source code formatting checker and fixed various formatting pro…
authored
655 ! include $(TARGET_CHECK_SOURCE_INCLUDE)
656 !endif
657
658 $(TARGET_CHECK_SOURCE:.exe=.compile):
659 @echo @call gendeps.bat %* >compile.bat
660 @echo $(CPP_NORMAL) %* >>compile.bat
661 @geninc $(TARGET_CHECK_SOURCE_OBJECTS:.obj=) >$(TARGET_CHECK_SOURCE_INCLUDE)
662
663 $(TARGET_CHECK_SOURCE):: $(TARGET_CHECK_SOURCE:.exe=.compile)
664 @
665
666 $(TARGET_CHECK_SOURCE):: $(TARGET_CHECK_SOURCE_OBJECTS)
667 $(LINK) @<<
668 $(LINK_NORMAL) $(COMMON_LIBS)
669 <<
670 !ifdef MANIFEST
671 @$(MANIFEST) $(TARGET_CHECK_SOURCE)
672 !endif
673
674 !ifndef NO_INC_FILES
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
675 ! include $(TARGET_CIYAM_CLIENT_INCLUDE)
0ec3897 @ciyam Basic files for make system.
authored
676 !endif
677
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
678 $(TARGET_CIYAM_CLIENT:.exe=.compile):
0ec3897 @ciyam Basic files for make system.
authored
679 @echo @call gendeps.bat %* >compile.bat
680 @echo $(CPP_NORMAL) %* >>compile.bat
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
681 @geninc $(TARGET_CIYAM_CLIENT_OBJECTS:.obj=) >$(TARGET_CIYAM_CLIENT_INCLUDE)
0ec3897 @ciyam Basic files for make system.
authored
682
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
683 $(TARGET_CIYAM_CLIENT):: $(TARGET_BASE) $(TARGET_CIYAM_CLIENT:.exe=.compile)
0ec3897 @ciyam Basic files for make system.
authored
684 @
685
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
686 $(TARGET_CIYAM_CLIENT):: $(TARGET_CIYAM_CLIENT_OBJECTS) $(TARGET_BASE)
0ec3897 @ciyam Basic files for make system.
authored
687 $(LINK) @<<
688 $(LINK_NORMAL) $(COMMON_LIBS) $(WINSOCK_LIBS)
689 <<
690 !ifdef MANIFEST
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
691 @$(MANIFEST) $(TARGET_CIYAM_CLIENT)
0ec3897 @ciyam Basic files for make system.
authored
692 !endif
693
694 !ifndef NO_INC_FILES
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
695 ! include $(TARGET_CIYAM_INTERFACE_INCLUDE)
0ec3897 @ciyam Basic files for make system.
authored
696 !endif
697
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
698 $(TARGET_CIYAM_INTERFACE:.exe=.compile):
0ec3897 @ciyam Basic files for make system.
authored
699 @echo @call gendeps.bat %* >compile.bat
700 @echo $(CPP_NORMAL) %* >>compile.bat
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
701 @geninc $(TARGET_CIYAM_INTERFACE_OBJECTS:.obj=) >$(TARGET_CIYAM_INTERFACE_INCLUDE)
0ec3897 @ciyam Basic files for make system.
authored
702
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
703 $(TARGET_CIYAM_INTERFACE):: $(TARGET_BASE) $(TARGET_CIYAM_INTERFACE:.exe=.compile)
0ec3897 @ciyam Basic files for make system.
authored
704 @
705
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
706 $(TARGET_CIYAM_INTERFACE):: $(TARGET_CIYAM_INTERFACE_OBJECTS) $(TARGET_BASE)
0ec3897 @ciyam Basic files for make system.
authored
707 $(LINK) @<<
708 $(LINK_NORMAL) $(COMMON_LIBS) $(WINSOCK_LIBS) $(LIBFCGI_LIBS)
709 <<
710 !ifdef MANIFEST
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
711 @$(MANIFEST) $(TARGET_CIYAM_INTERFACE)
0ec3897 @ciyam Basic files for make system.
authored
712 !endif
713
714 !ifndef NO_INC_FILES
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
715 ! include $(TARGET_CIYAM_SERVER_INCLUDE)
0ec3897 @ciyam Basic files for make system.
authored
716 !endif
717
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
718 $(TARGET_CIYAM_SERVER:.exe=.compile):
0ec3897 @ciyam Basic files for make system.
authored
719 @echo @call gendeps.bat %* >compile.bat
720 @echo $(CPP_NORMAL) %* >>compile.bat
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
721 @geninc $(TARGET_CIYAM_SERVER_OBJECTS:.obj=) >$(TARGET_CIYAM_SERVER_INCLUDE)
0ec3897 @ciyam Basic files for make system.
authored
722
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
723 $(TARGET_CIYAM_SERVER):: $(TARGET_BASE) $(TARGET_CIYAM_BASE) $(TARGET_GENERATE_COMMANDS) $(TARGET_CIYAM_SERVER_COMMANDS) $(TARGET_CIYAM_SERVER:.exe=.compile)
0ec3897 @ciyam Basic files for make system.
authored
724 @
725
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
726 $(TARGET_CIYAM_SERVER):: $(TARGET_CIYAM_SERVER_OBJECTS) $(TARGET_BASE) $(TARGET_CIYAM_BASE:.dll=.lib)
0ec3897 @ciyam Basic files for make system.
authored
727 $(LINK) @<<
6070949 @ciyam Added config.h support for optional 3rd party libraries.
authored
728 $(LINK_NORMAL) $(COMMON_LIBS) $(WINSOCK_LIBS) $(LIBHARU_LIBS) $(LIBICONV_LIBS)
0ec3897 @ciyam Basic files for make system.
authored
729 <<
730 !ifdef MANIFEST
eb3d4ef @ciyam Renaming and added files for Meta model generation.
authored
731 @$(MANIFEST) $(TARGET_CIYAM_SERVER)
0ec3897 @ciyam Basic files for make system.
authored
732 !endif
733
734 !ifndef NO_INC_FILES
735 ! include $(TARGET_CONSTRUCT_INCLUDE)
736 !endif
737
738 $(TARGET_CONSTRUCT:.exe=.compile):
739 @echo @call gendeps.bat %* >compile.bat
740 @echo $(CPP_NORMAL) %* >>compile.bat
741 @geninc $(TARGET_CONSTRUCT_OBJECTS:.obj=) >$(TARGET_CONSTRUCT_INCLUDE)
742
743 $(TARGET_CONSTRUCT):: $(TARGET_BASE) $(TARGET_CONSTRUCT:.exe=.compile)
744 @
745
746 $(TARGET_CONSTRUCT):: $(TARGET_CONSTRUCT_OBJECTS) $(TARGET_BASE)
747 $(LINK) @<<
748 $(LINK_NORMAL) $(COMMON_LIBS)
749 <<
750 !ifdef MANIFEST
751 @$(MANIFEST) $(TARGET_CONSTRUCT)
752 !endif
753
754 !ifndef NO_INC_FILES
6588e98 @ciyam Added diff utilities and additional bundle tests.
authored
755 ! include $(TARGET_DIFF_INCLUDE)
0ec3897 @ciyam Basic files for make system.
authored
756 !endif
757
6588e98 @ciyam Added diff utilities and additional bundle tests.
authored
758 $(TARGET_DIFF:.exe=.compile):
0ec3897 @ciyam Basic files for make system.
authored
759 @echo @call gendeps.bat %* >compile.bat
760 @echo $(CPP_NORMAL) %* >>compile.bat
6588e98 @ciyam Added diff utilities and additional bundle tests.
authored
761 @geninc $(TARGET_DIFF_OBJECTS:.obj=) >$(TARGET_DIFF_INCLUDE)
0ec3897 @ciyam Basic files for make system.
authored
762
6588e98 @ciyam Added diff utilities and additional bundle tests.
authored
763 $(TARGET_DIFF):: $(TARGET_BASE) $(TARGET_DIFF:.exe=.compile)
0ec3897 @ciyam Basic files for make system.
authored
764 @
765
6588e98 @ciyam Added diff utilities and additional bundle tests.
authored
766 $(TARGET_DIFF):: $(TARGET_DIFF_OBJECTS) $(TARGET_BASE)
0ec3897 @ciyam Basic files for make system.
authored
767 $(LINK) @<<
768 $(LINK_NORMAL) $(COMMON_LIBS)
769 <<
770 !ifdef MANIFEST
6588e98 @ciyam Added diff utilities and additional bundle tests.
authored
771 @$(MANIFEST) $(TARGET_DIFF)
0ec3897 @ciyam Basic files for make system.
authored
772 !endif
773
774 !ifndef NO_INC_FILES
6588e98 @ciyam Added diff utilities and additional bundle tests.
authored
775 ! include $(TARGET_DIFFP_INCLUDE)
0ec3897 @ciyam Basic files for make system.
authored
776 !endif
777
6588e98 @ciyam Added diff utilities and additional bundle tests.
authored
778 $(TARGET_DIFFP:.exe=.compile):
0ec3897 @ciyam Basic files for make system.
authored
779 @echo @call gendeps.bat %* >compile.bat
780 @echo $(CPP_NORMAL) %* >>compile.bat
6588e98 @ciyam Added diff utilities and additional bundle tests.
authored
781 @geninc $(TARGET_DIFFP_OBJECTS:.obj=) >$(TARGET_DIFFP_INCLUDE)
0ec3897 @ciyam Basic files for make system.
authored
782
6588e98 @ciyam Added diff utilities and additional bundle tests.
authored
783 $(TARGET_DIFFP):: $(TARGET_BASE) $(TARGET_DIFFP:.exe=.compile)
0ec3897 @ciyam Basic files for make system.
authored
784 @
785
6588e98 @ciyam Added diff utilities and additional bundle tests.
authored
786 $(TARGET_DIFFP):: $(TARGET_DIFFP_OBJECTS) $(TARGET_BASE)
0ec3897 @ciyam Basic files for make system.
authored
787 $(LINK) @<<
788 $(LINK_NORMAL) $(COMMON_LIBS)
789 <<
790 !ifdef MANIFEST
6588e98 @ciyam Added diff utilities and additional bundle tests.
authored
791 @$(MANIFEST) $(TARGET_DIFFP)
0ec3897 @ciyam Basic files for make system.
authored
792 !endif
793
794 !ifndef NO_INC_FILES
795 ! include $(TARGET_DUMP_INCLUDE)
796 !endif
797
798 $(TARGET_DUMP:.exe=.compile):
799 @echo @call gendeps.bat %* >compile.bat
800 @echo $(CPP_NORMAL) %* >>compile.bat
801 @geninc $(TARGET_DUMP_OBJECTS:.obj=) >$(TARGET_DUMP_INCLUDE)
802
803 $(TARGET_DUMP):: $(TARGET_BASE) $(TARGET_DUMP:.exe=.compile)
804 @
805
806 $(TARGET_DUMP):: $(TARGET_DUMP_OBJECTS) $(TARGET_BASE)
807 $(LINK) @<<
808 $(LINK_NORMAL) $(COMMON_LIBS)
809 <<
810 !ifdef MANIFEST
811 @$(MANIFEST) $(TARGET_DUMP)
812 !endif
813
814 !ifndef NO_INC_FILES
6588e98 @ciyam Added diff utilities and additional bundle tests.
authored
815 ! include $(TARGET_EXTRACT_INCLUDE)
816 !endif
817
818 $(TARGET_EXTRACT:.exe=.compile):
819 @echo @call gendeps.bat %* >compile.bat
820 @echo $(CPP_NORMAL) %* >>compile.bat
821 @geninc $(TARGET_EXTRACT_OBJECTS:.obj=) >$(TARGET_EXTRACT_INCLUDE)
822
823 $(TARGET_EXTRACT):: $(TARGET_EXTRACT:.exe=.compile)
824 @
825
826 $(TARGET_EXTRACT):: $(TARGET_EXTRACT_OBJECTS)
827 $(LINK) @<<
828 $(LINK_NORMAL) $(COMMON_LIBS)
829 <<
830 !ifdef MANIFEST
831 @$(MANIFEST) $(TARGET_EXTRACT)
832 !endif
833
834 !ifndef NO_INC_FILES
0ec3897 @ciyam Basic files for make system.
authored
835 ! include $(TARGET_GENERATE_COMMANDS_INCLUDE)
836 !endif
837
838 $(TARGET_GENERATE_COMMANDS:.exe=.compile):
839 @echo @call gendeps.bat %* >compile.bat
840 @echo $(CPP_NORMAL) %* >>compile.bat
841 @geninc $(TARGET_GENERATE_COMMANDS_OBJECTS:.obj=) >$(TARGET_GENERATE_COMMANDS_INCLUDE)
842
843 $(TARGET_GENERATE_COMMANDS):: $(TARGET_COMMANDS) $(TARGET_GENERATE_COMMANDS:.exe=.compile)
844 @
845
846 $(TARGET_GENERATE_COMMANDS):: $(TARGET_GENERATE_COMMANDS_OBJECTS) $(TARGET_COMMANDS)
847 $(LINK) @<<
848 $(LINK_NORMAL) $(COMMON_LIBS)
849 <<
850 @if exist *.cmh del *.cmh
851 !ifdef MANIFEST
852 @$(MANIFEST) $(TARGET_GENERATE_COMMANDS)
853 !endif
854
855 !ifndef NO_INC_FILES
6588e98 @ciyam Added diff utilities and additional bundle tests.
authored
856 ! include $(TARGET_MODELLER_INCLUDE)
857 !endif
858
859 $(TARGET_MODELLER:.exe=.compile):
860 @echo @call gendeps.bat %* >compile.bat
861 @echo $(CPP_NORMAL) %* >>compile.bat
862 @geninc $(TARGET_MODELLER_OBJECTS:.obj=) >$(TARGET_MODELLER_INCLUDE)
863
864 $(TARGET_MODELLER):: $(TARGET_BASE) $(TARGET_GENERATE_COMMANDS) $(TARGET_MODELLER_COMMANDS) $(TARGET_MODELLER:.exe=.compile)
865 @
866
867 $(TARGET_MODELLER):: $(TARGET_MODELLER_OBJECTS) $(TARGET_BASE)
868 $(LINK) @<<
869 $(LINK_NORMAL) $(COMMON_LIBS)
870 <<
871 !ifdef MANIFEST
872 @$(MANIFEST) $(TARGET_MODELLER)
873 !endif
874
875 !ifndef NO_INC_FILES
0ec3897 @ciyam Basic files for make system.
authored
876 ! include $(TARGET_TEST_INCLUDE)
877 !endif
878
879 $(TARGET_TEST:.exe=.compile):
880 @echo @call gendeps.bat %* >compile.bat
881 @echo $(CPP_NORMAL) %* >>compile.bat
882 @geninc $(TARGET_TEST_OBJECTS:.obj=) >$(TARGET_TEST_INCLUDE)
883
884 $(TARGET_TEST):: $(TARGET_BASE) $(TARGET_TEST:.exe=.compile)
885 @
886
887 $(TARGET_TEST):: $(TARGET_TEST_OBJECTS) $(TARGET_BASE)
888 $(LINK) @<<
889 $(LINK_NORMAL) $(COMMON_LIBS)
890 <<
891 !ifdef MANIFEST
892 @$(MANIFEST) $(TARGET_TEST)
893 !endif
894
895 !ifndef NO_INC_FILES
896 ! include $(TARGET_TEST_CACHE_INCLUDE)
897 !endif
898
899 $(TARGET_TEST_CACHE:.exe=.compile):
900 @echo @call gendeps.bat %* >compile.bat
901 @echo $(CPP_NORMAL) %* >>compile.bat
902 @geninc $(TARGET_TEST_CACHE_OBJECTS:.obj=) >$(TARGET_TEST_CACHE_INCLUDE)
903
904 $(TARGET_TEST_CACHE):: $(TARGET_BASE) $(TARGET_GENERATE_COMMANDS) $(TARGET_TEST_CACHE_COMMANDS) $(TARGET_TEST_CACHE:.exe=.compile)
905 @
906
907 $(TARGET_TEST_CACHE):: $(TARGET_TEST_CACHE_OBJECTS) $(TARGET_BASE)
908 $(LINK) @<<
909 $(LINK_NORMAL) $(COMMON_LIBS)
910 <<
911 !ifdef MANIFEST
912 @$(MANIFEST) $(TARGET_TEST_CACHE)
913 !endif
914
915 !ifndef NO_INC_FILES
916 ! include $(TARGET_TEST_FCGI_INCLUDE)
917 !endif
918
919 $(TARGET_TEST_FCGI:.exe=.compile):
920 @echo @call gendeps.bat %* >compile.bat
921 @echo $(CPP_NORMAL) %* >>compile.bat
922 @geninc $(TARGET_TEST_FCGI_OBJECTS:.obj=) >$(TARGET_TEST_FCGI_INCLUDE)
923
924 $(TARGET_TEST_FCGI):: $(TARGET_TEST_FCGI:.exe=.compile)
925 @
926
927 $(TARGET_TEST_FCGI):: $(TARGET_TEST_FCGI_OBJECTS)
928 $(LINK) @<<
929 $(LINK_NORMAL) $(COMMON_LIBS) $(LIBFCGI_LIBS)
930 <<
931 !ifdef MANIFEST
932 @$(MANIFEST) $(TARGET_TEST_FCGI)
933 !endif
934
935 !ifndef NO_INC_FILES
936 ! include $(TARGET_TEST_NUMERIC_INCLUDE)
937 !endif
938
939 $(TARGET_TEST_NUMERIC:.exe=.compile):
940 @echo @call gendeps.bat %* >compile.bat
941 @echo $(CPP_NORMAL) %* >>compile.bat
942 @geninc $(TARGET_TEST_NUMERIC_OBJECTS:.obj=) >$(TARGET_TEST_NUMERIC_INCLUDE)
943
944 $(TARGET_TEST_NUMERIC):: $(TARGET_BASE) $(TARGET_GENERATE_COMMANDS) $(TARGET_TEST_NUMERIC_COMMANDS) $(TARGET_TEST_NUMERIC:.exe=.compile)
945 @
946
947 $(TARGET_TEST_NUMERIC):: $(TARGET_TEST_NUMERIC_OBJECTS) $(TARGET_BASE)
948 $(LINK) @<<
949 $(LINK_NORMAL) $(COMMON_LIBS)
950 <<
951 !ifdef MANIFEST
952 @$(MANIFEST) $(TARGET_TEST_NUMERIC)
953 !endif
954
955 !ifndef NO_INC_FILES
956 ! include $(TARGET_TEST_ODS_INCLUDE)
957 !endif
958
959 $(TARGET_TEST_ODS:.exe=.compile):
960 @echo @call gendeps.bat %* >compile.bat
961 @echo $(CPP_NORMAL) %* >>compile.bat
962 @geninc $(TARGET_TEST_ODS_OBJECTS:.obj=) >$(TARGET_TEST_ODS_INCLUDE)
963
964 $(TARGET_TEST_ODS):: $(TARGET_BASE) $(TARGET_GENERATE_COMMANDS) $(TARGET_TEST_ODS_COMMANDS) $(TARGET_TEST_ODS:.exe=.compile)
965 @
966
967 $(TARGET_TEST_ODS):: $(TARGET_TEST_ODS_OBJECTS) $(TARGET_BASE)
968 $(LINK) @<<
969 $(LINK_NORMAL) $(COMMON_LIBS)
970 <<
971 !ifdef MANIFEST
972 @$(MANIFEST) $(TARGET_TEST_ODS)
973 !endif
974
975 !ifndef NO_INC_FILES
976 ! include $(TARGET_TEST_PARSER_INCLUDE)
977 !endif
978
979 $(TARGET_TEST_PARSER:.exe=.compile):
980 @echo @call gendeps.bat %* >compile.bat
981 @echo $(CPP_NORMAL) %* >>compile.bat
982 @geninc $(TARGET_TEST_PARSER_OBJECTS:.obj=) >$(TARGET_TEST_PARSER_INCLUDE)
983
984 $(TARGET_TEST_PARSER):: $(TARGET_BASE) $(TARGET_TEST_PARSER:.exe=.compile)
985 @
986
987 $(TARGET_TEST_PARSER):: $(TARGET_TEST_PARSER_OBJECTS) $(TARGET_BASE)
988 $(LINK) @<<
989 $(LINK_NORMAL) $(COMMON_LIBS)
990 <<
991 !ifdef MANIFEST
992 @$(MANIFEST) $(TARGET_TEST_PARSER)
993 !endif
994
995 !ifndef NO_INC_FILES
996 ! include $(TARGET_TEST_PDF_GEN_INCLUDE)
997 !endif
998
999 $(TARGET_TEST_PDF_GEN:.exe=.compile):
1000 @echo @call gendeps.bat %* >compile.bat
1001 @echo $(CPP_NORMAL) %* >>compile.bat
1002 @geninc $(TARGET_TEST_PDF_GEN_OBJECTS:.obj=) >$(TARGET_TEST_PDF_GEN_INCLUDE)
1003
1004 $(TARGET_TEST_PDF_GEN):: $(TARGET_BASE) $(TARGET_GENERATE_COMMANDS) $(TARGET_TEST_PDF_GEN_COMMANDS) $(TARGET_TEST_PDF_GEN:.exe=.compile)
1005 @
1006
1007 $(TARGET_TEST_PDF_GEN):: $(TARGET_TEST_PDF_GEN_OBJECTS) $(TARGET_BASE)
1008 $(LINK) @<<
1009 $(LINK_NORMAL) $(COMMON_LIBS) $(LIBHARU_LIBS) $(LIBICONV_LIBS)
1010 <<
1011 !ifdef MANIFEST
1012 @$(MANIFEST) $(TARGET_TEST_PDF_GEN)
1013 !endif
1014
1015 !ifndef NO_INC_FILES
1016 ! include $(TARGET_TEST_SQL_INCLUDE)
1017 !endif
1018
1019 $(TARGET_TEST_SQL:.exe=.compile):
1020 @echo @call gendeps.bat %* >compile.bat
1021 @echo $(CPP_NORMAL) %* >>compile.bat
1022 @geninc $(TARGET_TEST_SQL_OBJECTS:.obj=) >$(TARGET_TEST_SQL_INCLUDE)
1023
1024 $(TARGET_TEST_SQL):: $(TARGET_BASE) $(TARGET_TEST_SQL:.exe=.compile)
1025 @
1026
1027 $(TARGET_TEST_SQL):: $(TARGET_TEST_SQL_OBJECTS) $(TARGET_BASE)
1028 $(LINK) @<<
1029 $(LINK_NORMAL) $(COMMON_LIBS) $(MYSQL_LIBS)
1030 <<
1031 !ifdef MANIFEST
1032 @$(MANIFEST) $(TARGET_TEST_SQL)
1033 !endif
1034
1035 !ifndef NO_INC_FILES
1036 ! include $(TARGET_UNBUNDLE_INCLUDE)
1037 !endif
1038
1039 $(TARGET_UNBUNDLE:.exe=.compile):
1040 @echo @call gendeps.bat %* >compile.bat
1041 @echo $(CPP_NORMAL) %* >>compile.bat
1042 @geninc $(TARGET_UNBUNDLE_OBJECTS:.obj=) >$(TARGET_UNBUNDLE_INCLUDE)
1043
1044 $(TARGET_UNBUNDLE):: $(TARGET_BASE) $(TARGET_UNBUNDLE:.exe=.compile)
1045 @
1046
1047 $(TARGET_UNBUNDLE):: $(TARGET_UNBUNDLE_OBJECTS) $(TARGET_BASE)
1048 $(LINK) @<<
1049 $(LINK_NORMAL) $(COMMON_LIBS) $(ZLIB_LIBS)
1050 <<
1051 !ifdef MANIFEST
1052 @$(MANIFEST) $(TARGET_UNBUNDLE)
1053 !endif
1054
1055 !ifndef NO_INC_FILES
1056 ! include $(TARGET_UPLOAD_INCLUDE)
1057 !endif
1058
1059 $(TARGET_UPLOAD:.exe=.compile):
1060 @echo @call gendeps.bat %* >compile.bat
1061 @echo $(CPP_NORMAL) %* >>compile.bat
1062 @geninc $(TARGET_UPLOAD_OBJECTS:.obj=) >$(TARGET_UPLOAD_INCLUDE)
1063
1064 $(TARGET_UPLOAD):: $(TARGET_BASE) $(TARGET_UPLOAD:.exe=.compile)
1065 @
1066
1067 $(TARGET_UPLOAD):: $(TARGET_UPLOAD_OBJECTS) $(TARGET_BASE)
1068 $(LINK) @<<
1069 $(LINK_NORMAL) $(COMMON_LIBS) $(LIBFCGI_LIBS)
1070 <<
1071 !ifdef MANIFEST
1072 @$(MANIFEST) $(TARGET_UPLOAD)
1073 !endif
1074
1075 !ifndef NO_INC_FILES
1076 ! include $(TARGET_XREP_INCLUDE)
1077 !endif
1078
1079 $(TARGET_XREP:.exe=.compile):
1080 @echo @call gendeps.bat %* >compile.bat
1081 @echo $(CPP_NORMAL) %* >>compile.bat
1082 @geninc $(TARGET_XREP_OBJECTS:.obj=) >$(TARGET_XREP_INCLUDE)
1083
1084 $(TARGET_XREP):: $(TARGET_BASE) $(TARGET_XREP:.exe=.compile)
1085 @
1086
1087 $(TARGET_XREP):: $(TARGET_XREP_OBJECTS) $(TARGET_BASE)
1088 $(LINK) @<<
1089 $(LINK_NORMAL) $(COMMON_LIBS)
1090 <<
1091 !ifdef MANIFEST
1092 @$(MANIFEST) $(TARGET_XREP)
1093 !endif
1094
1095 !ifndef NO_INC_FILES
1096 ! include $(TARGET_XVARS_INCLUDE)
1097 !endif
1098
1099 $(TARGET_XVARS:.exe=.compile):
1100 @echo @call gendeps.bat %* >compile.bat
1101 @echo $(CPP_NORMAL) %* >>compile.bat
1102 @geninc $(TARGET_XVARS_OBJECTS:.obj=) >$(TARGET_XVARS_INCLUDE)
1103
1104 $(TARGET_XVARS):: $(TARGET_BASE) $(TARGET_XVARS:.exe=.compile)
1105 @
1106
1107 $(TARGET_XVARS):: $(TARGET_XVARS_OBJECTS) $(TARGET_BASE)
1108 $(LINK) @<<
1109 $(LINK_NORMAL) $(COMMON_LIBS)
1110 <<
1111 !ifdef MANIFEST
1112 @$(MANIFEST) $(TARGET_XVARS)
1113 !endif
1114
1115 clean::
1116 @killfiles $(ALL_TARGETS)
1117 @killfiles $(ALL_TARGETS:.exe=.ilk)
1118 @killfiles $(ALL_TARGETS:.exe=.map)
1119 @killfiles $(ALL_TARGETS:.exe=.pdb)
1120 @killfiles $(ALL_TARGETS:.dll=.ilk)
1121 @killfiles $(ALL_TARGETS:.dll=.map)
1122 @killfiles $(ALL_TARGETS:.dll=.exp)
1123 @killfiles $(ALL_TARGETS:.dll=.pdb)
1124 @killfiles $(ALL_INCLUDES)
1125 @killfiles $(ALL_OBJECTS)
1126 @killfiles $(ALL_OBJECTS:.obj=.dep)
1127 @killfiles $(ALL_COMMANDS)
1128
Something went wrong with that request. Please try again.