1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.1 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
7 !include <../../build/config.vc>
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
15 DBBROWSE_CXXFLAGS = $(CPPFLAGS) /M$(__RUNTIME_LIBS_7)$(__DEBUGRUNTIME_3) \
16 /DWIN32 $(__DEBUGINFO_0) /Fd$(OBJS)\dbbrowse.pdb $(____DEBUGRUNTIME_2_p) \
17 $(__OPTIMIZEFLAG_4) /D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
18 $(__UNICODE_DEFINE_p) /I.\..\..\include /I$(LIBDIRNAME) /I.\..\..\src\tiff \
19 /I.\..\..\src\jpeg /I.\..\..\src\png /I.\..\..\src\zlib /I.\..\..\src\regex \
20 /I.\..\..\src\expat\lib /I. $(__DLLFLAG_p) /D_WINDOWS $(CXXFLAGS)
22 $(OBJS)\dbbrowse_dbbrowse.obj \
23 $(OBJS)\dbbrowse_doc.obj \
24 $(OBJS)\dbbrowse_pgmctrl.obj \
25 $(OBJS)\dbbrowse_tabpgwin.obj \
26 $(OBJS)\dbbrowse_browsedb.obj \
27 $(OBJS)\dbbrowse_dbtree.obj \
28 $(OBJS)\dbbrowse_dbgrid.obj \
29 $(OBJS)\dbbrowse_dlguser.obj \
30 $(OBJS)\dbbrowse_dbbrowse.res
32 .\..\..\lib\vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
34 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
36 ### Conditionally set variables: ###
38 !if "$(USE_GUI)" == "0"
41 !if "$(USE_GUI)" == "1"
44 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
47 !if "$(DEBUG_FLAG)" == "1"
50 !if "$(SHARED)" == "1"
53 !if "$(UNICODE)" == "1"
56 !if "$(WXUNIV)" == "1"
59 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
62 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
65 !if "$(DEBUG_INFO)" == "0"
68 !if "$(DEBUG_INFO)" == "1"
71 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
72 __DEBUGINFO_1 = /DEBUG
74 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
77 !if "$(DEBUG_INFO)" == "0"
80 !if "$(DEBUG_INFO)" == "1"
81 __DEBUGINFO_1 = /DEBUG
83 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
86 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
89 !if "$(DEBUG_INFO)" == "0"
92 !if "$(DEBUG_INFO)" == "1"
95 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
98 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
101 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
102 __DEBUGRUNTIME_3 = $(__DEBUGINFO_3)
104 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
105 __DEBUG_DEFINE_p = /D__WXDEBUG__
107 !if "$(DEBUG_FLAG)" == "1"
108 __DEBUG_DEFINE_p = /D__WXDEBUG__
110 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
111 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
113 !if "$(DEBUG_FLAG)" == "1"
114 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
116 !if "$(SHARED)" == "1"
117 __DLLFLAG_p = /DWXUSINGDLL
119 !if "$(SHARED)" == "1"
120 __DLLFLAG_p_1 = /d WXUSINGDLL
122 !if "$(USE_GUI)" == "1"
123 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
125 !if "$(USE_GUI)" == "1"
126 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
128 !if "$(USE_GUI)" == "1"
129 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
131 !if "$(BUILD)" == "debug"
132 __OPTIMIZEFLAG_4 = /Od
134 !if "$(BUILD)" == "release"
135 __OPTIMIZEFLAG_4 = /O2
137 !if "$(RUNTIME_LIBS)" == "dynamic"
140 !if "$(RUNTIME_LIBS)" == "static"
143 !if "$(UNICODE)" == "1"
144 __UNICODE_DEFINE_p = /DwxUSE_UNICODE=1
146 !if "$(UNICODE)" == "1"
147 __UNICODE_DEFINE_p_1 = /d wxUSE_UNICODE=1
149 !if "$(MONOLITHIC)" == "0"
151 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_adv.lib
153 !if "$(MONOLITHIC)" == "0"
154 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
156 !if "$(MONOLITHIC)" == "0"
158 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
160 !if "$(MONOLITHIC)" == "0"
162 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html.lib
164 !if "$(MONOLITHIC)" == "1"
166 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
168 !if "$(MONOLITHIC)" == "0"
170 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_odbc.lib
172 !if "$(WXUNIV)" == "1"
173 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
175 !if "$(WXUNIV)" == "1"
176 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
178 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
179 ____DEBUGINFO_2_p = /D_DEBUG
181 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
184 !if "$(DEBUG_INFO)" == "0"
187 !if "$(DEBUG_INFO)" == "1"
188 ____DEBUGINFO_2_p = /D_DEBUG
190 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
191 ____DEBUGINFO_2_p_1 = /d _DEBUG
193 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
194 ____DEBUGINFO_2_p_1 =
196 !if "$(DEBUG_INFO)" == "0"
197 ____DEBUGINFO_2_p_1 =
199 !if "$(DEBUG_INFO)" == "1"
200 ____DEBUGINFO_2_p_1 = /d _DEBUG
202 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
203 ____DEBUGRUNTIME_2_p =
205 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
206 ____DEBUGRUNTIME_2_p = /D_DEBUG
208 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
209 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO_2_p)
211 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
212 ____DEBUGRUNTIME_2_p_1 =
214 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
215 ____DEBUGRUNTIME_2_p_1 = /d _DEBUG
217 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
218 ____DEBUGRUNTIME_2_p_1 = $(____DEBUGINFO_2_p_1)
224 -if not exist $(OBJS) mkdir $(OBJS)
228 all: $(OBJS)\dbbrowse.exe
230 $(OBJS)\dbbrowse_browsedb.obj: .\browsedb.cpp
231 $(CXX) /c /nologo /TP /Fo$@ $(DBBROWSE_CXXFLAGS) $**
233 $(OBJS)\dbbrowse_dbbrowse.obj: .\dbbrowse.cpp
234 $(CXX) /c /nologo /TP /Fo$@ $(DBBROWSE_CXXFLAGS) $**
236 $(OBJS)\dbbrowse_dbbrowse.res: .\dbbrowse.rc
237 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_2_p_1) /d __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) /i .\..\..\include /i $(LIBDIRNAME) /i .\..\..\src\tiff /i .\..\..\src\jpeg /i .\..\..\src\png /i .\..\..\src\zlib /i .\..\..\src\regex /i .\..\..\src\expat\lib /i . $(__DLLFLAG_p_1) /d _WINDOWS $**
239 $(OBJS)\dbbrowse_dbgrid.obj: .\dbgrid.cpp
240 $(CXX) /c /nologo /TP /Fo$@ $(DBBROWSE_CXXFLAGS) $**
242 $(OBJS)\dbbrowse_dbtree.obj: .\dbtree.cpp
243 $(CXX) /c /nologo /TP /Fo$@ $(DBBROWSE_CXXFLAGS) $**
245 $(OBJS)\dbbrowse_dlguser.obj: .\dlguser.cpp
246 $(CXX) /c /nologo /TP /Fo$@ $(DBBROWSE_CXXFLAGS) $**
248 $(OBJS)\dbbrowse_doc.obj: .\doc.cpp
249 $(CXX) /c /nologo /TP /Fo$@ $(DBBROWSE_CXXFLAGS) $**
251 $(OBJS)\dbbrowse_pgmctrl.obj: .\pgmctrl.cpp
252 $(CXX) /c /nologo /TP /Fo$@ $(DBBROWSE_CXXFLAGS) $**
254 $(OBJS)\dbbrowse_tabpgwin.obj: .\tabpgwin.cpp
255 $(CXX) /c /nologo /TP /Fo$@ $(DBBROWSE_CXXFLAGS) $**
258 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
259 -if exist $(OBJS)\*.res del $(OBJS)\*.res
260 -if exist $(OBJS)\dbbrowse.exe del $(OBJS)\dbbrowse.exe
262 $(OBJS)\dbbrowse.exe: $(DBBROWSE_OBJECTS) $(OBJS)\dbbrowse_dbbrowse.res
263 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
264 $(DBBROWSE_OBJECTS) $(__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$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib