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