]> git.saurik.com Git - wxWidgets.git/blob - samples/dataview/makefile.dms
8648c044a7cc08cd81645f0081c8b5c5c1fb2cc7
[wxWidgets.git] / samples / dataview / makefile.dms
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 # =========================================================================
6
7 .LONGCOMMANDLINE: dmc link lib smake
8
9 !include ../../build/msw/config.dms
10
11 # -------------------------------------------------------------------------
12 # Do not modify the rest of this file!
13 # -------------------------------------------------------------------------
14
15 ### Conditionally set variables: ###
16
17 !if "$(USE_GUI)" == "0"
18 PORTNAME = base
19 !endif
20 !if "$(USE_GUI)" == "1"
21 PORTNAME = msw
22 !endif
23 !if "$(BUILD)" == "debug"
24 !if "$(DEBUG_FLAG)" == "default"
25 WXDEBUGFLAG = d
26 !endif
27 !endif
28 !if "$(DEBUG_FLAG)" == "1"
29 WXDEBUGFLAG = d
30 !endif
31 !if "$(UNICODE)" == "1"
32 WXUNICODEFLAG = u
33 !endif
34 !if "$(WXUNIV)" == "1"
35 WXUNIVNAME = univ
36 !endif
37 !if "$(SHARED)" == "1"
38 WXDLLFLAG = dll
39 !endif
40 !if "$(SHARED)" == "0"
41 LIBTYPE_SUFFIX = lib
42 !endif
43 !if "$(SHARED)" == "1"
44 LIBTYPE_SUFFIX = dll
45 !endif
46 !if "$(MONOLITHIC)" == "0"
47 EXTRALIBS_FOR_BASE =
48 !endif
49 !if "$(MONOLITHIC)" == "1"
50 EXTRALIBS_FOR_BASE =
51 !endif
52 !if "$(BUILD)" == "debug"
53 !if "$(DEBUG_INFO)" == "default"
54 __DEBUGINFO_0 = -g
55 !endif
56 !endif
57 !if "$(BUILD)" == "release"
58 !if "$(DEBUG_INFO)" == "default"
59 __DEBUGINFO_0 =
60 !endif
61 !endif
62 !if "$(DEBUG_INFO)" == "0"
63 __DEBUGINFO_0 =
64 !endif
65 !if "$(DEBUG_INFO)" == "1"
66 __DEBUGINFO_0 = -g
67 !endif
68 !if "$(BUILD)" == "debug"
69 !if "$(DEBUG_INFO)" == "default"
70 __DEBUGINFO_1 = /DEBUG /CODEVIEW
71 !endif
72 !endif
73 !if "$(BUILD)" == "release"
74 !if "$(DEBUG_INFO)" == "default"
75 __DEBUGINFO_1 =
76 !endif
77 !endif
78 !if "$(DEBUG_INFO)" == "0"
79 __DEBUGINFO_1 =
80 !endif
81 !if "$(DEBUG_INFO)" == "1"
82 __DEBUGINFO_1 = /DEBUG /CODEVIEW
83 !endif
84 !if "$(BUILD)" == "debug"
85 __OPTIMIZEFLAG_2 = -o+none
86 !endif
87 !if "$(BUILD)" == "release"
88 __OPTIMIZEFLAG_2 = -o
89 !endif
90 !if "$(RUNTIME_LIBS)" == "dynamic"
91 __RUNTIME_LIBS_5 = -ND
92 !endif
93 !if "$(RUNTIME_LIBS)" == "static"
94 __RUNTIME_LIBS_5 =
95 !endif
96 !if "$(USE_RTTI)" == "0"
97 __RTTIFLAG_6 =
98 !endif
99 !if "$(USE_RTTI)" == "1"
100 __RTTIFLAG_6 = -Ar
101 !endif
102 !if "$(USE_EXCEPTIONS)" == "0"
103 __EXCEPTIONSFLAG_7 =
104 !endif
105 !if "$(USE_EXCEPTIONS)" == "1"
106 __EXCEPTIONSFLAG_7 = -Ae
107 !endif
108 !if "$(MONOLITHIC)" == "0"
109 __WXLIB_ADV_p = \
110 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib
111 !endif
112 !if "$(MONOLITHIC)" == "0"
113 __WXLIB_CORE_p = \
114 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
115 !endif
116 !if "$(MONOLITHIC)" == "0"
117 __WXLIB_BASE_p = \
118 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
119 !endif
120 !if "$(MONOLITHIC)" == "1"
121 __WXLIB_MONO_p = \
122 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
123 !endif
124 !if "$(USE_GUI)" == "1"
125 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
126 !endif
127 !if "$(USE_GUI)" == "1"
128 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
129 !endif
130 !if "$(USE_GUI)" == "1"
131 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
132 !endif
133 !if "$(MSLU)" == "1"
134 __UNICOWS_LIB_p = unicows.lib
135 !endif
136 !if "$(WXUNIV)" == "1"
137 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
138 !endif
139 !if "$(BUILD)" == "debug"
140 !if "$(DEBUG_FLAG)" == "default"
141 __DEBUG_DEFINE_p = -D__WXDEBUG__
142 !endif
143 !endif
144 !if "$(DEBUG_FLAG)" == "1"
145 __DEBUG_DEFINE_p = -D__WXDEBUG__
146 !endif
147 !if "$(USE_EXCEPTIONS)" == "0"
148 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
149 !endif
150 !if "$(USE_RTTI)" == "0"
151 __RTTI_DEFINE_p = -DwxNO_RTTI
152 !endif
153 !if "$(USE_THREADS)" == "0"
154 __THREAD_DEFINE_p = -DwxNO_THREADS
155 !endif
156 !if "$(UNICODE)" == "1"
157 __UNICODE_DEFINE_p = -D_UNICODE
158 !endif
159 !if "$(MSLU)" == "1"
160 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
161 !endif
162 !if "$(SHARED)" == "1"
163 __DLLFLAG_p = -DWXUSINGDLL
164 !endif
165
166 ### Variables: ###
167
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
174
175
176 all : $(OBJS)
177 $(OBJS) :
178 -if not exist $(OBJS) mkdir $(OBJS)
179
180 ### Targets: ###
181
182
183 all : $(OBJS)\dataview.exe
184
185 clean :
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
191
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
194
195 $(OBJS)\dataview_dataview.obj : .\dataview.cpp
196 $(CXX) -mn -c -cpp -o$@ $(DATAVIEW_CXXFLAGS) .\dataview.cpp
197
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-