| 1 | # ========================================================================= |
| 2 | # This makefile was generated by |
| 3 | # Bakefile 0.1.8 (http://bakefile.sourceforge.net) |
| 4 | # Do not modify, all changes will be overwritten! |
| 5 | # ========================================================================= |
| 6 | |
| 7 | .autodepend |
| 8 | |
| 9 | !ifndef BCCDIR |
| 10 | !ifndef MAKEDIR |
| 11 | !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4 |
| 12 | !endif |
| 13 | BCCDIR = $(MAKEDIR)\.. |
| 14 | !endif |
| 15 | |
| 16 | !include ../../build/msw/config.bcc |
| 17 | |
| 18 | # ------------------------------------------------------------------------- |
| 19 | # Do not modify the rest of this file! |
| 20 | # ------------------------------------------------------------------------- |
| 21 | |
| 22 | ### Variables: ### |
| 23 | |
| 24 | MAKEARGS = -DCC="$(CC)" -DCXX="$(CXX)" -DCFLAGS="$(CFLAGS)" \ |
| 25 | -DCXXFLAGS="$(CXXFLAGS)" -DCPPFLAGS="$(CPPFLAGS)" -DLDFLAGS="$(LDFLAGS)" \ |
| 26 | -DSHARED="$(SHARED)" -DWXUNIV="$(WXUNIV)" -DUNICODE="$(UNICODE)" \ |
| 27 | -DMSLU="$(MSLU)" -DBUILD="$(BUILD)" -DDEBUG_INFO="$(DEBUG_INFO)" \ |
| 28 | -DDEBUG_FLAG="$(DEBUG_FLAG)" -DMONOLITHIC="$(MONOLITHIC)" \ |
| 29 | -DUSE_GUI="$(USE_GUI)" -DUSE_HTML="$(USE_HTML)" -DUSE_XRC="$(USE_XRC)" \ |
| 30 | -DUSE_OPENGL="$(USE_OPENGL)" -DUSE_ODBC="$(USE_ODBC)" -DUSE_QA="$(USE_QA)" \ |
| 31 | -DUSE_EXCEPTIONS="$(USE_EXCEPTIONS)" -DUSE_RTTI="$(USE_RTTI)" \ |
| 32 | -DUSE_THREADS="$(USE_THREADS)" -DOFFICIAL_BUILD="$(OFFICIAL_BUILD)" \ |
| 33 | -DVENDOR="$(VENDOR)" -DWX_FLAVOUR="$(WX_FLAVOUR)" \ |
| 34 | -DWX_LIB_FLAVOUR="$(WX_LIB_FLAVOUR)" -DCFG="$(CFG)" \ |
| 35 | -DCPPUNIT_CFLAGS="$(CPPUNIT_CFLAGS)" -DCPPUNIT_LIBS="$(CPPUNIT_LIBS)" \ |
| 36 | -DRUNTIME_LIBS="$(RUNTIME_LIBS)" |
| 37 | |
| 38 | ### Conditionally set variables: ### |
| 39 | |
| 40 | |
| 41 | |
| 42 | ### Targets: ### |
| 43 | |
| 44 | all: about help helpview printing test virtual widget zip |
| 45 | |
| 46 | clean: |
| 47 | -if exist .\*.obj del .\*.obj |
| 48 | -if exist .\*.res del .\*.res |
| 49 | -if exist .\*.csm del .\*.csm |
| 50 | @echo cd about >about.bat |
| 51 | @echo $(MAKE) -f makefile.bcc $(MAKEARGS) clean >>about.bat |
| 52 | call about.bat |
| 53 | @del about.bat |
| 54 | @echo cd help >help.bat |
| 55 | @echo $(MAKE) -f makefile.bcc $(MAKEARGS) clean >>help.bat |
| 56 | call help.bat |
| 57 | @del help.bat |
| 58 | @echo cd helpview >helpview.bat |
| 59 | @echo $(MAKE) -f makefile.bcc $(MAKEARGS) clean >>helpview.bat |
| 60 | call helpview.bat |
| 61 | @del helpview.bat |
| 62 | @echo cd printing >printing.bat |
| 63 | @echo $(MAKE) -f makefile.bcc $(MAKEARGS) clean >>printing.bat |
| 64 | call printing.bat |
| 65 | @del printing.bat |
| 66 | @echo cd test >test.bat |
| 67 | @echo $(MAKE) -f makefile.bcc $(MAKEARGS) clean >>test.bat |
| 68 | call test.bat |
| 69 | @del test.bat |
| 70 | @echo cd virtual >virtual.bat |
| 71 | @echo $(MAKE) -f makefile.bcc $(MAKEARGS) clean >>virtual.bat |
| 72 | call virtual.bat |
| 73 | @del virtual.bat |
| 74 | @echo cd widget >widget.bat |
| 75 | @echo $(MAKE) -f makefile.bcc $(MAKEARGS) clean >>widget.bat |
| 76 | call widget.bat |
| 77 | @del widget.bat |
| 78 | @echo cd zip >zip.bat |
| 79 | @echo $(MAKE) -f makefile.bcc $(MAKEARGS) clean >>zip.bat |
| 80 | call zip.bat |
| 81 | @del zip.bat |
| 82 | |
| 83 | about: |
| 84 | @echo cd about >about.bat |
| 85 | @echo $(MAKE) -f makefile.bcc $(MAKEARGS) all >>about.bat |
| 86 | call about.bat |
| 87 | @del about.bat |
| 88 | |
| 89 | help: |
| 90 | @echo cd help >help.bat |
| 91 | @echo $(MAKE) -f makefile.bcc $(MAKEARGS) all >>help.bat |
| 92 | call help.bat |
| 93 | @del help.bat |
| 94 | |
| 95 | helpview: |
| 96 | @echo cd helpview >helpview.bat |
| 97 | @echo $(MAKE) -f makefile.bcc $(MAKEARGS) all >>helpview.bat |
| 98 | call helpview.bat |
| 99 | @del helpview.bat |
| 100 | |
| 101 | printing: |
| 102 | @echo cd printing >printing.bat |
| 103 | @echo $(MAKE) -f makefile.bcc $(MAKEARGS) all >>printing.bat |
| 104 | call printing.bat |
| 105 | @del printing.bat |
| 106 | |
| 107 | test: |
| 108 | @echo cd test >test.bat |
| 109 | @echo $(MAKE) -f makefile.bcc $(MAKEARGS) all >>test.bat |
| 110 | call test.bat |
| 111 | @del test.bat |
| 112 | |
| 113 | virtual: |
| 114 | @echo cd virtual >virtual.bat |
| 115 | @echo $(MAKE) -f makefile.bcc $(MAKEARGS) all >>virtual.bat |
| 116 | call virtual.bat |
| 117 | @del virtual.bat |
| 118 | |
| 119 | widget: |
| 120 | @echo cd widget >widget.bat |
| 121 | @echo $(MAKE) -f makefile.bcc $(MAKEARGS) all >>widget.bat |
| 122 | call widget.bat |
| 123 | @del widget.bat |
| 124 | |
| 125 | zip: |
| 126 | @echo cd zip >zip.bat |
| 127 | @echo $(MAKE) -f makefile.bcc $(MAKEARGS) all >>zip.bat |
| 128 | call zip.bat |
| 129 | @del zip.bat |
| 130 | |