]>
Commit | Line | Data |
---|---|---|
2ace0078 VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
63052a50 | 3 | # Bakefile 0.2.4 (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 | |
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)" & | |
3b2cb431 | 38 | USE_MEDIA="$(USE_MEDIA)" USE_XRC="$(USE_XRC)" USE_AUI="$(USE_AUI)" & |
63052a50 FM |
39 | USE_PROPGRID="$(USE_PROPGRID)" USE_RICHTEXT="$(USE_RICHTEXT)" & |
40 | USE_STC="$(USE_STC)" USE_OPENGL="$(USE_OPENGL)" USE_QA="$(USE_QA)" & | |
3b2cb431 | 41 | USE_EXCEPTIONS="$(USE_EXCEPTIONS)" USE_RTTI="$(USE_RTTI)" & |
3abcf424 RD |
42 | USE_THREADS="$(USE_THREADS)" USE_GDIPLUS="$(USE_GDIPLUS)" & |
43 | OFFICIAL_BUILD="$(OFFICIAL_BUILD)" VENDOR="$(VENDOR)" & | |
44 | WX_FLAVOUR="$(WX_FLAVOUR)" WX_LIB_FLAVOUR="$(WX_LIB_FLAVOUR)" CFG="$(CFG)" & | |
c33fae85 RN |
45 | CPPUNIT_CFLAGS="$(CPPUNIT_CFLAGS)" CPPUNIT_LIBS="$(CPPUNIT_LIBS)" & |
46 | RUNTIME_LIBS="$(RUNTIME_LIBS)" | |
2ace0078 VS |
47 | |
48 | ||
49 | ### Targets: ### | |
50 | ||
63052a50 | 51 | all : .SYMBOLIC emulator helpview hhp2cached ifacecheck screenshotgen |
2ace0078 VS |
52 | |
53 | clean : .SYMBOLIC | |
54 | -if exist .\*.obj del .\*.obj | |
55 | -if exist .\*.res del .\*.res | |
56 | -if exist .\*.lbc del .\*.lbc | |
57 | -if exist .\*.ilk del .\*.ilk | |
162a956b | 58 | -if exist .\*.pch del .\*.pch |
b92ca8cf VS |
59 | cd emulator\src |
60 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean | |
61 | cd $(WATCOM_CWD) | |
62 | cd helpview\src | |
63 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean | |
64 | cd $(WATCOM_CWD) | |
63052a50 FM |
65 | cd hhp2cached |
66 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean | |
67 | cd $(WATCOM_CWD) | |
5934cda1 FM |
68 | cd ifacecheck\src |
69 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean | |
70 | cd $(WATCOM_CWD) | |
63052a50 FM |
71 | cd screenshotgen\src |
72 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean | |
73 | cd $(WATCOM_CWD) | |
2ace0078 | 74 | |
e1e61c81 VS |
75 | emulator : .SYMBOLIC |
76 | cd emulator\src | |
77 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all | |
78 | cd $(WATCOM_CWD) | |
79 | ||
e1e61c81 VS |
80 | helpview : .SYMBOLIC |
81 | cd helpview\src | |
82 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all | |
83 | cd $(WATCOM_CWD) | |
84 | ||
63052a50 FM |
85 | hhp2cached : .SYMBOLIC |
86 | cd hhp2cached | |
87 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all | |
88 | cd $(WATCOM_CWD) | |
89 | ||
5934cda1 FM |
90 | ifacecheck : .SYMBOLIC |
91 | cd ifacecheck\src | |
92 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all | |
93 | cd $(WATCOM_CWD) | |
94 | ||
63052a50 FM |
95 | screenshotgen : .SYMBOLIC |
96 | cd screenshotgen\src | |
97 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all | |
98 | cd $(WATCOM_CWD) | |
99 |