]> git.saurik.com Git - wxWidgets.git/blame - samples/clipboard/makefile.wat
add SetCharIncludes and SetCharExcludes utilities to wxTextValidator; use iterators...
[wxWidgets.git] / samples / clipboard / makefile.wat
CommitLineData
c9a93ef9
RR
1# =========================================================================\r
2# This makefile was generated by\r
7862af84 3# Bakefile 0.2.5 (http://www.bakefile.org)\r
c9a93ef9
RR
4# Do not modify, all changes will be overwritten!\r
5# =========================================================================\r
6\r
7!include ../../build/msw/config.wat\r
8\r
9# -------------------------------------------------------------------------\r
10# Do not modify the rest of this file!\r
11# -------------------------------------------------------------------------\r
12\r
13# Speed up compilation a bit:\r
14!ifdef __LOADDLL__\r
15! loaddll wcc wccd\r
16! loaddll wccaxp wccdaxp\r
17! loaddll wcc386 wccd386\r
18! loaddll wpp wppdi86\r
19! loaddll wppaxp wppdaxp\r
20! loaddll wpp386 wppd386\r
21! loaddll wlink wlink\r
22! loaddll wlib wlibd\r
23!endif\r
24\r
25# We need these variables in some bakefile-made rules:\r
26WATCOM_CWD = $+ $(%cdrive):$(%cwd) $-\r
27\r
28### Conditionally set variables: ###\r
29\r
30PORTNAME =\r
31!ifeq USE_GUI 0\r
32PORTNAME = base\r
33!endif\r
34!ifeq USE_GUI 1\r
35PORTNAME = msw\r
36!endif\r
37WXDEBUGFLAG =\r
38!ifeq BUILD debug\r
39!ifeq DEBUG_FLAG default\r
40WXDEBUGFLAG = d\r
41!endif\r
42!endif\r
43!ifeq DEBUG_FLAG 1\r
44WXDEBUGFLAG = d\r
45!endif\r
46WXUNICODEFLAG =\r
47!ifeq UNICODE 1\r
48WXUNICODEFLAG = u\r
49!endif\r
50WXUNIVNAME =\r
51!ifeq WXUNIV 1\r
52WXUNIVNAME = univ\r
53!endif\r
54WXDLLFLAG =\r
55!ifeq SHARED 1\r
56WXDLLFLAG = dll\r
57!endif\r
58LIBTYPE_SUFFIX =\r
59!ifeq SHARED 0\r
60LIBTYPE_SUFFIX = lib\r
61!endif\r
62!ifeq SHARED 1\r
63LIBTYPE_SUFFIX = dll\r
64!endif\r
65EXTRALIBS_FOR_BASE =\r
66!ifeq MONOLITHIC 0\r
67EXTRALIBS_FOR_BASE = \r
68!endif\r
69!ifeq MONOLITHIC 1\r
70EXTRALIBS_FOR_BASE = \r
71!endif\r
72__DEBUGINFO_0 =\r
73!ifeq BUILD debug\r
74!ifeq DEBUG_INFO default\r
75__DEBUGINFO_0 = -d2\r
76!endif\r
77!endif\r
78!ifeq BUILD release\r
79!ifeq DEBUG_INFO default\r
80__DEBUGINFO_0 = -d0\r
81!endif\r
82!endif\r
83!ifeq DEBUG_INFO 0\r
84__DEBUGINFO_0 = -d0\r
85!endif\r
86!ifeq DEBUG_INFO 1\r
87__DEBUGINFO_0 = -d2\r
88!endif\r
89__DEBUGINFO_1 =\r
90!ifeq BUILD debug\r
91!ifeq DEBUG_INFO default\r
92__DEBUGINFO_1 = debug all\r
93!endif\r
94!endif\r
95!ifeq BUILD release\r
96!ifeq DEBUG_INFO default\r
97__DEBUGINFO_1 = \r
98!endif\r
99!endif\r
100!ifeq DEBUG_INFO 0\r
101__DEBUGINFO_1 = \r
102!endif\r
103!ifeq DEBUG_INFO 1\r
104__DEBUGINFO_1 = debug all\r
105!endif\r
106__OPTIMIZEFLAG_2 =\r
107!ifeq BUILD debug\r
108__OPTIMIZEFLAG_2 = -od\r
109!endif\r
110!ifeq BUILD release\r
111__OPTIMIZEFLAG_2 = -ot -ox\r
112!endif\r
113__THREADSFLAG_5 =\r
114!ifeq USE_THREADS 0\r
115__THREADSFLAG_5 = \r
116!endif\r
117!ifeq USE_THREADS 1\r
118__THREADSFLAG_5 = -bm\r
119!endif\r
120__RUNTIME_LIBS_6 =\r
121!ifeq RUNTIME_LIBS dynamic\r
122__RUNTIME_LIBS_6 = -br\r
123!endif\r
124!ifeq RUNTIME_LIBS static\r
125__RUNTIME_LIBS_6 = \r
126!endif\r
127__RTTIFLAG_7 =\r
128!ifeq USE_RTTI 0\r
129__RTTIFLAG_7 = \r
130!endif\r
131!ifeq USE_RTTI 1\r
132__RTTIFLAG_7 = -xr\r
133!endif\r
134__EXCEPTIONSFLAG_8 =\r
135!ifeq USE_EXCEPTIONS 0\r
136__EXCEPTIONSFLAG_8 = \r
137!endif\r
138!ifeq USE_EXCEPTIONS 1\r
139__EXCEPTIONSFLAG_8 = -xs\r
140!endif\r
141__WXLIB_CORE_p =\r
142!ifeq MONOLITHIC 0\r
143__WXLIB_CORE_p = &\r
144 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib\r
145!endif\r
146__WXLIB_BASE_p =\r
147!ifeq MONOLITHIC 0\r
148__WXLIB_BASE_p = &\r
149 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r
150!endif\r
151__WXLIB_MONO_p =\r
152!ifeq MONOLITHIC 1\r
153__WXLIB_MONO_p = &\r
154 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib\r
155!endif\r
156__LIB_TIFF_p =\r
157!ifeq USE_GUI 1\r
158__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib\r
159!endif\r
160__LIB_JPEG_p =\r
161!ifeq USE_GUI 1\r
162__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib\r
163!endif\r
164__LIB_PNG_p =\r
165!ifeq USE_GUI 1\r
166__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib\r
167!endif\r
168__GDIPLUS_LIB_p =\r
169!ifeq USE_GDIPLUS 1\r
170__GDIPLUS_LIB_p = gdiplus.lib\r
171!endif\r
172__WXUNIV_DEFINE_p =\r
173!ifeq WXUNIV 1\r
174__WXUNIV_DEFINE_p = -d__WXUNIVERSAL__\r
175!endif\r
176__DEBUG_DEFINE_p =\r
177!ifeq BUILD debug\r
178!ifeq DEBUG_FLAG default\r
179__DEBUG_DEFINE_p = -d__WXDEBUG__\r
180!endif\r
181!endif\r
182!ifeq DEBUG_FLAG 1\r
183__DEBUG_DEFINE_p = -d__WXDEBUG__\r
184!endif\r
185__EXCEPTIONS_DEFINE_p =\r
186!ifeq USE_EXCEPTIONS 0\r
187__EXCEPTIONS_DEFINE_p = -dwxNO_EXCEPTIONS\r
188!endif\r
189__RTTI_DEFINE_p =\r
190!ifeq USE_RTTI 0\r
191__RTTI_DEFINE_p = -dwxNO_RTTI\r
192!endif\r
193__THREAD_DEFINE_p =\r
194!ifeq USE_THREADS 0\r
195__THREAD_DEFINE_p = -dwxNO_THREADS\r
196!endif\r
197__UNICODE_DEFINE_p =\r
198!ifeq UNICODE 0\r
199__UNICODE_DEFINE_p = -dwxUSE_UNICODE=0\r
200!endif\r
201!ifeq UNICODE 1\r
202__UNICODE_DEFINE_p = -d_UNICODE\r
203!endif\r
204__GFXCTX_DEFINE_p =\r
205!ifeq USE_GDIPLUS 1\r
206__GFXCTX_DEFINE_p = -dwxUSE_GRAPHICS_CONTEXT=1\r
207!endif\r
208__DLLFLAG_p =\r
209!ifeq SHARED 1\r
210__DLLFLAG_p = -dWXUSINGDLL\r
211!endif\r
212\r
213### Variables: ###\r
214\r
215WX_RELEASE_NODOT = 29\r
216COMPILER_PREFIX = wat\r
217OBJS = &\r
218 $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\r
219LIBDIRNAME = .\..\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG)\r
220SETUPHDIR = &\r
221 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)\r
222CLIPBOARD_CXXFLAGS = $(__DEBUGINFO_0) $(__OPTIMIZEFLAG_2) $(__THREADSFLAG_5) &\r
223 $(__RUNTIME_LIBS_6) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) &\r
224 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) &\r
225 $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) &\r
226 -i=.\..\..\include -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) &\r
227 -i=.\..\..\samples -dNOPCH $(__RTTIFLAG_7) $(__EXCEPTIONSFLAG_8) $(CPPFLAGS) &\r
228 $(CXXFLAGS)\r
229CLIPBOARD_OBJECTS = &\r
230 $(OBJS)\clipboard_clipboard.obj\r
231\r
232\r
233all : $(OBJS)\r
234$(OBJS) :\r
235 -if not exist $(OBJS) mkdir $(OBJS)\r
236\r
237### Targets: ###\r
238\r
239all : .SYMBOLIC $(OBJS)\clipboard.exe\r
240\r
241clean : .SYMBOLIC \r
242 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj\r
243 -if exist $(OBJS)\*.res del $(OBJS)\*.res\r
244 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc\r
245 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk\r
246 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch\r
247 -if exist $(OBJS)\clipboard.exe del $(OBJS)\clipboard.exe\r
248\r
249$(OBJS)\clipboard.exe : $(CLIPBOARD_OBJECTS) $(OBJS)\clipboard_clipboard.res\r
250 @%create $(OBJS)\clipboard.lbc\r
251 @%append $(OBJS)\clipboard.lbc option quiet\r
252 @%append $(OBJS)\clipboard.lbc name $^@\r
253 @%append $(OBJS)\clipboard.lbc option caseexact\r
254 @%append $(OBJS)\clipboard.lbc $(__DEBUGINFO_1) libpath $(LIBDIRNAME) system nt_win ref '_WinMain@16' $(LDFLAGS)\r
255 @for %i in ($(CLIPBOARD_OBJECTS)) do @%append $(OBJS)\clipboard.lbc file %i\r
b44f5137 256 @for %i in ( $(__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) $(__GDIPLUS_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 wininet.lib) do @%append $(OBJS)\clipboard.lbc library %i\r
c9a93ef9
RR
257 @%append $(OBJS)\clipboard.lbc option resource=$(OBJS)\clipboard_clipboard.res\r
258 @for %i in () do @%append $(OBJS)\clipboard.lbc option stack=%i\r
259 wlink @$(OBJS)\clipboard.lbc\r
260\r
261$(OBJS)\clipboard_clipboard.obj : .AUTODEPEND .\clipboard.cpp\r
262 $(CXX) -bt=nt -zq -fo=$^@ $(CLIPBOARD_CXXFLAGS) $<\r
263\r
264$(OBJS)\clipboard_clipboard.res : .AUTODEPEND .\clipboard.rc\r
265 wrc -q -ad -bt=nt -r -fo=$^@ -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) -i=.\..\..\include -i=. $(__DLLFLAG_p) -i=.\..\..\samples -dNOPCH $<\r
266\r