Icons for Radium and Shellplayer.
[AROS-Contrib.git] / bgui / makefile
blobec7aa058fef7da5d4ea2d54f72b27a2a5eb905e8
2 # @(#) $Header$
4 # BGUI library
5 # makefile
6 # SAS C MakeFile for the bgui.library
8 # (C) Copyright 1998 Manuel Lemos.
9 # (C) Copyright 1996-1997 Ian J. Einman.
10 # (C) Copyright 1993-1996 Jaba Development.
11 # (C) Copyright 1993-1996 Jan van den Baard.
12 # All Rights Reserved.
14 # $Log$
15 # Revision 42.5 2000/08/09 10:58:50 chodorowski
16 # Added rules and targets to make the docs in AmigaGuide and HTML format.
17 # The new rule "all_docs" makes all formats.
19 # Revision 42.4 2000/08/09 10:14:14 chodorowski
20 # Fixed broken rule.
22 # Revision 42.3 2000/08/08 21:47:46 chodorowski
23 # Added contrib/bgui/include/bgui_compilerspecific.h to be copied to
24 # include:bgui/bgui_compilerspecific.h at build-time (like the other
25 # includes). Could someone please fix this for the AROS build to?
27 # Revision 42.2 2000/08/08 19:24:11 chodorowski
28 # Disabled compiling examples/TextField.c because of missing includes.
29 # Couldn't find proto/textfield.h or gadgets/textfield.h in the NDK,
30 # and yet textfield.gadget seems to come with the OS. Hmmm...
32 # Revision 42.1 2000/08/08 13:31:05 chodorowski
33 # Fixes to make BGUI compile on AmigaOS. Disabled auto-generation of o/class-protos.h by MakeProto
34 # since it couldn't handle functions using the REGFUNC and REGPARAM macros; now
35 # include/aros/class-protos.h is used instead. Also disabled compilation of MakeProto. Disabled
36 # compiling test/test10.e and test/test11.e since that requires EC and BGUI modules for E.
38 # Revision 42.0 2000/05/09 22:09:38 mlemos
39 # Bumped to revision 42.0 before handing BGUI to AROS team
41 # Revision 41.11 2000/05/09 19:54:43 mlemos
42 # Merged with the branch Manuel_Lemos_fixes.
44 # Revision 41.10.2.49 2000/05/09 04:59:18 mlemos
45 # Made the LICENSE text be included in the distribution archives.
47 # Revision 41.10.2.48 2000/05/04 04:40:45 mlemos
48 # Removed the outdate time limit for the debug library version.
49 # Added the Bar and Layout group gadgets classes to the build.
51 # Revision 41.10.2.47 2000/04/21 05:34:33 mlemos
52 # Postponed the outdating date for the debugging version.
53 # Changed the name of the branch to export to generate the source archive.
54 # Fixed the rules for generating library class compiled object from source.
56 # Revision 41.10.2.46 2000/02/27 19:36:04 mlemos
57 # Made the library revision file be copied from bgui.library_rev.h to
58 # work around a Y2K bug in bumprev.
60 # Revision 41.10.2.45 2000/02/27 17:57:31 mlemos
61 # Added the test11 to the build.
63 # Revision 41.10.2.44 2000/01/30 20:42:04 mlemos
64 # Postponed the debug version expiry date.
65 # Added the test13 program to the build.
67 # Revision 41.10.2.43 1999/08/17 19:08:05 mlemos
68 # Changed the name of the script that adds an assigned directory to LIBS: to
69 # find BGUI libraries to MakeAssign.
71 # Revision 41.10.2.42 1999/08/13 17:24:00 mlemos
72 # Made the bgui_treeview.h and the respective stub include be installed in
73 # include:bgui and include:libraries respectively.
75 # Revision 41.10.2.41 1999/08/13 04:35:00 mlemos
76 # Made the bgui.h and bgui_macros.h be installed in include:bgui and the
77 # respective stubs be installed in include:libraries.
78 # Fixed the install location of the bgui_treeview.h include.
80 # Revision 41.10.2.40 1999/08/08 23:08:30 mlemos
81 # Added the target for test10 program.
83 # Revision 41.10.2.39 1999/07/30 22:12:26 mlemos
84 # Added support to build the TextField example.
86 # Revision 41.10.2.38 1999/07/24 17:21:53 mlemos
87 # Removed the activitydata.rexx script from the RexxBGUI library distribution
88 # archive.
90 # Revision 41.10.2.37 1999/07/23 06:08:54 mlemos
91 # Added the Script protection bit to the Assign scripts that are generated
92 # for the distribution archives.
94 # Revision 41.10.2.36 1999/07/04 05:25:21 mlemos
95 # Restored the line that made the library be installed in the default target.
97 # Revision 41.10.2.35 1999/07/03 20:03:00 mlemos
98 # Ensured that the revision information is up-to-date when the distribution
99 # archives are built.
100 # Replaced and tab characters in the makefile by spaces.
102 # Revision 41.10.2.34 1999/07/03 19:36:46 mlemos
103 # Added the rexxbgui.library to the build, distribution and clean targets.
104 # Removed needless QUIET options to some delete statements.
106 # Revision 41.10.2.33 1999/06/01 03:55:07 mlemos
107 # Ensured that the temporary directory with the source code extracted from
108 # the repository is removed after creating the BGUI source archive.
109 # Made the cleaning of the BGUI documentation directory only cleans the
110 # generated HTML files.
112 # Revision 41.10.2.32 1999/05/31 03:32:10 mlemos
113 # Fixed the location of the icons directory relative to the Autodocs
114 # directory.
115 # Fixed the file name of the archive of the AmigaGuide documentation to be
116 # deleted before being generated.
118 # Revision 41.10.2.31 1999/05/31 03:08:49 mlemos
119 # Added the extra gadgets directories to the build.
120 # Added the generation Autodocs for the the PopButton and Palette class to
121 # the build.
122 # Added the generation of documentation in HTML and AmigaGuide formats to the
123 # build.
124 # Added an Assign script to the users distribution archive to make sure LIBS:
125 # finds the libraries of BGUI and extra gadgets.
126 # Ensured that the generated HTML files are removed by the clean target.
128 # Revision 41.10.2.30 1999/02/19 04:51:01 mlemos
129 # Added the StormC BGUI pragma file to the distribution.
130 # Ensured that the fd, the inline and the pragma directories existe before
131 # any files are installed there.
133 # Revision 41.10.2.29 1999/02/18 23:14:50 mlemos
134 # Postponed the debug build outdate time.
135 # Added inline/bgui.h file to the distribution.
137 # Revision 41.10.2.28 1998/12/26 21:47:26 nobody
138 # Corrected the dependencies to build the CAD program.
140 # Revision 41.10.2.27 1998/12/20 01:39:52 mlemos
141 # Added a target to build test program 9.
143 # Revision 41.10.2.26 1998/12/08 03:56:27 mlemos
144 # Added a target to build test program 8.
145 # Made the BGUIPrefs program be renamed to BGUI.
147 # Revision 41.10.2.25 1998/12/06 21:34:25 mlemos
148 # Added a target to build test 7 program.
150 # Revision 41.10.2.24 1998/11/30 00:19:32 mlemos
151 # Added support to produce three kinds of build processes for the
152 # bgui.library: standard, enhanced and debug.
153 # Made the distribution process split developer material into separate
154 # archives.
155 # Added icons to the relevant directories and programs shipped in the
156 # distribution archives.
158 # Revision 41.10.2.23 1998/11/23 15:05:08 mlemos
159 # Added needed dependencies of some targets on installed include files.
160 # Made the default build be compatible with OS 2 under MC68000.
162 # Revision 41.10.2.22 1998/11/16 19:58:24 mlemos
163 # Added a target to build test 6 program.
165 # Revision 41.10.2.21 1998/10/18 18:23:44 mlemos
166 # Added a target to build the ViewGroup example program.
168 # Revision 41.10.2.20 1998/10/12 01:28:04 mlemos
169 # Added a target to build the ARexx Demo program.
170 # Added the bgui_arexx.h include file to the distribution.
172 # Revision 41.10.2.19 1998/10/01 04:59:09 mlemos
173 # Added stkext.asm to the list of files that define automatic function
174 # prototypes.
176 # Revision 41.10.2.18 1998/10/01 04:52:32 mlemos
177 # Made the CAD program linking command take all objects explicitly.
178 # Added a target to generate the AutoDoc files.
179 # Added the Autodoc files to the distribution.
180 # Uncommented commands to clean up that were inadvertdly left commented.
182 # Revision 41.10.2.17 1998/09/20 23:57:36 mlemos
183 # Added targets for BGUIPrefs and Tap programs.
184 # Added BGUIPrefs and Tap programs to the distribution.
185 # Supressed most of the irrelevant output of the programs building the
186 # different targets.
188 # Revision 41.10.2.16 1998/09/19 04:01:08 mlemos
189 # Added targets to build the CAD program into the distribution.
191 # Revision 41.10.2.15 1998/09/13 04:32:49 mlemos
192 # Removed space characters in excess at the end of the file lines.
193 # Make the destribuition target create the source code archive.
194 # Added intermediate targets to the distribution target, so that if it is
195 # interrupted in the middle it will not rebuild the lha archives again.
197 # Revision 41.10.2.14 1998/09/12 02:20:09 mlemos
198 # Changed the outdate build date.
199 # Added a target to build the stack extension code.
201 # Revision 41.10.2.13 1998/08/27 04:05:16 mlemos
202 # Added a target to build the distribution files.
204 # Revision 41.10.2.12 1998/07/05 19:41:47 mlemos
205 # Added targets to build test4 and test5 programs.
207 # Revision 41.10.2.11 1998/06/21 19:28:24 mlemos
208 # Added the target for test3 program.
209 # Added an option to debugging build to outdate it after a given date.
211 # Revision 41.10.2.10 1998/04/27 00:14:44 mlemos
212 # Added Test2 target.
214 # Revision 41.10.2.9 1998/03/02 03:21:32 mlemos
215 # Added option to not perform stack checking in the example programs.
216 # Added dependency to FieldList example from the FieldList.h header.
218 # Revision 41.10.2.8 1998/03/01 15:47:44 mlemos
219 # Fixed example targets build statements.
221 # Revision 41.10.2.7 1998/02/28 17:54:17 mlemos
222 # Split clean target in several delete statment lines.
224 # Revision 41.10.2.6 1998/02/28 17:50:56 mlemos
225 # Added support to build examples.
227 # Revision 41.10.2.5 1998/02/28 02:47:24 mlemos
228 # Added DEFINE to enable debugging support.
230 # Revision 41.10.2.4 1998/02/26 22:41:59 mlemos
231 # Added message to bgui.library target action.
232 # Deleted test1 linker temporary file.
233 # Re-added strip debug linker options to pre linked modules.
234 # Made BOOPSI modules be linked with debug information.
236 # Revision 41.10.2.3 1998/02/26 19:09:57 mlemos
237 # Corrected libs:bgui.library dependencies
239 # Revision 41.10.2.2 1998/02/26 18:42:48 mlemos
240 # Fixed fd file target directory
242 # Revision 41.10.2.1 1998/02/26 18:30:31 mlemos
243 # Changed building options to produce a version of the library for debugging.
244 # Added missing includes and corrected their paths.
245 # Added a test directory with test program.
247 # Revision 41.10 1998/02/25 21:12:36 mlemos
248 # Bumping to 41.10
250 # Revision 1.1 1998/02/25 17:09:03 mlemos
251 # Ian sources
256 ver=41
257 o=_$(BUILD_TYPE).o
258 link=slink QUIET SMALLCODE ADDSYM STRIPDEBUG NODEBUG NOICONS MAXHUNK 32000 PRELINK FROM
259 DEBUG_OPTIONS=DEBUG=FULLFLUSH DEFINE DEBUG_BGUI
260 STANDARD_OPTIONS=NODEBUG OPT
261 ENHANCED_OPTIONS=NODEBUG OPT OPTTIME CPU=68020 DEFINE=ENHANCED
263 PRAGMA_DIRECTORY=include:pragma
264 INLINE_DIRECTORY=include:inline
265 FD_DIRECTORY=include:fd
267 includes= \
268 include:libraries/bgui.h \
269 include:bgui/bgui.h \
270 include:bgui/bgui_image.h \
271 include:bgui/bgui_asl.h \
272 include:bgui/bgui_arexx.h \
273 include:bgui/bgui_cx.h \
274 include:bgui/bgui_obsolete.h \
275 include:bgui/bgui_prefs.h \
276 include:bgui/bgui_compilerspecific.h \
277 include:libraries/bgui_macros.h \
278 include:bgui/bgui_macros.h \
279 include:libraries/bgui_treeview.h \
280 include:bgui/bgui_treeview.h \
281 include:libraries/bgui_bar.h \
282 include:bgui/bgui_bar.h \
283 include:libraries/bgui_layoutgroup.h \
284 include:bgui/bgui_layoutgroup.h \
285 include:proto/bgui.h \
286 include:clib/bgui_protos.h \
287 include:pragmas/bgui_pragmas.h \
288 $(PRAGMA_DIRECTORY)/bgui_lib.h \
289 $(FD_DIRECTORY)/bgui_lib.fd \
290 $(INLINE_DIRECTORY)/bgui.h
292 build_and_install: debug_build
293 @smake -s -f makefile BUILD_TYPE=D install
294 @echo "bgui.library is built and installed in libs:"
296 debug_build:
297 @echo "Making BGUI version for debugging..."
298 @smake -s -f makefile BUILD_TYPE=D build
300 debug_install:
301 @echo "Installing BGUI version for debugging..."
302 @smake -s -f makefile BUILD_TYPE=D install
304 standard_build:
305 @echo "Making BGUI standard version..."
306 @smake -s -f makefile BUILD_TYPE=S build
308 enhanced_build:
309 @echo "Making BGUI enhanced version..."
310 @smake -s -f makefile BUILD_TYPE=E build
312 build: bin/bgui.library.$(BUILD_TYPE) test examples tools
314 tools= \
315 bin/CAD \
316 bin/BGUI \
317 bin/KillBGUI \
318 bin/Tap
320 tools: $(includes) $(tools)
322 install: bin/KillBGUI bin/bgui.library.$(BUILD_TYPE)
323 @echo "Installing BGUI library..."
324 @bin/KillBGUI
325 @copy bin/bgui.library.$(BUILD_TYPE) libs:bgui.library
327 libs:bgui.library:
328 @smake -s -f makefile debug_install
330 PROGRAM_OPTIONS = RESETOPTIONS NOVER NOICONS LINK DEBUG=FULLFLUSH ERRORREXX NOSTACKCHECK ObjectName=o/
332 bin/KillBGUI: KillBGUI.c
333 @echo Making $@...
334 @sc $(PROGRAM_OPTIONS) DEFINE __USE_SYSBASE $? ProgramName=$@
335 -@delete QUIET $@.lnk
337 KillBGUI: bin/KillBGUI
338 @smake -s -f makefile BUILD_TYPE=D bin/KillBGUI
340 bin/test1: test/test1.c
341 @echo Making $@...
342 @sc $(PROGRAM_OPTIONS) $? ProgramName=$@
343 -@delete QUIET $@.lnk
345 bin/test2: test/test2.c
346 @echo Making $@...
347 @sc $(PROGRAM_OPTIONS) $? ProgramName=$@
348 -@delete QUIET $@.lnk
350 bin/test3: test/test3.c
351 @echo Making $@...
352 @sc $(PROGRAM_OPTIONS) $? ProgramName=$@
353 -@delete QUIET $@.lnk
355 bin/test4: test/test4.c
356 @echo Making $@...
357 @sc $(PROGRAM_OPTIONS) $? ProgramName=$@
358 -@delete QUIET $@.lnk
360 bin/test5: test/test5.c
361 @echo Making $@...
362 @sc $(PROGRAM_OPTIONS) $? ProgramName=$@
363 -@delete QUIET $@.lnk
365 bin/test6: test/test6.c
366 @echo Making $@...
367 @sc $(PROGRAM_OPTIONS) $? ProgramName=$@
368 -@delete QUIET $@.lnk
370 bin/test7: test/test7.c
371 @echo Making $@...
372 @sc $(PROGRAM_OPTIONS) $? ProgramName=$@
373 -@delete QUIET $@.lnk
375 bin/test8: test/test8.c
376 @echo Making $@...
377 @sc $(PROGRAM_OPTIONS) $? ProgramName=$@
378 -@delete QUIET $@.lnk
380 bin/test9: test/test9.c
381 @echo Making $@...
382 @sc $(PROGRAM_OPTIONS) $? ProgramName=$@
383 -@delete QUIET $@.lnk
385 bin/test10: test/test10.e
386 @echo Making $@...
387 @ec QUIET $*
388 @copy $* $@
389 @Delete QUIET $*
391 bin/test11: test/test11.e
392 @echo Making $@...
393 @ec QUIET $*
394 @copy $* $@
395 @Delete QUIET $*
397 bin/test13: test/test13.c
398 @echo Making $@...
399 @sc $(PROGRAM_OPTIONS) $? ProgramName=$@
400 -@delete QUIET $@.lnk
402 test= \
403 bin/test1 \
404 bin/test2 \
405 bin/test3 \
406 bin/test4 \
407 bin/test5 \
408 bin/test6 \
409 bin/test7 \
410 bin/test8 \
411 bin/test9 \
412 #bin/test10 \
413 #bin/test11 \
414 bin/test13
416 test: $(includes) $(test)
418 examples= \
419 bin/AddButtons \
420 bin/ColorWheel \
421 bin/Area \
422 bin/ARexxDemo \
423 bin/BGUIDemo \
424 bin/Colors \
425 bin/CXDemo \
426 bin/Useless \
427 bin/StringHook \
428 bin/MultiSelect \
429 bin/IDCMPHook \
430 bin/Images \
431 bin/FieldList \
432 bin/Backdrop \
433 bin/MultiFont \
434 bin/FileRequester \
435 bin/List \
436 bin/MultiColumn \
437 bin/ViewGroup \
438 #bin/TextField
440 examples: $(includes) $(examples)
442 example:
443 @smake -s -f makefile BUILD_TYPE=D examples
445 gadget_directories= \
446 gadgets/PopButton \
447 gadgets/Palette \
448 gadgets/TreeView \
449 gadgets/Bar \
450 gadgets/LayoutGroup
452 o/cad_main.o: cad/cad_main.c CAD/cad.h
454 o/cad_file.o: cad/cad_file.c CAD/cad.h
456 o/cad_support.o: cad/cad_support.c CAD/cad.h
458 bin/CAD: $(includes) o/cad_main.o o/cad_file.o o/cad_support.o
459 @echo Making $@...
460 @slink NOICONS SMALLCODE SMALLDATA ADDSYM STRIPDEBUG NODEBUG NOICONS QUIET FROM LIB:c.o o/cad_main.o o/cad_file.o o/cad_support.o LIB:debug.lib lib lib:sc.lib lib:amiga.lib to $@
461 -@delete QUIET $@.lnk
463 CAD_PROGRAM: $(includes) cad/cad_main.c cad/cad_file.c cad/cad_support.c CAD/cad.h
464 @smake -s -f makefile BUILD_TYPE=D bin/CAD
466 .cad.doc: libs:bgui.library bin/CAD
467 @bin/CAD $*.cad TO $@ DOC
469 .cad.guide: libs:bgui.library bin/CAD
470 @bin/CAD $*.cad TO $@ GUIDE
472 .cad.html: libs:bgui.library bin/CAD
473 @bin/CAD $*.cad TO $@ HTML
475 docs= \
476 CAD/doc/aslreqclass.doc \
477 CAD/doc/baseclass.doc \
478 CAD/doc/bgui.doc \
479 CAD/doc/buttonclass.doc \
480 CAD/doc/checkboxclass.doc \
481 CAD/doc/commodityclass.doc \
482 CAD/doc/cycleclass.doc \
483 CAD/doc/externalclass.doc \
484 CAD/doc/filereqclass.doc \
485 CAD/doc/frameclass.doc \
486 CAD/doc/groupclass.doc \
487 CAD/doc/indicatorclass.doc \
488 CAD/doc/infoclass.doc \
489 CAD/doc/labelclass.doc \
490 CAD/doc/listviewclass.doc \
491 CAD/doc/methods.doc \
492 CAD/doc/mxclass.doc \
493 CAD/doc/pageclass.doc \
494 CAD/doc/progressclass.doc \
495 CAD/doc/propclass.doc \
496 CAD/doc/separatorclass.doc \
497 CAD/doc/sliderclass.doc \
498 CAD/doc/stringclass.doc \
499 CAD/doc/vectorclass.doc \
500 CAD/doc/windowclass.doc \
501 CAD/doc/popbuttonclass.doc \
502 CAD/doc/paletteclass.doc
504 guides= \
505 CAD/doc/aslreqclass.guide \
506 CAD/doc/baseclass.guide \
507 CAD/doc/bgui.guide \
508 CAD/doc/buttonclass.guide \
509 CAD/doc/checkboxclass.guide \
510 CAD/doc/commodityclass.guide \
511 CAD/doc/cycleclass.guide \
512 CAD/doc/externalclass.guide \
513 CAD/doc/filereqclass.guide \
514 CAD/doc/frameclass.guide \
515 CAD/doc/groupclass.guide \
516 CAD/doc/indicatorclass.guide \
517 CAD/doc/infoclass.guide \
518 CAD/doc/labelclass.guide \
519 CAD/doc/listviewclass.guide \
520 CAD/doc/methods.guide \
521 CAD/doc/mxclass.guide \
522 CAD/doc/pageclass.guide \
523 CAD/doc/progressclass.guide \
524 CAD/doc/propclass.guide \
525 CAD/doc/separatorclass.guide \
526 CAD/doc/sliderclass.guide \
527 CAD/doc/stringclass.guide \
528 CAD/doc/vectorclass.guide \
529 CAD/doc/windowclass.guide \
530 CAD/doc/popbuttonclass.guide \
531 CAD/doc/paletteclass.guide
533 htmls= \
534 CAD/doc/aslreqclass.html \
535 CAD/doc/baseclass.html \
536 CAD/doc/bgui.html \
537 CAD/doc/buttonclass.html \
538 CAD/doc/checkboxclass.html \
539 CAD/doc/commodityclass.html \
540 CAD/doc/cycleclass.html \
541 CAD/doc/externalclass.html \
542 CAD/doc/filereqclass.html \
543 CAD/doc/frameclass.html \
544 CAD/doc/groupclass.html \
545 CAD/doc/indicatorclass.html \
546 CAD/doc/infoclass.html \
547 CAD/doc/labelclass.html \
548 CAD/doc/listviewclass.html \
549 CAD/doc/methods.html \
550 CAD/doc/mxclass.html \
551 CAD/doc/pageclass.html \
552 CAD/doc/progressclass.html \
553 CAD/doc/propclass.html \
554 CAD/doc/separatorclass.html \
555 CAD/doc/sliderclass.html \
556 CAD/doc/stringclass.html \
557 CAD/doc/vectorclass.html \
558 CAD/doc/windowclass.html \
559 CAD/doc/popbuttonclass.html \
560 CAD/doc/paletteclass.html
562 doc: $(docs)
563 guide: $(guides)
564 html: $(htmls)
566 all_docs: $(doc) $(guide) $(html)
568 bin/BGUI: $(includes) Prefs/BGUIPrefs.c Prefs/BGUIPrefs_gui.c Prefs/BGUIPrefs_iff.c Prefs/BGUIPrefs.h Prefs/BGUIPrefs_rev.h
569 @echo Making $@...
570 @sc $(PROGRAM_OPTIONS) Prefs/BGUIPrefs.c ProgramName=$@
571 -@delete QUIET $@.lnk
573 BGUI: bin/BGUI
574 @smake -s -f makefile BUILD_TYPE=D bin/BGUI
577 bin/Tap: Tap.c
578 @echo Making $@...
579 @sc $(PROGRAM_OPTIONS) $? ProgramName=$@
580 -@delete QUIET $@.lnk
582 Tap: bin/Tap
583 @smake -s -f makefile BUILD_TYPE=D bin/Tap
585 extra_gadgets:
586 @execute >NIL: <<
587 cd gadgets/PopButton
588 smake -s
589 cd //gadgets/Palette
590 smake -s
591 cd //gadgets/TreeView
592 smake -s
593 cd //gadgets/Bar
594 smake -s
595 cd //gadgets/LayoutGroup
596 smake -s
599 t:build_source_archive:
600 @execute >NIL: <<
601 if exists t:bgui
602 echo Deleting t:bgui directory...
603 delete QUIET t:bgui all
604 endif
606 @echo Extracting current source tree...
607 @execute >NIL: <<
608 cd t:
609 cvs export -r HEAD bgui
611 @echo Making the distribution lha source archive...
612 @execute >NIL: <<
613 if exists t:bgui_src.lha
614 echo Deleting t:bgui_src.lha archive...
615 delete QUIET t:bgui_src.lha
616 endif
617 cd t:
618 lha -r a bgui_src.lha bgui
620 @copy t:bgui_src.lha website/bin/bgui_src.lha
621 @delete QUIET t:bgui_src.lha
622 @delete QUIET t:bgui ALL
623 @echo ok >t:build_source_archive
625 t:build_developers_archive: update_revision debug_build doc html_documentation amigaguide_documentation
626 @execute >NIL: <<
627 if exists t:bgui
628 echo Deleting t:bgui directory...
629 delete QUIET t:bgui all
630 endif
631 if exists t:BGUI.info
632 echo Deleting t:BGUI.info directory icon...
633 delete QUIET t:BGUI.info
634 endif
636 @makedir t:bgui
637 @echo Copying BGUI directory icon...
638 @copy icons/def_Drawer.info to t:BGUI.info
639 @echo Copying BGUI LICENSE document...
640 @copy LICENSE to t:bgui/LICENSE
641 @copy icons/def_doc.info t:bgui/LICENSE.info quiet
642 @makedir t:bgui/libs
643 @echo Copying BGUI library...
644 @slink from bin/bgui.library.D to t:bgui/libs/bgui.library NODEBUG NOICONS QUIET
645 @makedir t:bgui/Tools
646 @copy icons/def_Drawer.info to t:bgui/Tools.info
647 @echo Copying CAD utility program...
648 @slink from bin/CAD to t:bgui/tools/CAD NODEBUG NOICONS QUIET
649 @copy icons/def_Tool.info to t:bgui/tools/CAD.info
650 @echo Copying Tap program...
651 @slink from bin/Tap to t:bgui/tools/Tap NODEBUG NOICONS QUIET
652 @copy icons/def_Tool.info to t:bgui/tools/Tap.info
653 @echo Copying KillBGUI program...
654 @slink from bin/KillBGUI to t:bgui/tools/KillBGUI NODEBUG NOICONS QUIET
655 @copy icons/def_Tool.info to t:bgui/tools/KillBGUI.info
656 @echo Copying BGUIBuilder program...
657 @slink from bin/BGUIBuilder to t:bgui/tools/BGUIBuilder NODEBUG NOICONS QUIET
658 @copy icons/def_Tool.info t:bgui/tools/BGUIBuilder.info quiet
659 @echo Copying include files...
660 @makedir t:bgui/include
661 @makedir t:bgui/include/libraries
662 @copy include/libraries_bgui.h to t:bgui/include/libraries/bgui.h
663 @copy icons/def_h.info to t:bgui/include/libraries/bgui.h.info
664 @makedir t:bgui/include/bgui
665 @copy include/bgui.h to t:bgui/include/bgui/bgui.h
666 @copy icons/def_h.info to t:bgui/include/bgui/bgui.h.info
667 @copy include/bgui_image.h to t:bgui/include/bgui/bgui_image.h
668 @copy icons/def_h.info to t:bgui/include/bgui/bgui_image.h.info
669 @copy include/bgui_asl.h to t:bgui/include/bgui/bgui_asl.h
670 @copy icons/def_h.info to t:bgui/include/bgui/bgui_asl.h.info
671 @copy include/bgui_arexx.h to t:bgui/include/bgui/bgui_arexx.h
672 @copy icons/def_h.info to t:bgui/include/bgui/bgui_arexx.h.info
673 @copy include/bgui_cx.h to t:bgui/include/bgui/bgui_cx.h
674 @copy icons/def_h.info to t:bgui/include/bgui/bgui_cx.h.info
675 @copy include/bgui_obsolete.h to t:bgui/include/bgui/bgui_obsolete.h
676 @copy icons/def_h.info to t:bgui/include/bgui/bgui_obsolete.h.info
677 @copy include/libraries_bgui_macros.h to t:bgui/include/libraries/bgui_macros.h
678 @copy icons/def_h.info to t:bgui/include/libraries/bgui_macros.h.info
679 @copy include/bgui_macros.h to t:bgui/include/bgui/bgui_macros.h
680 @copy icons/def_h.info to t:bgui/include/bgui/bgui_macros.h.info
681 @copy gadgets/TreeView/include/TreeViewClass.h to t:bgui/include/bgui/bgui_treeview.h
682 @copy icons/def_h.info to t:bgui/include/bgui/bgui_treeview.h.info
683 @copy include/libraries_bgui_treeview.h to t:bgui/include/libraries/bgui_treeview.h
684 @copy icons/def_h.info to t:bgui/include/libraries/bgui_treeview.h.info
685 @copy gadgets/Bar/include/BarClass.h to t:bgui/include/bgui/bgui_bar.h
686 @copy icons/def_h.info to t:bgui/include/bgui/bgui_bar.h.info
687 @copy include/libraries_bgui_bar.h to t:bgui/include/libraries/bgui_bar.h
688 @copy icons/def_h.info to t:bgui/include/libraries/bgui_bar.h.info
689 @copy gadgets/LayoutGroup/include/LayoutGroupClass.h to t:bgui/include/bgui/bgui_layoutgroup.h
690 @copy icons/def_h.info to t:bgui/include/bgui/bgui_layoutgroup.h.info
691 @copy include/libraries_bgui_layoutgroup.h to t:bgui/include/libraries/bgui_layoutgroup.h
692 @copy icons/def_h.info to t:bgui/include/libraries/bgui_layoutgroup.h.info
693 @makedir t:bgui/include/proto
694 @copy include/bgui_proto.h to t:bgui/include/proto/bgui.h
695 @copy icons/def_h.info to t:bgui/include/proto/bgui.h.info
696 @makedir t:bgui/include/clib
697 @copy include/bgui_protos.h to t:bgui/include/clib/bgui_protos.h
698 @copy icons/def_h.info to t:bgui/include/clib/bgui_protos.h.info
699 @makedir t:bgui/include/pragmas
700 @copy include/bgui_pragmas.h to t:bgui/include/pragmas/bgui_pragmas.h
701 @copy icons/def_h.info to t:bgui/include/pragmas/bgui_pragmas.h.info
702 @makedir t:bgui/include/pragma
703 @copy include/pragma/bgui_lib.h to t:bgui/include/pragma/bgui_lib.h
704 @copy icons/def_h.info to t:bgui/include/pragma/bgui_lib.h.info
705 @makedir t:bgui/include/fd
706 @copy include/bgui_lib.fd to t:bgui/include/fd/bgui_lib.fd
707 @copy icons/def_fd.info to t:bgui/include/fd/bgui_lib.fd.info
708 @makedir t:bgui/include/inline
709 @copy include/inline/bgui.h to t:bgui/include/inline/bgui.h
710 @copy icons/def_h.info to t:bgui/include/inline/bgui.h.info
711 @makedir t:bgui/AutoDoc
712 @copy icons/def_Drawer.info to t:bgui/AutoDoc.info
713 @execute >NIL: <<
714 echo Copying AutoDoc files...
715 foreach f in CAD/doc/*.doc
716 copy $$f t:bgui/AutoDoc quiet
717 copy //icons/def_doc.info t:bgui/AutoDoc/$$f.info quiet
720 @execute >NIL: <<
721 echo Making the developers distribution lha archive...
722 if exists t:bgui_dev.lha
723 echo Deleting t:bgui_dev.lha archive...
724 delete QUIET t:bgui_dev.lha
725 endif
726 cd t:
727 lha -r a bgui_dev.lha bgui BGUI.info
729 @copy t:bgui_dev.lha website/bin/bgui_dev.lha
730 @delete QUIET t:bgui_dev.lha
731 @delete QUIET t:BGUI.info
732 @delete QUIET t:bgui all
733 @echo ok >t:build_developers_archive
735 html_documentation: CAD_PROGRAM
736 @execute >NIL: <<
737 echo Removing prior HTML documentation files...
738 if exists website/bgui_documentation
739 delete QUIET website/bgui_documentation/~(.cvsignore|CVS|.htaccess)
740 endif
741 echo Copying BGUI LICENSE document...
742 copy LICENSE to website/bgui_documentation/LICENSE
743 copy icons/def_doc.info website/bgui_documentation/LICENSE quiet
744 echo Generating HTML documentation files...
745 echo >website/bgui_documentation/index.html "<HTML>*n<HEAD>*n<TITLE>BGUI Documentation - Table of contents</TITLE>*n</HEAD>*n<BODY>*n<H1><CENTER>BGUI Documentation</CENTER></H1>*n<HR>*n<UL>*n<H2>Table of contents</H2>"
746 foreach f IN CAD/doc/*.cad SORT
747 set html `get f.BASE`
748 bin/CAD CAD/doc/$$f TO website/bgui_documentation/$$html.html HTML
749 echo >>website/bgui_documentation/index.html "<LI><A HREF=$$html.html>$$html</A></LI>"
751 echo >>website/bgui_documentation/index.html "</UL>*n<HR>*n</BODY>*n</HTML>*n";
752 echo Generating HTML documentation archive...
753 cd website
754 Delete bin/bgui_html_documentation.lha
755 lha a bin/bgui_html_documentation.lha bgui_documentation/~(.cvsignore|CVS|.htaccess)
758 amigaguide_documentation: CAD_PROGRAM
759 @execute >NIL: <<
760 echo Removing prior AmigaGuide documentation files...
761 if exists t:bgui_documentation
762 delete QUIET t:bgui_documentation all
763 endif
764 makedir t:bgui_documentation
765 echo Copying BGUI LICENSE document...
766 copy LICENSE to t:bgui_documentation/LICENSE
767 copy icons/def_doc.info t:bgui_documentation/LICENSE.info quiet
768 echo Generating AmigaGuide documentation files...
769 echo >t:bgui_documentation/index.guide "@database*n@node *"Main*" link *"BGUI Documentation*"*nTABLE OF CONTENTS*n"
770 foreach f IN CAD/doc/*.cad SORT
771 set guide `get f.BASE`
772 bin/CAD CAD/doc/$$f TO t:bgui_documentation/$$guide.guide GUIDE
773 echo >>t:bgui_documentation/index.guide " @{*"$$guide*" link *"$$guide.guide/main*" 0}"
775 echo >>t:bgui_documentation/index.guide "@endnode"
776 echo Generating AmigaGuide documentation archive...
777 Delete website/bin/bgui_guide_documentation.lha
778 lha a website/bin/bgui_guide_documentation.lha t:bgui_documentation
779 echo Removing generated AmigaGuide documentation files...
780 if exists t:bgui_documentation
781 delete QUIET t:bgui_documentation all
782 endif
785 update_revision:
786 -@Delete o/bgui.library_rev.h
788 t:build_users_archive: update_revision enhanced_build standard_build doc extra_gadgets
789 @execute >NIL: <<
790 if exists t:bgui
791 echo Deleting t:bgui directory...
792 delete QUIET t:bgui all
793 endif
794 if exists t:BGUI.info
795 echo Deleting t:BGUI.info directory icon...
796 delete QUIET t:BGUI.info
797 endif
799 @makedir t:bgui
800 @echo Copying BGUI directory icon...
801 @copy icons/def_Drawer.info to t:BGUI.info
802 @echo Copying BGUI LICENSE document...
803 @copy LICENSE to t:bgui/LICENSE
804 @copy icons/def_doc.info t:bgui/LICENSE.info quiet
805 @makedir t:bgui/libs
806 @echo Copying Standard version of BGUI library...
807 @slink from bin/bgui.library.S to t:bgui/libs/bgui.library NODEBUG NOICONS QUIET
808 @echo Copying Enhanced version of BGUI library...
809 @slink from bin/bgui.library.E to t:bgui/libs/bgui.library_e NODEBUG NOICONS QUIET
810 @makedir t:bgui/libs/gadgets
811 @echo Copying extra gadgets libraries...
812 @slink from gadgets/bgui_popbutton.gadget to t:bgui/libs/gadgets/bgui_popbutton.gadget NODEBUG NOICONS QUIET
813 @slink from gadgets/bgui_palette.gadget to t:bgui/libs/gadgets/bgui_palette.gadget NODEBUG NOICONS QUIET
814 @slink from gadgets/bgui_treeview.gadget to t:bgui/libs/gadgets/bgui_treeview.gadget NODEBUG NOICONS QUIET
815 @slink from gadgets/bgui_bar.gadget to t:bgui/libs/gadgets/bgui_bar.gadget NODEBUG NOICONS QUIET
816 @slink from gadgets/bgui_layoutgroup.gadget to t:bgui/libs/gadgets/bgui_layoutgroup.gadget NODEBUG NOICONS QUIET
817 @echo "Assign LIBS: libs ADD" to t:bgui/MakeAssign
818 @protect t:bgui/MakeAssign +s
819 @copy icons/def_Script.info to t:bgui/MakeAssign.info
820 @makedir t:bgui/Examples
821 @copy icons/def_Drawer.info to t:bgui/Examples.info
822 @makedir t:bgui/Examples/Source
823 @copy icons/def_Drawer.info to t:bgui/Examples/Source.info
824 @execute >NIL: <<
825 echo Copying source and program example files...
826 foreach f in $(examples)
827 copy /examples/$$f.c t:bgui/Examples/Source quiet
828 copy /icons/def_c.info t:bgui/Examples/Source/$$f.c.info quiet
829 slink from $$f to t:bgui/Examples/$$f NODEBUG NOICONS QUIET
830 copy /icons/def_Example.info t:bgui/Examples/$$f.info quiet
833 @execute >NIL: <<
834 echo Copying extra gadgets demo program and example source files...
835 foreach f in $(gadget_directories)
836 set demo Demo
837 copy $$f/$$f$$demo.c t:bgui/Examples/Source quiet
838 copy /icons/def_c.info t:bgui/Examples/Source/$$f$$demo.c.info quiet
839 slink /bin/$$f$$demo to t:bgui/Examples/$$f$$demo NODEBUG NOICONS QUIET
840 copy /icons/def_Example.info t:bgui/Examples/$$f$$demo.info quiet
843 @echo Copying example ARexx files...
844 @copy examples/demo.rexx t:bgui/Examples/ quiet
845 @copy icons/def_rexx.info t:bgui/Examples/demo.rexx.info quiet
846 @echo Copying example include files...
847 @copy examples/DemoCode.h examples/FieldList.h t:bgui/Examples/Source quiet
848 @copy icons/def_h.info t:bgui/Examples/Source/DemoCode.h.info quiet
849 @copy icons/def_h.info t:bgui/Examples/Source/FieldList.h.info quiet
850 @echo Copying BGUIPrefs program...
851 @slink from bin/BGUI to t:bgui/BGUI NODEBUG NOICONS QUIET
852 @copy icons/def_Tool.info t:bgui/BGUI.info quiet
853 @execute >NIL: <<
854 echo Making the users distribution lha archive...
855 if exists t:bgui.lha
856 echo Deleting t:bgui.lha archive...
857 delete QUIET t:bgui.lha
858 endif
859 cd t:
860 lha -r a bgui.lha bgui BGUI.info
862 @copy t:bgui.lha website/bin/bgui.lha
863 @delete QUIET t:bgui.lha
864 @delete QUIET t:BGUI.info
865 @delete QUIET t:bgui all
866 @echo ok >t:build_users_archive
868 rexx_examples= \
869 RexxBGUI/arrowcontrol.rexx \
870 RexxBGUI/conditional.rexx \
871 RexxBGUI/dirlist.rexx \
872 RexxBGUI/iconbutton.rexx \
873 RexxBGUI/imagebutton.rexx \
874 RexxBGUI/list.rexx \
875 RexxBGUI/mclist.rexx \
876 RexxBGUI/menu.rexx \
877 RexxBGUI/multiselect.rexx \
878 RexxBGUI/progress.rexx \
879 RexxBGUI/selectline.rexx \
880 RexxBGUI/testbgui.rexx \
881 RexxBGUI/testbgui2.rexx \
882 RexxBGUI/testlistview.rexx \
883 RexxBGUI/testpages.rexx \
884 RexxBGUI/testpageslv.rexx \
885 RexxBGUI/testreq.rexx \
886 RexxBGUI/testver3.rexx
888 aweb_rexx_examples= \
889 RexxBGUI/bguimodes.awebrx \
890 RexxBGUI/bguishowdir.awebrx
892 RexxBGUI/rexxbgui.library:
893 @execute >NIL: <<
894 cd RexxBGUI
895 smake -f .build all
898 t:build_arexx_library_archive: RexxBGUI/rexxbgui.library
899 @execute >NIL: <<
900 if exists t:bgui
901 echo Deleting t:bgui directory...
902 delete QUIET t:bgui all
903 endif
904 if exists t:BGUI.info
905 echo Deleting t:BGUI.info directory icon...
906 delete QUIET t:BGUI.info
907 endif
909 @makedir t:bgui
910 @echo Copying BGUI directory icon...
911 @copy icons/def_Drawer.info to t:BGUI.info
912 @echo Copying BGUI LICENSE document...
913 @copy LICENSE to t:bgui/LICENSE
914 @copy icons/def_doc.info t:bgui/LICENSE.info quiet
915 @makedir t:bgui/libs
916 @echo Copying RexxBGUI library...
917 @slink from RexxBGUI/rexxbgui.library to t:bgui/libs/rexxbgui.library NODEBUG NOICONS QUIET
918 @echo "Assign LIBS: libs ADD" to t:bgui/MakeAssign
919 @protect t:bgui/MakeAssign +s
920 @copy icons/def_Script.info to t:bgui/MakeAssign.info
921 @makedir t:bgui/Examples
922 @copy icons/def_Drawer.info to t:bgui/Examples.info
923 @makedir t:bgui/Examples/ARexx
924 @copy icons/def_Drawer.info to t:bgui/Examples/ARexx.info
925 @execute >NIL: <<
926 echo Copying BGUI ARexx example files...
927 foreach f in $(rexx_examples)
928 copy /RexxBGUI/$$f t:bgui/Examples/ARexx quiet
929 copy /icons/def_rexx.info t:bgui/Examples/ARexx/$$f.info quiet
932 @execute >NIL: <<
933 echo Copying AWeb BGUI ARexx example files...
934 foreach f in $(aweb_rexx_examples)
935 copy /RexxBGUI/$$f t:bgui/Examples/ARexx quiet
936 copy /icons/def_rexx.info t:bgui/Examples/ARexx/$$f.info quiet
939 @makedir t:bgui/Tools
940 @copy icons/def_Drawer.info to t:bgui/Tools.info
941 @echo Copying MakeImage utility program...
942 @slink from RexxBGUI/MakeImage to t:bgui/tools/MakeImage NODEBUG NOICONS QUIET
943 @copy icons/def_Tool.info to t:bgui/tools/MakeImage.info
944 @makedir t:bgui/AutoDoc
945 @copy icons/def_Drawer.info to t:bgui/AutoDoc.info
946 @copy RexxBGUI/RexxBGUI.doc to t:bgui/AutoDoc/RexxBGUI.doc
947 @copy icons/def_doc.info to t:bgui/AutoDoc/RexxBGUI.doc.info
948 @copy RexxBGUI/Functions.doc to t:bgui/AutoDoc/RexxFunctions.doc
949 @copy icons/def_doc.info to t:bgui/AutoDoc/RexxFunctions.doc.info
950 @execute >NIL: <<
951 echo Making the Rexx BGUI distribution lha archive...
952 if exists t:bgui_rexx.lha
953 echo Deleting t:bgui_rexx.lha archive...
954 delete QUIET t:bgui_rexx.lha
955 endif
956 cd t:
957 lha -r a bgui_rexx.lha bgui BGUI.info
959 @copy t:bgui_rexx.lha website/bin/bgui_rexx.lha
960 @delete QUIET t:bgui_rexx.lha
961 @delete QUIET t:BGUI.info
962 @delete QUIET t:bgui all
963 @echo ok >t:build_users_archive
965 dist: t:build_users_archive t:build_developers_archive t:build_source_archive t:build_arexx_library_archive
966 @echo Making the website distribution archive...
967 @execute >NIL: <<
968 cd website
969 Apache:cgi-bin/php3.cgi -q dist.php
971 @delete QUIET t:build_developers_archive t:build_users_archive t:build_source_archive t:build_arexx_library_archive
972 @echo Done.
975 bin/AddButtons: examples/AddButtons.c
976 @echo Making $@...
977 @sc $(PROGRAM_OPTIONS) $? ProgramName=$@
978 -@delete QUIET $@.lnk
980 bin/ColorWheel: examples/ColorWheel.c
981 @echo Making $@...
982 @sc $(PROGRAM_OPTIONS) $? ProgramName=$@
983 -@delete QUIET $@.lnk
985 bin/TextField: examples/TextField.c
986 @echo Making $@...
987 @sc $(PROGRAM_OPTIONS) $? ProgramName=$@
988 -@delete QUIET $@.lnk
990 bin/Area: examples/Area.c
991 @echo Making $@...
992 @sc $(PROGRAM_OPTIONS) $? ProgramName=$@
993 -@delete QUIET $@.lnk
995 bin/ARexxDemo: examples/ARexxDemo.c
996 @echo Making $@...
997 @sc $(PROGRAM_OPTIONS) $? ProgramName=$@
998 -@delete QUIET $@.lnk
1000 bin/BGUIDemo: examples/BGUIDemo.c
1001 @echo Making $@...
1002 @sc $(PROGRAM_OPTIONS) $? ProgramName=$@
1003 -@delete QUIET $@.lnk
1005 bin/Colors: examples/Colors.c
1006 @echo Making $@...
1007 @sc $(PROGRAM_OPTIONS) $? ProgramName=$@
1008 -@delete QUIET $@.lnk
1010 bin/CXDemo: examples/CXDemo.c
1011 @echo Making $@...
1012 @sc $(PROGRAM_OPTIONS) $? ProgramName=$@
1013 -@delete QUIET $@.lnk
1015 bin/Useless: examples/Useless.c
1016 @echo Making $@...
1017 @sc $(PROGRAM_OPTIONS) $? ProgramName=$@
1018 -@delete QUIET $@.lnk
1020 bin/StringHook: examples/StringHook.c
1021 @echo Making $@...
1022 @sc $(PROGRAM_OPTIONS) $? ProgramName=$@
1023 -@delete QUIET $@.lnk
1025 bin/MultiSelect: examples/MultiSelect.c
1026 @echo Making $@...
1027 @sc $(PROGRAM_OPTIONS) $? ProgramName=$@
1028 -@delete QUIET $@.lnk
1030 bin/IDCMPHook: examples/IDCMPHook.c
1031 @echo Making $@...
1032 @sc $(PROGRAM_OPTIONS) $? ProgramName=$@
1033 -@delete QUIET $@.lnk
1035 bin/Images: examples/Images.c
1036 @echo Making $@...
1037 @sc $(PROGRAM_OPTIONS) $? ProgramName=$@
1038 -@delete QUIET $@.lnk
1040 bin/FieldList: examples/FieldList.c examples/FieldList.h
1041 @echo Making $@...
1042 @sc $(PROGRAM_OPTIONS) DEFINE DEBUG_BGUI LIBRARY LIB:debug.lib examples/FieldList.c ProgramName=$@
1043 -@delete QUIET $@.lnk
1045 bin/Backdrop: examples/Backdrop.c
1046 @echo Making $@...
1047 @sc $(PROGRAM_OPTIONS) $? ProgramName=$@
1048 -@delete QUIET $@.lnk
1050 bin/MultiFont: examples/MultiFont.c
1051 @echo Making $@...
1052 @sc $(PROGRAM_OPTIONS) $? ProgramName=$@
1053 -@delete QUIET $@.lnk
1055 bin/FileRequester: examples/FileRequester.c
1056 @echo Making $@...
1057 @sc $(PROGRAM_OPTIONS) $? ProgramName=$@
1058 -@delete QUIET $@.lnk
1060 bin/List: examples/List.c
1061 @echo Making $@...
1062 @sc $(PROGRAM_OPTIONS) $? ProgramName=$@
1063 -@delete QUIET $@.lnk
1065 bin/MultiColumn: examples/MultiColumn.c
1066 @echo Making $@...
1067 @sc $(PROGRAM_OPTIONS) $? ProgramName=$@
1068 -@delete QUIET $@.lnk
1070 bin/ViewGroup: examples/ViewGroup.c
1071 @echo Making $@...
1072 @sc $(PROGRAM_OPTIONS) $? ProgramName=$@
1073 -@delete QUIET $@.lnk
1075 $(PRAGMA_DIRECTORY) $(INLINE_DIRECTORY) $(FD_DIRECTORY):
1076 makedir $@
1078 include:libraries/bgui.h: include/libraries_bgui.h
1079 include:bgui/bgui.h: include/bgui.h
1080 include:bgui/bgui_image.h: include/bgui_image.h
1081 include:bgui/bgui_asl.h: include/bgui_asl.h
1082 include:bgui/bgui_arexx.h: include/bgui_arexx.h
1083 include:bgui/bgui_cx.h: include/bgui_cx.h
1084 include:bgui/bgui_obsolete.h: include/bgui_obsolete.h
1085 include:bgui/bgui_prefs.h: include/bgui_prefs.h
1086 include:bgui/bgui_compilerspecific.h: include/bgui_compilerspecific.h
1087 include:libraries/bgui_macros.h: include/libraries_bgui_macros.h
1088 include:bgui/bgui_macros.h: include/bgui_macros.h
1089 include:libraries/bgui_treeview.h: include/libraries_bgui_treeview.h
1090 include:bgui/bgui_treeview.h: gadgets/TreeView/include/TreeViewClass.h
1091 include:libraries/bgui_bar.h: include/libraries_bgui_bar.h
1092 include:bgui/bgui_bar.h: gadgets/Bar/include/BarClass.h
1093 include:libraries/bgui_layoutgroup.h: include/libraries_bgui_layoutgroup.h
1094 include:bgui/bgui_layoutgroup.h: gadgets/LayoutGroup/include/LayoutGroupClass.h
1095 include:proto/bgui.h: include/bgui_proto.h
1096 include:clib/bgui_protos.h: include/bgui_protos.h
1097 include:pragmas/bgui_pragmas.h: include/bgui_pragmas.h
1098 $(PRAGMA_DIRECTORY)/bgui_lib.h: $(PRAGMA_DIRECTORY) include/pragma/bgui_lib.h
1099 $(INLINE_DIRECTORY)/bgui.h: $(INLINE_DIRECTORY) include/inline/bgui.h
1100 $(FD_DIRECTORY)/bgui_lib.fd: $(FD_DIRECTORY) include/bgui_lib.fd
1101 @echo Installing $@...
1102 @copy >NIL: include/bgui_lib.fd $(FD_DIRECTORY)/bgui_lib.fd
1104 clean:
1105 @echo "Deleting installed includes..."
1106 -@delete QUIET $(includes)
1107 @echo "Deleting generated AutoDoc files..."
1108 -@delete QUIET CAD/doc/\#?.doc
1109 @echo "Deleting generated AmigaGuide files..."
1110 -@delete QUIET CAD/doc/\#?.guide
1111 @echo "Deleting generated HTML files..."
1112 -@delete QUIET CAD/doc/\#?.html
1113 @echo "Deleting generated website files..."
1114 -delete QUIET website/bgui_documentation/~(.cvsignore|CVS|.htaccess)
1115 @echo "Deleting example programs..."
1116 -@delete QUIET $(examples)
1117 @echo "Deleting test programs..."
1118 -@delete QUIET $(test)
1119 @echo "Deleting utility programs..."
1120 -@delete QUIET bin/KillBGUI bin/MakeProto bin/CAD bin/BGUI bin/Tap
1121 @echo "Deleting BGUI library..."
1122 -@delete QUIET libs:bgui.library bin/bgui.library.(D|S|E)
1123 @echo "Deleting intermediate files..."
1124 -@delete QUIET o/~(dummy.h|CVS) bin/\#?.lnk
1125 @echo "Clean rexxbgui.library and intermediate files..."
1126 @execute >NIL: <<
1127 cd RexxBGUI
1128 smake -f .build clean
1130 @echo "Done."
1132 .c.o:
1133 @execute <<
1134 if exists $@
1135 list >ENV:sizeold $@ lformat="%l"
1136 else
1137 echo 0 >ENV:sizeold
1138 endif
1140 @echo "Compiling $*.c..."
1141 @execute <<
1142 if $(BUILD_TYPE) eq D
1143 sc $< objname $@ $(DEBUG_OPTIONS)
1144 endif
1145 if $(BUILD_TYPE) eq S
1146 sc $< objname $@ $(STANDARD_OPTIONS)
1147 endif
1148 if $(BUILD_TYPE) eq E
1149 sc $< objname $@ $(ENHANCED_OPTIONS)
1150 endif
1152 -@list >ENV:sizenew $@ lformat="%l"
1153 @echo "$@: $$sizenew bytes, `eval $$sizenew-$$sizeold` change.*n"
1155 .asm.o:
1156 @echo "Assembling $*.asm..."
1157 @sc NOVER assembler=$*.asm ObjectName=$@
1159 .h.h:
1160 @echo Installing $@...
1161 @copy $*.h to $@
1164 o/bgui.library_rev.h: bgui.library_rev.h
1165 @echo Bumping the revision of $@...
1166 @copy $? TO $@
1168 bin/bgui.library.$(BUILD_TYPE): $(includes) include/aros/class-protos.h o/libtag.o o/plmain$(o) o/plgfx$(o) o/plboopsi$(o) o/bgui.library_rev.h
1169 bin/bgui.library.$(BUILD_TYPE): o/plimageclasses$(o) o/plgadgetclasses$(o) o/plgroupclasses$(o) o/plaslclasses$(o)
1170 @execute >NIL: <<
1171 if $(BUILD_TYPE) eq D
1172 sc >NIL: ver.c objname=o/ver.o nolink $(DEBUG_OPTIONS)
1173 endif
1174 if $(BUILD_TYPE) eq S
1175 sc >NIL: ver.c objname=o/ver.o nolink $(STANDARD_OPTIONS)
1176 endif
1177 if $(BUILD_TYPE) eq E
1178 sc >NIL: ver.c objname=o/ver.o nolink $(ENHANCED_OPTIONS)
1179 endif
1181 @echo "Linking $@..."
1182 @execute <<
1183 if exists $@
1184 list >ENV:sizeold $@ lformat="%l"
1185 else
1186 echo 0 >ENV:sizeold
1187 endif
1189 @slink NOICONS quiet addsym from o/libtag.o o/ver.o lib o/plmain$(o) lib o/plgfx$(o) \
1190 lib o/plboopsi$(o) lib o/plimageclasses$(o) o/plgadgetclasses$(o) \
1191 lib o/plaslclasses$(o) lib o/plgroupclasses$(o) LIB:debug.lib lib lib:sc.lib lib:amiga.lib to $@
1192 -@list >ENV:sizenew $@ lformat="%l"
1193 -@list $@ nohead lformat="Final %n size: %l bytes, `eval $$sizenew-$$sizeold` change.*n"
1195 bumprev:
1196 execute <<
1197 cd o
1198 if exists bgui.library_rev.rev
1199 protect bgui.library_rev.rev rwd
1200 endif
1201 bin/bumprev >NIL: $(ver) bgui.library
1202 protect bgui.library_rev.rev r
1203 cd /
1207 main_o=o/lib$(o) o/libfunc$(o) o/task$(o) o/request$(o) \
1208 o/misc$(o) o/bgui_locale$(o) o/miscasm$(o) o/stkext$(o)
1210 boopsi_o=o/classes$(o) o/dgm$(o) o/rootclass$(o) o/arexxclass$(o)
1212 gfx_o=o/gfx$(o) o/blitter$(o) o/textclass$(o) o/strformat$(o)
1214 group_o=o/windowclass$(o) o/groupclass$(o) o/spacingclass$(o) o/pageclass$(o) \
1215 o/viewclass$(o) o/externalclass$(o)
1217 image_o=o/frameclass$(o) o/labelclass$(o) o/separatorclass$(o) o/vectorclass$(o) o/systemiclass$(o)
1219 gadget_o=o/baseclass$(o) o/areaclass$(o) o/buttonclass$(o) \
1220 o/checkboxclass$(o) o/commodityclass$(o) o/cycleclass$(o) o/indicatorclass$(o) \
1221 o/infoclass$(o) o/listclass$(o) o/mxclass$(o) o/progressclass$(o) o/propclass$(o) \
1222 o/sliderclass$(o) o/stringclass$(o) o/radiobuttonclass$(o)
1224 asl_o=o/aslreqclass$(o) o/filereqclass$(o) o/fontreqclass$(o) o/screenreqclass$(o)
1227 o/plmain$(o): $(main_o)
1228 @echo "Linking $@..."
1229 -@delete QUIET $@
1230 @oml >NIL: $@ add $(main_o)
1231 # $(link) $(main_o) to $@
1233 o/plboopsi$(o): $(boopsi_o)
1234 @echo "Linking $@..."
1235 -@delete QUIET $@
1236 @oml >NIL: $@ add $(boopsi_o)
1237 # $(link) $(boopsi_o) to $@
1239 o/plgfx$(o): $(gfx_o)
1240 @echo "Linking $@..."
1241 -@delete QUIET $@
1242 @oml >NIL: $@ add $(gfx_o)
1243 # $(link) $(gfx_o) to $@
1245 o/plgroupclasses$(o): $(group_o)
1246 @echo "Linking $@..."
1247 -@delete QUIET $@
1248 @oml >NIL: $@ add $(group_o)
1249 # $(link) $(group_o) to $@
1251 o/plimageclasses$(o): $(image_o)
1252 @echo "Linking $@..."
1253 -@delete QUIET $@
1254 @oml >NIL: $@ add $(image_o)
1255 # $(link) $(image_o) to $@
1257 o/plgadgetclasses$(o): $(gadget_o)
1258 @echo "Linking $@..."
1259 -@delete QUIET $@
1260 @oml >NIL: $@ add $(gadget_o)
1261 # $(link) $(gadget_o) to $@
1263 o/plaslclasses$(o): $(asl_o)
1264 @echo "Linking $@..."
1265 @$(link) $(asl_o) to $@
1268 o/libtag.o: libtag.asm
1270 o/lib$(o): lib.c o/bgui.library_rev.h
1271 o/libfunc$(o): libfunc.c
1272 o/task$(o): task.c
1273 o/request$(o): request.c
1274 o/misc$(o): misc.c
1275 o/bgui_locale$(o): bgui_locale.c
1276 o/miscasm$(o): miscasm.asm
1277 o/stkext$(o): stkext.asm
1279 o/classes$(o): classes.c
1280 o/dgm$(o): dgm.c
1281 o/rootclass$(o): rootclass.c
1282 o/arexxclass$(o): arexxclass.c
1284 o/gfx$(o): gfx.c
1285 o/blitter$(o): blitter.c
1286 o/textclass$(o): textclass.c
1287 o/strformat$(o): strformat.c
1289 o/windowclass$(o): windowclass.c
1290 o/groupclass$(o): groupclass.c
1291 o/spacingclass$(o): spacingclass.c
1292 o/pageclass$(o): pageclass.c
1293 o/viewclass$(o): viewclass.c
1294 o/externalclass$(o): externalclass.c
1296 o/frameclass$(o): frameclass.c
1297 o/labelclass$(o): labelclass.c
1298 o/separatorclass$(o): separatorclass.c
1299 o/vectorclass$(o): vectorclass.c
1300 o/systemiclass$(o): systemiclass.c
1302 o/baseclass$(o): baseclass.c
1303 o/areaclass$(o): areaclass.c
1304 o/buttonclass$(o): buttonclass.c
1305 o/checkboxclass$(o): checkboxclass.c
1306 o/commodityclass$(o): commodityclass.c
1307 o/cycleclass$(o): cycleclass.c
1308 o/indicatorclass$(o): indicatorclass.c
1309 o/infoclass$(o): infoclass.c
1310 o/listclass$(o): listclass.c
1311 o/mxclass$(o): mxclass.c
1312 o/progressclass$(o): progressclass.c
1313 o/propclass$(o): propclass.c
1314 o/sliderclass$(o): sliderclass.c
1315 o/stringclass$(o): stringclass.c
1316 o/radiobuttonclass$(o): radiobuttonclass.c
1318 o/aslreqclass$(o): aslreqclass.c
1319 o/filereqclass$(o): filereqclass.c
1320 o/fontreqclass$(o): fontreqclass.c
1321 o/screenreqclass$(o): screenreqclass.c
1323 proto_src=miscasm.asm stkext.asm libfunc.c request.c task.c gfx.c blitter.c misc.c classes.c dgm.c \
1324 textclass.c strformat.c bgui_locale.c lib.c baseclass.c