]>
Commit | Line | Data |
---|---|---|
1 | # ========================================================================= | |
2 | # This makefile was generated by | |
3 | # Bakefile 0.2.6 (http://www.bakefile.org) | |
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 | ! if $(__VERSION__) >= 1280 | |
22 | ! loaddll wlink wlinkd | |
23 | ! else | |
24 | ! loaddll wlink wlink | |
25 | ! endif | |
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 | ||
37 | MAKEARGS = CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" & | |
38 | CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" CPP="$(CPP)" SHARED="$(SHARED)" & | |
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)" & | |
42 | USE_MEDIA="$(USE_MEDIA)" USE_XRC="$(USE_XRC)" USE_AUI="$(USE_AUI)" & | |
43 | USE_PROPGRID="$(USE_PROPGRID)" USE_RICHTEXT="$(USE_RICHTEXT)" & | |
44 | USE_STC="$(USE_STC)" USE_OPENGL="$(USE_OPENGL)" USE_QA="$(USE_QA)" & | |
45 | USE_EXCEPTIONS="$(USE_EXCEPTIONS)" USE_RTTI="$(USE_RTTI)" & | |
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)" & | |
49 | CPPUNIT_CFLAGS="$(CPPUNIT_CFLAGS)" CPPUNIT_LIBS="$(CPPUNIT_LIBS)" & | |
50 | RUNTIME_LIBS="$(RUNTIME_LIBS)" | |
51 | ||
52 | ||
53 | ### Targets: ### | |
54 | ||
55 | all : .SYMBOLIC emulator execmon helpview hhp2cached ifacecheck screenshotgen wxrc | |
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 | |
62 | -if exist .\*.pch del .\*.pch | |
63 | cd emulator\src | |
64 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean | |
65 | cd $(WATCOM_CWD) | |
66 | cd execmon | |
67 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean | |
68 | cd $(WATCOM_CWD) | |
69 | cd helpview\src | |
70 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean | |
71 | cd $(WATCOM_CWD) | |
72 | cd hhp2cached | |
73 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean | |
74 | cd $(WATCOM_CWD) | |
75 | cd ifacecheck\src | |
76 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean | |
77 | cd $(WATCOM_CWD) | |
78 | cd screenshotgen\src | |
79 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean | |
80 | cd $(WATCOM_CWD) | |
81 | cd wxrc | |
82 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean | |
83 | cd $(WATCOM_CWD) | |
84 | ||
85 | emulator : .SYMBOLIC | |
86 | cd emulator\src | |
87 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all | |
88 | cd $(WATCOM_CWD) | |
89 | ||
90 | execmon : .SYMBOLIC | |
91 | cd execmon | |
92 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all | |
93 | cd $(WATCOM_CWD) | |
94 | ||
95 | helpview : .SYMBOLIC | |
96 | cd helpview\src | |
97 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all | |
98 | cd $(WATCOM_CWD) | |
99 | ||
100 | hhp2cached : .SYMBOLIC | |
101 | cd hhp2cached | |
102 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all | |
103 | cd $(WATCOM_CWD) | |
104 | ||
105 | ifacecheck : .SYMBOLIC | |
106 | cd ifacecheck\src | |
107 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all | |
108 | cd $(WATCOM_CWD) | |
109 | ||
110 | screenshotgen : .SYMBOLIC | |
111 | cd screenshotgen\src | |
112 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all | |
113 | cd $(WATCOM_CWD) | |
114 | ||
115 | wxrc : .SYMBOLIC | |
116 | cd wxrc | |
117 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all | |
118 | cd $(WATCOM_CWD) | |
119 |