]> git.saurik.com Git - wxWidgets.git/blame - contrib/build/animate/makefile.wat
removed old expat
[wxWidgets.git] / contrib / build / animate / makefile.wat
CommitLineData
250700e4
RD
1# =========================================================================
2# This makefile was generated by
3# Bakefile 0.1.1.20030719 (http://bakefile.sourceforge.net)
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
7!include ../../../build/config.wat
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13# Speed up compilation a bit:
14!ifdef __LOADDLL__
15! loaddll wcc wccd
16! loaddll wccaxp wccdaxp
17! loaddll wcc386 wccd386
18! loaddll wpp wppdi86
19! loaddll wppaxp wppdaxp
20! loaddll wpp386 wppd386
21! loaddll wlink wlink
22! loaddll wlib wlibd
23!endif
24
25# We need these variables in some bakefile-made rules:
26WATCOM_CWD = $+ $(%cdrive):$(%cwd) $-
27
28### Conditionally set variables: ###
29
30PORTNAME =
31!ifeq USE_GUI 0
32PORTNAME = base
33!endif
34!ifeq USE_GUI 1
35PORTNAME = msw
36!endif
37VENDORTAG =
38!ifeq OFFICIAL_BUILD 0
39VENDORTAG = _$(VENDOR)
40!endif
41!ifeq OFFICIAL_BUILD 1
42VENDORTAG =
43!endif
44WXDEBUGFLAG =
45!ifeq BUILD debug
46WXDEBUGFLAG = d
47!endif
48WXDLLFLAG =
49!ifeq SHARED 1
50WXDLLFLAG = dll
51!endif
52WXUNICODEFLAG =
53!ifeq UNICODE 1
54WXUNICODEFLAG = u
55!endif
56WXUNIVNAME =
57!ifeq WXUNIV 1
58WXUNIVNAME = univ
59!endif
60__DEBUGFLAG =
61!ifeq BUILD debug
62__DEBUGFLAG = -d2
63!endif
64!ifeq BUILD release
65__DEBUGFLAG = -d0
66!endif
67__DEBUGFLAG_1 =
68!ifeq BUILD debug
69__DEBUGFLAG_1 = debug all
70!endif
71!ifeq BUILD release
72__DEBUGFLAG_1 =
73!endif
74__DEBUG_DEFINE_p =
75!ifeq BUILD debug
76__DEBUG_DEFINE_p = -d__WXDEBUG__
77!endif
78__OPTIMIZEFLAG =
79!ifeq BUILD debug
80__OPTIMIZEFLAG = -od
81!endif
82!ifeq BUILD release
83__OPTIMIZEFLAG = -ot -ox
84!endif
85__RUNTIME_LIBS =
86!ifeq RUNTIME_LIBS dynamic
87__RUNTIME_LIBS = -br
88!endif
89!ifeq RUNTIME_LIBS static
90__RUNTIME_LIBS =
91!endif
92__UNICODE_DEFINE_p =
93!ifeq UNICODE 1
94__UNICODE_DEFINE_p = -dwxUSE_UNICODE=1
95!endif
96__WXLIB_BASE_p =
97!ifeq MONOLITHIC 0
98__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
99!endif
100__WXLIB_CORE_p =
101!ifeq MONOLITHIC 0
102__WXLIB_CORE_p = wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
103!endif
104__WXLIB_MONO_p =
105!ifeq MONOLITHIC 1
106__WXLIB_MONO_p = wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
107!endif
108__WXUNIV_DEFINE_p =
109!ifeq WXUNIV 1
110__WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
111!endif
112__animatedll___depname =
113!ifeq SHARED 1
114__animatedll___depname = ..\..\src\animate\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_wat$(VENDORTAG).dll
115!endif
116__animatelib___depname =
117!ifeq SHARED 0
118__animatelib___depname = ..\..\src\animate\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib
119!endif
120
121### Variables: ###
122
123ANIMATEDLL_CXXFLAGS = $(CPPFLAGS) /fh=$(OBJS)\wxprec_animatedll.pch -bd $(__DEBUGFLAG) $(__OPTIMIZEFLAG) -bm $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -i=..\..\src\animate\..\..\..\include -i=..\..\src\animate\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -i=..\..\src\animate\..\..\..\src\tiff -i=..\..\src\animate\..\..\..\src\jpeg -i=..\..\src\animate\..\..\..\src\png -i=..\..\src\animate\..\..\..\src\zlib -i=..\..\src\animate\..\..\..\src\regex -i=..\..\src\animate\..\..\include -dWXUSINGDLL -dWXMAKINGDLL_ANIMATE $(CXXFLAGS)
124ANIMATELIB_CXXFLAGS = $(CPPFLAGS) /fh=$(OBJS)\wxprec_animatelib.pch $(__DEBUGFLAG) $(__OPTIMIZEFLAG) -bm $(__RUNTIME_LIBS) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -i=..\..\src\animate\..\..\..\include -i=..\..\src\animate\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -i=..\..\src\animate\..\..\..\src\tiff -i=..\..\src\animate\..\..\..\src\jpeg -i=..\..\src\animate\..\..\..\src\png -i=..\..\src\animate\..\..\..\src\zlib -i=..\..\src\animate\..\..\..\src\regex -i=..\..\src\animate\..\..\include $(CXXFLAGS)
125OBJS = wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
126
127
128
129all : $(OBJS)
130$(OBJS) :
131 -if not exist $(OBJS) mkdir $(OBJS)
132
133### Targets: ###
134
135all : .SYMBOLIC $(__animatedll___depname) $(__animatelib___depname)
136
137$(OBJS)\animatedll_animate.obj : .AUTODEPEND ../../src/animate\animate.cpp
138 $(CXX) -zq -fo=$^@ $(ANIMATEDLL_CXXFLAGS) $<
139
140$(OBJS)\animatedll_dummy.obj : .AUTODEPEND ../../src/animate\..\..\..\src\msw\dummy.cpp
141 $(CXX) -zq -fo=$^@ $(ANIMATEDLL_CXXFLAGS) $<
142
143$(OBJS)\animatelib_animate.obj : .AUTODEPEND ../../src/animate\animate.cpp
144 $(CXX) -zq -fo=$^@ $(ANIMATELIB_CXXFLAGS) $<
145
146$(OBJS)\animatelib_dummy.obj : .AUTODEPEND ../../src/animate\..\..\..\src\msw\dummy.cpp
147 $(CXX) -zq -fo=$^@ $(ANIMATELIB_CXXFLAGS) $<
148
149!ifeq SHARED 1
150..\..\src\animate\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_wat$(VENDORTAG).dll : $(OBJS)\animatedll_dummy.obj $(OBJS)\animatedll_animate.obj
151 @%create $(OBJS)\animatedll.lbc
152 @%append $(OBJS)\animatedll.lbc option quiet
153 @%append $(OBJS)\animatedll.lbc name $^@
154 @%append $(OBJS)\animatedll.lbc option incremental
155 @%append $(OBJS)\animatedll.lbc $(LDFLAGS) $(__DEBUGFLAG_1) libpath ..\..\src\animate\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
156 @for %i in ( $(OBJS)\animatedll_dummy.obj $(OBJS)\animatedll_animate.obj) do @%append $(OBJS)\animatedll.lbc file %i
157 @for %i in ( $(__WXLIB_MONO_p) wxtiff$(WXDEBUGFLAG).lib wxjpeg$(WXDEBUGFLAG).lib wxpng$(WXDEBUGFLAG).lib wxzlib$(WXDEBUGFLAG).lib wxregex$(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 $(__WXLIB_CORE_p) $(__WXLIB_BASE_p)) do @%append $(OBJS)\animatedll.lbc library %i
158 @%append $(OBJS)\animatedll.lbc
159 @%append $(OBJS)\animatedll.lbc system nt_dll
160 wlink @$(OBJS)\animatedll.lbc
161 wlib -q -n -b ..\..\src\animate\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib +$^@
162!endif
163
164!ifeq SHARED 0
165..\..\src\animate\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib : $(OBJS)\animatelib_dummy.obj $(OBJS)\animatelib_animate.obj
166 @%create $(OBJS)\animatelib.lbc
167 @for %i in ( $(OBJS)\animatelib_dummy.obj $(OBJS)\animatelib_animate.obj) do @%append $(OBJS)\animatelib.lbc +%i
168 wlib -q -p2048 -n -b $^@ @$(OBJS)\animatelib.lbc
169!endif
170
171clean : .SYMBOLIC
172 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
173 -if exist $(OBJS)\*.res del $(OBJS)\*.res
174 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
175 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
176 -if exist ..\..\src\animate\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_wat$(VENDORTAG).dll del ..\..\src\animate\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_wat$(VENDORTAG).dll
177 -if exist ..\..\src\animate\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib del ..\..\src\animate\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib
178 -if exist ..\..\src\animate\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib del ..\..\src\animate\..\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib