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
60 !ifeq DEBUG_INFO default
65 !ifeq DEBUG_INFO default
77 !ifeq DEBUG_INFO default
78 __DEBUGINFO_1 = debug all
82 !ifeq DEBUG_INFO default
90 __DEBUGINFO_1 = debug all
94 __OPTIMIZEFLAG_2 = -od
97 __OPTIMIZEFLAG_2 = -ot -ox
100 !ifeq RUNTIME_LIBS dynamic
101 __RUNTIME_LIBS_5 = -br
103 !ifeq RUNTIME_LIBS static
107 !ifeq USE_EXCEPTIONS 0
110 !ifeq USE_EXCEPTIONS 1
111 __EXCEPTIONSFLAG_7 = -xs
116 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_dbgrid.lib
121 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib
127 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_odbc.lib
133 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib
138 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
143 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
148 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
152 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
156 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
160 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
164 LIBDIRNAME = .\..\..\lib\wat_lib$(CFG)
167 LIBDIRNAME = .\..\..\lib\wat_dll$(CFG)
171 __WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
175 !ifeq DEBUG_FLAG default
176 __DEBUG_DEFINE_p = -d__WXDEBUG__
180 __DEBUG_DEFINE_p = -d__WXDEBUG__
184 __UNICODE_DEFINE_p = -d_UNICODE
188 __DLLFLAG_p = -dWXUSINGDLL
193 WX_RELEASE_NODOT = 25
195 wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
197 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
198 DBBROWSE_CXXFLAGS = $(__DEBUGINFO_0) $(__OPTIMIZEFLAG_2) -bm &
199 $(__RUNTIME_LIBS_5) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &
200 $(__UNICODE_DEFINE_p) -i=.\..\..\include -i=$(SETUPHDIR) -i=. $(__DLLFLAG_p) &
201 -i=.\..\..\samples -dNOPCH $(__EXCEPTIONSFLAG_7) $(CPPFLAGS) $(CXXFLAGS)
203 $(OBJS)\dbbrowse_dbbrowse.obj &
204 $(OBJS)\dbbrowse_doc.obj &
205 $(OBJS)\dbbrowse_pgmctrl.obj &
206 $(OBJS)\dbbrowse_tabpgwin.obj &
207 $(OBJS)\dbbrowse_browsedb.obj &
208 $(OBJS)\dbbrowse_dbtree.obj &
209 $(OBJS)\dbbrowse_dbgrid.obj &
210 $(OBJS)\dbbrowse_dlguser.obj
215 -if not exist $(OBJS) mkdir $(OBJS)
219 all : .SYMBOLIC $(OBJS)\dbbrowse.exe data_help_std data_help_png
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)\dbbrowse.exe del $(OBJS)\dbbrowse.exe
228 $(OBJS)\dbbrowse.exe : $(DBBROWSE_OBJECTS) $(OBJS)\dbbrowse_dbbrowse.res
229 @%create $(OBJS)\dbbrowse.lbc
230 @%append $(OBJS)\dbbrowse.lbc option quiet
231 @%append $(OBJS)\dbbrowse.lbc name $^@
232 @%append $(OBJS)\dbbrowse.lbc option caseexact
233 @%append $(OBJS)\dbbrowse.lbc $(LDFLAGS) $(__DEBUGINFO_1) libpath $(LIBDIRNAME) system nt_win ref '_WinMain@16'
234 @for %i in ($(DBBROWSE_OBJECTS)) do @%append $(OBJS)\dbbrowse.lbc file %i
235 @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 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
236 @%append $(OBJS)\dbbrowse.lbc option resource=$(OBJS)\dbbrowse_dbbrowse.res
237 wlink @$(OBJS)\dbbrowse.lbc
239 data_help_std : .SYMBOLIC
240 if not exist $(OBJS)\help.std mkdir $(OBJS)\help.std
241 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
243 data_help_png : .SYMBOLIC
244 if not exist $(OBJS)\help.png mkdir $(OBJS)\help.png
245 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
247 $(OBJS)\dbbrowse_dbbrowse.obj : .AUTODEPEND .\dbbrowse.cpp
248 $(CXX) -zq -fo=$^@ $(DBBROWSE_CXXFLAGS) $<
250 $(OBJS)\dbbrowse_doc.obj : .AUTODEPEND .\doc.cpp
251 $(CXX) -zq -fo=$^@ $(DBBROWSE_CXXFLAGS) $<
253 $(OBJS)\dbbrowse_pgmctrl.obj : .AUTODEPEND .\pgmctrl.cpp
254 $(CXX) -zq -fo=$^@ $(DBBROWSE_CXXFLAGS) $<
256 $(OBJS)\dbbrowse_tabpgwin.obj : .AUTODEPEND .\tabpgwin.cpp
257 $(CXX) -zq -fo=$^@ $(DBBROWSE_CXXFLAGS) $<
259 $(OBJS)\dbbrowse_browsedb.obj : .AUTODEPEND .\browsedb.cpp
260 $(CXX) -zq -fo=$^@ $(DBBROWSE_CXXFLAGS) $<
262 $(OBJS)\dbbrowse_dbtree.obj : .AUTODEPEND .\dbtree.cpp
263 $(CXX) -zq -fo=$^@ $(DBBROWSE_CXXFLAGS) $<
265 $(OBJS)\dbbrowse_dbgrid.obj : .AUTODEPEND .\dbgrid.cpp
266 $(CXX) -zq -fo=$^@ $(DBBROWSE_CXXFLAGS) $<
268 $(OBJS)\dbbrowse_dlguser.obj : .AUTODEPEND .\dlguser.cpp
269 $(CXX) -zq -fo=$^@ $(DBBROWSE_CXXFLAGS) $<
271 $(OBJS)\dbbrowse_dbbrowse.res : .AUTODEPEND .\dbbrowse.rc
272 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 $<