]>
Commit | Line | Data |
---|---|---|
2ace0078 VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
aa113d87 | 3 | # Bakefile 0.2.6 (http://www.bakefile.org) |
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 | |
aa113d87 FM |
21 | ! if $(__VERSION__) >= 1280 |
22 | ! loaddll wlink wlinkd | |
23 | ! else | |
2ace0078 | 24 | ! loaddll wlink wlink |
aa113d87 | 25 | ! endif |
2ace0078 VS |
26 | ! loaddll wlib wlibd |
27 | !endif | |
28 | ||
29 | # We need these variables in some bakefile-made rules: | |
30 | WATCOM_CWD = $+ $(%cdrive):$(%cwd) $- | |
31 | ||
32 | ### Conditionally set variables: ### | |
33 | ||
34 | ||
35 | ### Variables: ### | |
36 | ||
b17c1746 | 37 | MAKEARGS = CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" & |
cf9b63b3 | 38 | CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" CPP="$(CPP)" SHARED="$(SHARED)" & |
b17c1746 DE |
39 | WXUNIV="$(WXUNIV)" UNICODE="$(UNICODE)" BUILD="$(BUILD)" & |
40 | DEBUG_INFO="$(DEBUG_INFO)" DEBUG_FLAG="$(DEBUG_FLAG)" & | |
41 | MONOLITHIC="$(MONOLITHIC)" USE_GUI="$(USE_GUI)" USE_HTML="$(USE_HTML)" & | |
3b2cb431 | 42 | USE_MEDIA="$(USE_MEDIA)" USE_XRC="$(USE_XRC)" USE_AUI="$(USE_AUI)" & |
63052a50 FM |
43 | USE_PROPGRID="$(USE_PROPGRID)" USE_RICHTEXT="$(USE_RICHTEXT)" & |
44 | USE_STC="$(USE_STC)" USE_OPENGL="$(USE_OPENGL)" USE_QA="$(USE_QA)" & | |
3b2cb431 | 45 | USE_EXCEPTIONS="$(USE_EXCEPTIONS)" USE_RTTI="$(USE_RTTI)" & |
3abcf424 RD |
46 | USE_THREADS="$(USE_THREADS)" USE_GDIPLUS="$(USE_GDIPLUS)" & |
47 | OFFICIAL_BUILD="$(OFFICIAL_BUILD)" VENDOR="$(VENDOR)" & | |
48 | WX_FLAVOUR="$(WX_FLAVOUR)" WX_LIB_FLAVOUR="$(WX_LIB_FLAVOUR)" CFG="$(CFG)" & | |
c33fae85 RN |
49 | CPPUNIT_CFLAGS="$(CPPUNIT_CFLAGS)" CPPUNIT_LIBS="$(CPPUNIT_LIBS)" & |
50 | RUNTIME_LIBS="$(RUNTIME_LIBS)" | |
2ace0078 VS |
51 | |
52 | ||
53 | ### Targets: ### | |
54 | ||
aa113d87 | 55 | all : .SYMBOLIC emulator execmon helpview hhp2cached ifacecheck screenshotgen wxrc |
2ace0078 VS |
56 | |
57 | clean : .SYMBOLIC | |
58 | -if exist .\*.obj del .\*.obj | |
59 | -if exist .\*.res del .\*.res | |
60 | -if exist .\*.lbc del .\*.lbc | |
61 | -if exist .\*.ilk del .\*.ilk | |
162a956b | 62 | -if exist .\*.pch del .\*.pch |
b92ca8cf VS |
63 | cd emulator\src |
64 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean | |
65 | cd $(WATCOM_CWD) | |
aa113d87 FM |
66 | cd execmon |
67 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean | |
68 | cd $(WATCOM_CWD) | |
b92ca8cf VS |
69 | cd helpview\src |
70 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean | |
71 | cd $(WATCOM_CWD) | |
63052a50 FM |
72 | cd hhp2cached |
73 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean | |
74 | cd $(WATCOM_CWD) | |
5934cda1 FM |
75 | cd ifacecheck\src |
76 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean | |
77 | cd $(WATCOM_CWD) | |
63052a50 FM |
78 | cd screenshotgen\src |
79 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean | |
80 | cd $(WATCOM_CWD) | |
0e0d3ae1 VZ |
81 | cd wxrc |
82 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean | |
83 | cd $(WATCOM_CWD) | |
2ace0078 | 84 | |
e1e61c81 VS |
85 | emulator : .SYMBOLIC |
86 | cd emulator\src | |
87 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all | |
88 | cd $(WATCOM_CWD) | |
89 | ||
aa113d87 FM |
90 | execmon : .SYMBOLIC |
91 | cd execmon | |
92 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all | |
93 | cd $(WATCOM_CWD) | |
94 | ||
e1e61c81 VS |
95 | helpview : .SYMBOLIC |
96 | cd helpview\src | |
97 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all | |
98 | cd $(WATCOM_CWD) | |
99 | ||
63052a50 FM |
100 | hhp2cached : .SYMBOLIC |
101 | cd hhp2cached | |
102 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all | |
103 | cd $(WATCOM_CWD) | |
104 | ||
5934cda1 FM |
105 | ifacecheck : .SYMBOLIC |
106 | cd ifacecheck\src | |
107 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all | |
108 | cd $(WATCOM_CWD) | |
109 | ||
63052a50 FM |
110 | screenshotgen : .SYMBOLIC |
111 | cd screenshotgen\src | |
112 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all | |
113 | cd $(WATCOM_CWD) | |
114 | ||
0e0d3ae1 VZ |
115 | wxrc : .SYMBOLIC |
116 | cd wxrc | |
117 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all | |
118 | cd $(WATCOM_CWD) | |
119 |