1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.0 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
7 .LONGCOMMANDLINE: dmc link lib smake
9 !include ../../build/msw/config.dms
11 # -------------------------------------------------------------------------
12 # Do not modify the rest of this file!
13 # -------------------------------------------------------------------------
15 ### Conditionally set variables: ###
17 !if "$(USE_GUI)" == "0"
20 !if "$(USE_GUI)" == "1"
23 !if "$(BUILD)" == "debug"
24 !if "$(DEBUG_FLAG)" == "default"
28 !if "$(DEBUG_FLAG)" == "1"
31 !if "$(UNICODE)" == "1"
34 !if "$(WXUNIV)" == "1"
37 !if "$(SHARED)" == "1"
40 !if "$(SHARED)" == "0"
43 !if "$(SHARED)" == "1"
46 !if "$(MONOLITHIC)" == "0"
49 !if "$(MONOLITHIC)" == "1"
52 !if "$(BUILD)" == "debug"
53 !if "$(DEBUG_INFO)" == "default"
57 !if "$(BUILD)" == "release"
58 !if "$(DEBUG_INFO)" == "default"
62 !if "$(DEBUG_INFO)" == "0"
65 !if "$(DEBUG_INFO)" == "1"
68 !if "$(BUILD)" == "debug"
69 !if "$(DEBUG_INFO)" == "default"
70 __DEBUGINFO_1 = /DEBUG /CODEVIEW
73 !if "$(BUILD)" == "release"
74 !if "$(DEBUG_INFO)" == "default"
78 !if "$(DEBUG_INFO)" == "0"
81 !if "$(DEBUG_INFO)" == "1"
82 __DEBUGINFO_1 = /DEBUG /CODEVIEW
84 !if "$(BUILD)" == "debug"
85 __OPTIMIZEFLAG_2 = -o+none
87 !if "$(BUILD)" == "release"
90 !if "$(RUNTIME_LIBS)" == "dynamic"
91 __RUNTIME_LIBS_5 = -ND
93 !if "$(RUNTIME_LIBS)" == "static"
96 !if "$(USE_RTTI)" == "0"
99 !if "$(USE_RTTI)" == "1"
102 !if "$(USE_EXCEPTIONS)" == "0"
105 !if "$(USE_EXCEPTIONS)" == "1"
106 __EXCEPTIONSFLAG_7 = -Ae
108 !if "$(MONOLITHIC)" == "0"
110 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib
112 !if "$(MONOLITHIC)" == "0"
114 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
116 !if "$(MONOLITHIC)" == "0"
118 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
120 !if "$(MONOLITHIC)" == "1"
122 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
124 !if "$(USE_GUI)" == "1"
125 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
127 !if "$(USE_GUI)" == "1"
128 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
130 !if "$(USE_GUI)" == "1"
131 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
134 __UNICOWS_LIB_p = unicows.lib
136 !if "$(WXUNIV)" == "1"
137 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
139 !if "$(BUILD)" == "debug"
140 !if "$(DEBUG_FLAG)" == "default"
141 __DEBUG_DEFINE_p = -D__WXDEBUG__
144 !if "$(DEBUG_FLAG)" == "1"
145 __DEBUG_DEFINE_p = -D__WXDEBUG__
147 !if "$(USE_EXCEPTIONS)" == "0"
148 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
150 !if "$(USE_RTTI)" == "0"
151 __RTTI_DEFINE_p = -DwxNO_RTTI
153 !if "$(USE_THREADS)" == "0"
154 __THREAD_DEFINE_p = -DwxNO_THREADS
156 !if "$(UNICODE)" == "1"
157 __UNICODE_DEFINE_p = -D_UNICODE
160 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
162 !if "$(SHARED)" == "1"
163 __DLLFLAG_p = -DWXUSINGDLL
168 WX_RELEASE_NODOT = 27
169 OBJS = dmc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
170 LIBDIRNAME = .\..\..\lib\dmc_$(LIBTYPE_SUFFIX)$(CFG)
171 SETUPHDIR = $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
172 DATAVIEW_CXXFLAGS = $(__DEBUGINFO_0) $(__OPTIMIZEFLAG_2) $(__RUNTIME_LIBS_5) -D_WIN32_WINNT=0x0400 -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include -w- -I. $(__DLLFLAG_p) -WA -I.\..\..\samples -DNOPCH $(__RTTIFLAG_6) $(__EXCEPTIONSFLAG_7) $(CPPFLAGS) $(CXXFLAGS)
173 DATAVIEW_OBJECTS = $(OBJS)\dataview_dataview.obj
178 -if not exist $(OBJS) mkdir $(OBJS)
183 all : $(OBJS)\dataview.exe
186 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
187 -if exist $(OBJS)\*.res del $(OBJS)\*.res
188 -if exist $(OBJS)\*.sym del $(OBJS)\*.sym
189 -if exist $(OBJS)\dataview.exe del $(OBJS)\dataview.exe
190 -if exist $(OBJS)\dataview.map del $(OBJS)\dataview.map
192 $(OBJS)\dataview.exe : $(DATAVIEW_OBJECTS) $(OBJS)\dataview_dataview.res
193 link /NOLOGO /SILENT /NOI /DELEXECUTABLE /EXETYPE:NT $(LDFLAGS) $(__DEBUGINFO_1) /su:windows:4.0 $(DATAVIEW_OBJECTS),$@,$(OBJS)\dataview.map, $(LIBDIRNAME)\ $(__WXLIB_ADV_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) $(__UNICOWS_LIB_p) 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 ,, $(OBJS)\dataview_dataview.res
195 $(OBJS)\dataview_dataview.obj : .\dataview.cpp
196 $(CXX) -mn -c -cpp -o$@ $(DATAVIEW_CXXFLAGS) .\dataview.cpp
198 $(OBJS)\dataview_dataview.res : .\dataview.rc
199 rcc .\dataview.rc -o$@ -D_WIN32_WINNT=0x0400 -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include -I. $(__DLLFLAG_p) -I.\..\..\samples -DNOPCH -32 -v-