]>
Commit | Line | Data |
---|---|---|
2ace0078 VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
cf9b63b3 | 3 | # Bakefile 0.2.0 (http://bakefile.sourceforge.net) |
2ace0078 VS |
4 | # Do not modify, all changes will be overwritten! |
5 | # ========================================================================= | |
6 | ||
7 | !include ../build/msw/config.wat | |
8 | ||
9 | # ------------------------------------------------------------------------- | |
10 | # Do not modify the rest of this file! | |
11 | # ------------------------------------------------------------------------- | |
12 | ||
13 | # Speed up compilation a bit: | |
14 | !ifdef __LOADDLL__ | |
15 | ! loaddll wcc wccd | |
16 | ! loaddll wccaxp wccdaxp | |
17 | ! loaddll wcc386 wccd386 | |
18 | ! loaddll wpp wppdi86 | |
19 | ! loaddll wppaxp wppdaxp | |
20 | ! loaddll wpp386 wppd386 | |
21 | ! loaddll wlink wlink | |
22 | ! loaddll wlib wlibd | |
23 | !endif | |
24 | ||
25 | # We need these variables in some bakefile-made rules: | |
26 | WATCOM_CWD = $+ $(%cdrive):$(%cwd) $- | |
27 | ||
28 | ### Conditionally set variables: ### | |
29 | ||
30 | ||
31 | ### Variables: ### | |
32 | ||
b17c1746 | 33 | MAKEARGS = CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" & |
cf9b63b3 | 34 | CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" CPP="$(CPP)" SHARED="$(SHARED)" & |
b17c1746 DE |
35 | WXUNIV="$(WXUNIV)" UNICODE="$(UNICODE)" BUILD="$(BUILD)" & |
36 | DEBUG_INFO="$(DEBUG_INFO)" DEBUG_FLAG="$(DEBUG_FLAG)" & | |
37 | MONOLITHIC="$(MONOLITHIC)" USE_GUI="$(USE_GUI)" USE_HTML="$(USE_HTML)" & | |
c33fae85 | 38 | USE_XRC="$(USE_XRC)" USE_OPENGL="$(USE_OPENGL)" USE_ODBC="$(USE_ODBC)" & |
8c9f8f91 JS |
39 | USE_QA="$(USE_QA)" USE_EXCEPTIONS="$(USE_EXCEPTIONS)" & |
40 | USE_RTTI="$(USE_RTTI)" USE_THREADS="$(USE_THREADS)" & | |
41 | OFFICIAL_BUILD="$(OFFICIAL_BUILD)" VENDOR="$(VENDOR)" & | |
42 | WX_FLAVOUR="$(WX_FLAVOUR)" WX_LIB_FLAVOUR="$(WX_LIB_FLAVOUR)" CFG="$(CFG)" & | |
c33fae85 RN |
43 | CPPUNIT_CFLAGS="$(CPPUNIT_CFLAGS)" CPPUNIT_LIBS="$(CPPUNIT_LIBS)" & |
44 | RUNTIME_LIBS="$(RUNTIME_LIBS)" | |
2ace0078 VS |
45 | |
46 | ||
47 | ### Targets: ### | |
48 | ||
e1e61c81 | 49 | all : .SYMBOLIC configtool emulator helpview tex2rtf helpgen |
2ace0078 VS |
50 | |
51 | clean : .SYMBOLIC | |
52 | -if exist .\*.obj del .\*.obj | |
53 | -if exist .\*.res del .\*.res | |
54 | -if exist .\*.lbc del .\*.lbc | |
55 | -if exist .\*.ilk del .\*.ilk | |
162a956b | 56 | -if exist .\*.pch del .\*.pch |
b92ca8cf VS |
57 | cd configtool\src |
58 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean | |
59 | cd $(WATCOM_CWD) | |
60 | cd emulator\src | |
61 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean | |
62 | cd $(WATCOM_CWD) | |
63 | cd helpview\src | |
64 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean | |
65 | cd $(WATCOM_CWD) | |
66 | cd tex2rtf\src | |
67 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean | |
68 | cd $(WATCOM_CWD) | |
69 | cd HelpGen | |
70 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean | |
71 | cd $(WATCOM_CWD) | |
2ace0078 | 72 | |
e1e61c81 VS |
73 | configtool : .SYMBOLIC |
74 | cd configtool\src | |
75 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all | |
76 | cd $(WATCOM_CWD) | |
77 | ||
78 | emulator : .SYMBOLIC | |
79 | cd emulator\src | |
80 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all | |
81 | cd $(WATCOM_CWD) | |
82 | ||
e1e61c81 VS |
83 | helpview : .SYMBOLIC |
84 | cd helpview\src | |
85 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all | |
86 | cd $(WATCOM_CWD) | |
87 | ||
2ace0078 VS |
88 | tex2rtf : .SYMBOLIC |
89 | cd tex2rtf\src | |
90 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all | |
91 | cd $(WATCOM_CWD) | |
b17c1746 DE |
92 | |
93 | helpgen : .SYMBOLIC | |
94 | cd HelpGen | |
95 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all | |
96 | cd $(WATCOM_CWD) | |
162a956b | 97 |