]> git.saurik.com Git - wxWidgets.git/blame - utils/configtool/src/makefile.wat
remove unfinished impl
[wxWidgets.git] / utils / configtool / src / makefile.wat
CommitLineData
4b20974a
VS
1# =========================================================================
2# This makefile was generated by
c4839ccf 3# Bakefile 0.1.4 (http://bakefile.sourceforge.net)
4b20974a
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:
26WATCOM_CWD = $+ $(%cdrive):$(%cwd) $-
27
28### Conditionally set variables: ###
29
4b20974a
VS
30PORTNAME =
31!ifeq USE_GUI 0
32PORTNAME = base
33!endif
34!ifeq USE_GUI 1
35PORTNAME = msw
36!endif
37WXDEBUGFLAG =
38!ifeq BUILD debug
39!ifeq DEBUG_FLAG default
40WXDEBUGFLAG = d
41!endif
42!endif
43!ifeq DEBUG_FLAG 1
44WXDEBUGFLAG = d
45!endif
4b20974a
VS
46WXUNICODEFLAG =
47!ifeq UNICODE 1
48WXUNICODEFLAG = u
49!endif
50WXUNIVNAME =
51!ifeq WXUNIV 1
52WXUNIVNAME = univ
53!endif
b17c1746
DE
54WXDLLFLAG =
55!ifeq SHARED 1
56WXDLLFLAG = dll
57!endif
4b20974a
VS
58__DEBUGINFO_0 =
59!ifeq BUILD debug
60!ifeq DEBUG_INFO default
61__DEBUGINFO_0 = -d2
62!endif
63!endif
64!ifeq BUILD release
65!ifeq DEBUG_INFO default
66__DEBUGINFO_0 = -d0
67!endif
68!endif
69!ifeq DEBUG_INFO 0
70__DEBUGINFO_0 = -d0
71!endif
72!ifeq DEBUG_INFO 1
73__DEBUGINFO_0 = -d2
74!endif
75__DEBUGINFO_1 =
76!ifeq BUILD debug
77!ifeq DEBUG_INFO default
78__DEBUGINFO_1 = debug all
79!endif
80!endif
81!ifeq BUILD release
82!ifeq DEBUG_INFO default
83__DEBUGINFO_1 =
84!endif
85!endif
86!ifeq DEBUG_INFO 0
87__DEBUGINFO_1 =
88!endif
89!ifeq DEBUG_INFO 1
90__DEBUGINFO_1 = debug all
91!endif
4b20974a
VS
92__OPTIMIZEFLAG_2 =
93!ifeq BUILD debug
94__OPTIMIZEFLAG_2 = -od
95!endif
96!ifeq BUILD release
97__OPTIMIZEFLAG_2 = -ot -ox
98!endif
99__RUNTIME_LIBS_5 =
100!ifeq RUNTIME_LIBS dynamic
101__RUNTIME_LIBS_5 = -br
102!endif
103!ifeq RUNTIME_LIBS static
104__RUNTIME_LIBS_5 =
105!endif
b17c1746
DE
106__EXCEPTIONSFLAG_7 =
107!ifeq USE_EXCEPTIONS 0
108__EXCEPTIONSFLAG_7 =
109!endif
110!ifeq USE_EXCEPTIONS 1
111__EXCEPTIONSFLAG_7 = -xs
4b20974a
VS
112!endif
113__WXLIB_ADV_p =
114!ifeq MONOLITHIC 0
115__WXLIB_ADV_p = &
c33fae85 116 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib
4b20974a 117!endif
b17c1746 118__WXLIB_HTML_p =
4b20974a 119!ifeq MONOLITHIC 0
b17c1746 120__WXLIB_HTML_p = &
c33fae85 121 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib
4b20974a
VS
122!endif
123__WXLIB_CORE_p =
124!ifeq MONOLITHIC 0
125__WXLIB_CORE_p = &
c33fae85 126 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
4b20974a 127!endif
b17c1746 128__WXLIB_XML_p =
4b20974a 129!ifeq MONOLITHIC 0
c33fae85
RN
130__WXLIB_XML_p = &
131 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml.lib
b17c1746
DE
132!endif
133__WXLIB_BASE_p =
134!ifeq MONOLITHIC 0
c33fae85
RN
135__WXLIB_BASE_p = &
136 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
4b20974a
VS
137!endif
138__WXLIB_MONO_p =
139!ifeq MONOLITHIC 1
140__WXLIB_MONO_p = &
c33fae85 141 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
4b20974a 142!endif
b17c1746
DE
143__LIB_TIFF_p =
144!ifeq USE_GUI 1
c33fae85 145__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib
b17c1746
DE
146!endif
147__LIB_JPEG_p =
148!ifeq USE_GUI 1
c33fae85 149__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib
b17c1746
DE
150!endif
151__LIB_PNG_p =
152!ifeq USE_GUI 1
c33fae85 153__LIB_PNG_p = wxpng$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib
b17c1746
DE
154!endif
155LIBDIRNAME =
156!ifeq SHARED 0
157LIBDIRNAME = .\..\..\..\lib\wat_lib$(CFG)
158!endif
159!ifeq SHARED 1
160LIBDIRNAME = .\..\..\..\lib\wat_dll$(CFG)
4b20974a
VS
161!endif
162__WXUNIV_DEFINE_p =
163!ifeq WXUNIV 1
164__WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
165!endif
b17c1746
DE
166__DEBUG_DEFINE_p =
167!ifeq BUILD debug
168!ifeq DEBUG_FLAG default
169__DEBUG_DEFINE_p = -d__WXDEBUG__
170!endif
171!endif
172!ifeq DEBUG_FLAG 1
173__DEBUG_DEFINE_p = -d__WXDEBUG__
174!endif
175__UNICODE_DEFINE_p =
176!ifeq UNICODE 1
177__UNICODE_DEFINE_p = -d_UNICODE
178!endif
179__DLLFLAG_p =
180!ifeq SHARED 1
181__DLLFLAG_p = -dWXUSINGDLL
182!endif
4b20974a
VS
183
184### Variables: ###
185
c33fae85 186WX_RELEASE_NODOT = 25
4b20974a
VS
187OBJS = &
188 wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
189SETUPHDIR = &
190 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
9bfe7ad9 191WXCONFIGTOOL_CXXFLAGS = $(__DEBUGINFO_0) $(__OPTIMIZEFLAG_2) -bm &
4b20974a
VS
192 $(__RUNTIME_LIBS_5) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
193 $(__UNICODE_DEFINE_p) -i=.\..\..\..\include -i=$(SETUPHDIR) -i=. &
c33fae85
RN
194 $(__DLLFLAG_p) -i=.\..\..\..\samples -dNOPCH $(__EXCEPTIONSFLAG_7) &
195 $(CPPFLAGS) $(CXXFLAGS)
4b20974a
VS
196WXCONFIGTOOL_OBJECTS = &
197 $(OBJS)\wxconfigtool_wxconfigtool.obj &
198 $(OBJS)\wxconfigtool_appsettings.obj &
199 $(OBJS)\wxconfigtool_configitem.obj &
200 $(OBJS)\wxconfigtool_configitemselector.obj &
201 $(OBJS)\wxconfigtool_configtooldoc.obj &
202 $(OBJS)\wxconfigtool_configtoolview.obj &
203 $(OBJS)\wxconfigtool_configtree.obj &
204 $(OBJS)\wxconfigtool_custompropertydialog.obj &
205 $(OBJS)\wxconfigtool_htmlparser.obj &
206 $(OBJS)\wxconfigtool_mainframe.obj &
207 $(OBJS)\wxconfigtool_propeditor.obj &
208 $(OBJS)\wxconfigtool_property.obj &
209 $(OBJS)\wxconfigtool_settingsdialog.obj &
210 $(OBJS)\wxconfigtool_utils.obj
211
212
213all : $(OBJS)
214$(OBJS) :
215 -if not exist $(OBJS) mkdir $(OBJS)
216
217### Targets: ###
218
219all : .SYMBOLIC $(OBJS)\wxconfigtool.exe data
220
b17c1746
DE
221clean : .SYMBOLIC
222 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
223 -if exist $(OBJS)\*.res del $(OBJS)\*.res
224 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
225 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
226 -if exist $(OBJS)\wxconfigtool.exe del $(OBJS)\wxconfigtool.exe
227
228$(OBJS)\wxconfigtool.exe : $(WXCONFIGTOOL_OBJECTS) $(OBJS)\wxconfigtool_sample.res
229 @%create $(OBJS)\wxconfigtool.lbc
230 @%append $(OBJS)\wxconfigtool.lbc option quiet
231 @%append $(OBJS)\wxconfigtool.lbc name $^@
232 @%append $(OBJS)\wxconfigtool.lbc option caseexact
233 @%append $(OBJS)\wxconfigtool.lbc $(LDFLAGS) $(__DEBUGINFO_1) libpath $(LIBDIRNAME) system nt_win ref '_WinMain@16'
234 @for %i in ($(WXCONFIGTOOL_OBJECTS)) do @%append $(OBJS)\wxconfigtool.lbc file %i
c33fae85 235 @for %i in ( $(__WXLIB_ADV_p) $(__WXLIB_HTML_p) $(__WXLIB_CORE_p) $(__WXLIB_XML_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib wxexpat$(WXDEBUGFLAG)$(WX_RELEASE_NODOT).lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib ) do @%append $(OBJS)\wxconfigtool.lbc library %i
b17c1746
DE
236 @%append $(OBJS)\wxconfigtool.lbc option resource=$(OBJS)\wxconfigtool_sample.res
237 wlink @$(OBJS)\wxconfigtool.lbc
238
239data : .SYMBOLIC
240 if not exist $(OBJS) mkdir $(OBJS)
241 for %f in (wxwin250.wxs) do if not exist $(OBJS)\%f copy .\..\configs\%f $(OBJS)
242
243$(OBJS)\wxconfigtool_sample.res : .AUTODEPEND .\..\..\..\samples\sample.rc
244 wrc -q -ad -bt=nt -r -fo=$^@ -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -i=.\..\..\..\include -i=$(SETUPHDIR) -i=. $(__DLLFLAG_p) -i=.\..\..\..\samples $<
245
246$(OBJS)\wxconfigtool_wxconfigtool.obj : .AUTODEPEND .\wxconfigtool.cpp
247 $(CXX) -zq -fo=$^@ $(WXCONFIGTOOL_CXXFLAGS) $<
248
4b20974a
VS
249$(OBJS)\wxconfigtool_appsettings.obj : .AUTODEPEND .\appsettings.cpp
250 $(CXX) -zq -fo=$^@ $(WXCONFIGTOOL_CXXFLAGS) $<
251
252$(OBJS)\wxconfigtool_configitem.obj : .AUTODEPEND .\configitem.cpp
253 $(CXX) -zq -fo=$^@ $(WXCONFIGTOOL_CXXFLAGS) $<
254
255$(OBJS)\wxconfigtool_configitemselector.obj : .AUTODEPEND .\configitemselector.cpp
256 $(CXX) -zq -fo=$^@ $(WXCONFIGTOOL_CXXFLAGS) $<
257
258$(OBJS)\wxconfigtool_configtooldoc.obj : .AUTODEPEND .\configtooldoc.cpp
259 $(CXX) -zq -fo=$^@ $(WXCONFIGTOOL_CXXFLAGS) $<
260
261$(OBJS)\wxconfigtool_configtoolview.obj : .AUTODEPEND .\configtoolview.cpp
262 $(CXX) -zq -fo=$^@ $(WXCONFIGTOOL_CXXFLAGS) $<
263
264$(OBJS)\wxconfigtool_configtree.obj : .AUTODEPEND .\configtree.cpp
265 $(CXX) -zq -fo=$^@ $(WXCONFIGTOOL_CXXFLAGS) $<
266
267$(OBJS)\wxconfigtool_custompropertydialog.obj : .AUTODEPEND .\custompropertydialog.cpp
268 $(CXX) -zq -fo=$^@ $(WXCONFIGTOOL_CXXFLAGS) $<
269
270$(OBJS)\wxconfigtool_htmlparser.obj : .AUTODEPEND .\htmlparser.cpp
271 $(CXX) -zq -fo=$^@ $(WXCONFIGTOOL_CXXFLAGS) $<
272
273$(OBJS)\wxconfigtool_mainframe.obj : .AUTODEPEND .\mainframe.cpp
274 $(CXX) -zq -fo=$^@ $(WXCONFIGTOOL_CXXFLAGS) $<
275
276$(OBJS)\wxconfigtool_propeditor.obj : .AUTODEPEND .\propeditor.cpp
277 $(CXX) -zq -fo=$^@ $(WXCONFIGTOOL_CXXFLAGS) $<
278
279$(OBJS)\wxconfigtool_property.obj : .AUTODEPEND .\property.cpp
280 $(CXX) -zq -fo=$^@ $(WXCONFIGTOOL_CXXFLAGS) $<
281
4b20974a
VS
282$(OBJS)\wxconfigtool_settingsdialog.obj : .AUTODEPEND .\settingsdialog.cpp
283 $(CXX) -zq -fo=$^@ $(WXCONFIGTOOL_CXXFLAGS) $<
284
285$(OBJS)\wxconfigtool_utils.obj : .AUTODEPEND .\utils.cpp
286 $(CXX) -zq -fo=$^@ $(WXCONFIGTOOL_CXXFLAGS) $<