1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.4 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
7 !include ../../build/msw/config.wat
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
13 # Speed up compilation a bit:
16 ! loaddll wccaxp wccdaxp
17 ! loaddll wcc386 wccd386
19 ! loaddll wppaxp wppdaxp
20 ! loaddll wpp386 wppd386
25 # We need these variables in some bakefile-made rules:
26 WATCOM_CWD = $+ $(%cdrive):$(%cwd) $-
28 ### Conditionally set variables: ###
39 !ifeq DEBUG_FLAG default
65 __dbbrowse___depname =
67 __dbbrowse___depname = $(OBJS)\dbbrowse.exe
71 !ifeq DEBUG_INFO default
76 !ifeq DEBUG_INFO default
88 !ifeq DEBUG_INFO default
89 __DEBUGINFO_1 = debug all
93 !ifeq DEBUG_INFO default
101 __DEBUGINFO_1 = debug all
105 __OPTIMIZEFLAG_2 = -od
108 __OPTIMIZEFLAG_2 = -ot -ox
111 !ifeq RUNTIME_LIBS dynamic
112 __RUNTIME_LIBS_5 = -br
114 !ifeq RUNTIME_LIBS static
118 !ifeq USE_EXCEPTIONS 0
121 !ifeq USE_EXCEPTIONS 1
122 __EXCEPTIONSFLAG_7 = -xs
127 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_dbgrid.lib
132 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib
138 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_odbc.lib
144 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib
149 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
154 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
159 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
163 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
167 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
171 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
175 LIBDIRNAME = .\..\..\lib\wat_lib$(CFG)
178 LIBDIRNAME = .\..\..\lib\wat_dll$(CFG)
182 __WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
186 !ifeq DEBUG_FLAG default
187 __DEBUG_DEFINE_p = -d__WXDEBUG__
191 __DEBUG_DEFINE_p = -d__WXDEBUG__
195 __UNICODE_DEFINE_p = -d_UNICODE
199 __DLLFLAG_p = -dWXUSINGDLL
204 WX_RELEASE_NODOT = 25
206 wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
208 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
209 DBBROWSE_CXXFLAGS = $(__DEBUGINFO_0) $(__OPTIMIZEFLAG_2) -bm &
210 $(__RUNTIME_LIBS_5) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
211 $(__UNICODE_DEFINE_p) -i=.\..\..\include -i=$(SETUPHDIR) -wcd=549 -wcd=656 &
212 -wcd=657 -i=. $(__DLLFLAG_p) -i=.\..\..\samples -dNOPCH $(__EXCEPTIONSFLAG_7) &
213 $(CPPFLAGS) $(CXXFLAGS)
215 $(OBJS)\dbbrowse_dbbrowse.obj &
216 $(OBJS)\dbbrowse_doc.obj &
217 $(OBJS)\dbbrowse_pgmctrl.obj &
218 $(OBJS)\dbbrowse_tabpgwin.obj &
219 $(OBJS)\dbbrowse_browsedb.obj &
220 $(OBJS)\dbbrowse_dbtree.obj &
221 $(OBJS)\dbbrowse_dbgrid.obj &
222 $(OBJS)\dbbrowse_dlguser.obj
227 -if not exist $(OBJS) mkdir $(OBJS)
231 all : .SYMBOLIC $(__dbbrowse___depname) data_help_std data_help_png
234 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
235 -if exist $(OBJS)\*.res del $(OBJS)\*.res
236 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
237 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
238 -if exist $(OBJS)\dbbrowse.exe del $(OBJS)\dbbrowse.exe
241 $(OBJS)\dbbrowse.exe : $(DBBROWSE_OBJECTS) $(OBJS)\dbbrowse_dbbrowse.res
242 @%create $(OBJS)\dbbrowse.lbc
243 @%append $(OBJS)\dbbrowse.lbc option quiet
244 @%append $(OBJS)\dbbrowse.lbc name $^@
245 @%append $(OBJS)\dbbrowse.lbc option caseexact
246 @%append $(OBJS)\dbbrowse.lbc $(LDFLAGS) $(__DEBUGINFO_1) libpath $(LIBDIRNAME) system nt_win ref '_WinMain@16'
247 @for %i in ($(DBBROWSE_OBJECTS)) do @%append $(OBJS)\dbbrowse.lbc file %i
248 @for %i in ( $(__WXLIB_DBGRID_p) $(__WXLIB_ADV_p) $(__WXLIB_ODBC_p) $(__WXLIB_HTML_p) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) 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)\dbbrowse.lbc library %i
249 @%append $(OBJS)\dbbrowse.lbc option resource=$(OBJS)\dbbrowse_dbbrowse.res
250 wlink @$(OBJS)\dbbrowse.lbc
253 data_help_std : .SYMBOLIC
254 if not exist $(OBJS)\help.std mkdir $(OBJS)\help.std
255 for %f in (compiler.htm dbbrowse.hhc dbbrowse.hhk dbbrowse.hhp dbbrowse.htm getcol.htm getcolsh.htm icons.htm picgrams.htm problems.htm remstar.htm sample.htm startprm.htm todo.htm wxdb.htm wxtable.htm) do if not exist $(OBJS)\help.std\%f copy .\help.std\%f $(OBJS)\help.std
257 data_help_png : .SYMBOLIC
258 if not exist $(OBJS)\help.png mkdir $(OBJS)\help.png
259 for %f in (col.png d_closed.png d_open.png dsn.png dsnclose.png dsnopen.png f_closed.png f_open.png gnu.png gtk.png imbau.png kde.png key.png keyf.png linux.png logo.png motif.png msvc.png odbc.png pgmctrl.png redh.png remstar.png server.png suse.png tab.png view.png winnt.png wins.png) do if not exist $(OBJS)\help.png\%f copy .\help.png\%f $(OBJS)\help.png
261 $(OBJS)\dbbrowse_dbbrowse.obj : .AUTODEPEND .\dbbrowse.cpp
262 $(CXX) -zq -fo=$^@ $(DBBROWSE_CXXFLAGS) $<
264 $(OBJS)\dbbrowse_doc.obj : .AUTODEPEND .\doc.cpp
265 $(CXX) -zq -fo=$^@ $(DBBROWSE_CXXFLAGS) $<
267 $(OBJS)\dbbrowse_pgmctrl.obj : .AUTODEPEND .\pgmctrl.cpp
268 $(CXX) -zq -fo=$^@ $(DBBROWSE_CXXFLAGS) $<
270 $(OBJS)\dbbrowse_tabpgwin.obj : .AUTODEPEND .\tabpgwin.cpp
271 $(CXX) -zq -fo=$^@ $(DBBROWSE_CXXFLAGS) $<
273 $(OBJS)\dbbrowse_browsedb.obj : .AUTODEPEND .\browsedb.cpp
274 $(CXX) -zq -fo=$^@ $(DBBROWSE_CXXFLAGS) $<
276 $(OBJS)\dbbrowse_dbtree.obj : .AUTODEPEND .\dbtree.cpp
277 $(CXX) -zq -fo=$^@ $(DBBROWSE_CXXFLAGS) $<
279 $(OBJS)\dbbrowse_dbgrid.obj : .AUTODEPEND .\dbgrid.cpp
280 $(CXX) -zq -fo=$^@ $(DBBROWSE_CXXFLAGS) $<
282 $(OBJS)\dbbrowse_dlguser.obj : .AUTODEPEND .\dlguser.cpp
283 $(CXX) -zq -fo=$^@ $(DBBROWSE_CXXFLAGS) $<
285 $(OBJS)\dbbrowse_dbbrowse.res : .AUTODEPEND .\dbbrowse.rc
286 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 -dNOPCH $<