]> git.saurik.com Git - wxWidgets.git/blame_incremental - contrib/build/animate/makefile.bcc
added IMPLEMENT_APP_CONSOLE
[wxWidgets.git] / contrib / build / animate / makefile.bcc
... / ...
CommitLineData
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# =========================================================================
6
7!ifndef BCCDIR
8BCCDIR = $(MAKEDIR)\..
9!endif
10
11!include ../../../build/msw/config.bcc
12
13# -------------------------------------------------------------------------
14# Do not modify the rest of this file!
15# -------------------------------------------------------------------------
16
17!if "$(BCCDIR)" == "\.."
18!error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
19!endif
20
21### Variables: ###
22
23ANIMATEDLL_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) -I$(BCCDIR)\include \
24 $(__DEBUGINFO) $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
25 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
26 -I..\..\src\animate\..\..\..\include -I$(SETUPHDIR) \
27 -I..\..\src\animate\..\..\include -DWXUSINGDLL -DWXMAKINGDLL_ANIMATE \
28 $(CXXFLAGS) -Hu -H=$(OBJS)\wxprec_animatedll.csm
29ANIMATEDLL_OBJECTS = \
30 $(OBJS)\animatedll_dummy.obj \
31 $(OBJS)\animatedll_animate.obj
32ANIMATELIB_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) -I$(BCCDIR)\include \
33 $(__DEBUGINFO) $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
34 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) \
35 -I..\..\src\animate\..\..\..\include -I$(SETUPHDIR) \
36 -I..\..\src\animate\..\..\include $(CXXFLAGS) -Hu \
37 -H=$(OBJS)\wxprec_animatelib.csm
38ANIMATELIB_OBJECTS = \
39 $(OBJS)\animatelib_dummy.obj \
40 $(OBJS)\animatelib_animate.obj
41OBJS = \
42 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
43SETUPHDIR = \
44 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
45
46### Conditionally set variables: ###
47
48!if "$(SHARED)" == "0"
49LIBDIRNAME = ..\..\src\animate\..\..\..\lib\bcc_lib$(CFG)
50!endif
51!if "$(SHARED)" == "1"
52LIBDIRNAME = ..\..\src\animate\..\..\..\lib\bcc_dll$(CFG)
53!endif
54!if "$(USE_GUI)" == "0"
55PORTNAME = base
56!endif
57!if "$(USE_GUI)" == "1"
58PORTNAME = msw
59!endif
60!if "$(OFFICIAL_BUILD)" == "0"
61VENDORTAG = _$(VENDOR)
62!endif
63!if "$(OFFICIAL_BUILD)" == "1"
64VENDORTAG =
65!endif
66!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
67WXDEBUGFLAG = d
68!endif
69!if "$(DEBUG_FLAG)" == "1"
70WXDEBUGFLAG = d
71!endif
72!if "$(SHARED)" == "1"
73WXDLLFLAG = dll
74!endif
75!if "$(UNICODE)" == "1"
76WXUNICODEFLAG = u
77!endif
78!if "$(WXUNIV)" == "1"
79WXUNIVNAME = univ
80!endif
81!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
82__DEBUGINFO = -v
83!endif
84!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
85__DEBUGINFO = -v-
86!endif
87!if "$(DEBUG_INFO)" == "0"
88__DEBUGINFO = -v-
89!endif
90!if "$(DEBUG_INFO)" == "1"
91__DEBUGINFO = -v
92!endif
93!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
94__DEBUG_DEFINE_p = -D__WXDEBUG__
95!endif
96!if "$(DEBUG_FLAG)" == "1"
97__DEBUG_DEFINE_p = -D__WXDEBUG__
98!endif
99!if "$(USE_GUI)" == "1"
100__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
101!endif
102!if "$(USE_GUI)" == "1"
103__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
104!endif
105!if "$(USE_GUI)" == "1"
106__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
107!endif
108!if "$(BUILD)" == "debug"
109__OPTIMIZEFLAG = -Od
110!endif
111!if "$(BUILD)" == "release"
112__OPTIMIZEFLAG = -O2
113!endif
114!if "$(RUNTIME_LIBS)" == "dynamic"
115__RUNTIME_LIBS = -tWR
116!endif
117!if "$(RUNTIME_LIBS)" == "static"
118__RUNTIME_LIBS =
119!endif
120!if "$(RUNTIME_LIBS)" == "dynamic"
121__RUNTIME_LIBS_7 = i
122!endif
123!if "$(RUNTIME_LIBS)" == "static"
124__RUNTIME_LIBS_7 =
125!endif
126!if "$(UNICODE)" == "1"
127__UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
128!endif
129!if "$(MSLU)" == "1"
130__UNICOWS_LIB_p = unicows.lib
131!endif
132!if "$(MONOLITHIC)" == "0"
133__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
134!endif
135!if "$(MONOLITHIC)" == "0"
136__WXLIB_CORE_p = \
137 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
138!endif
139!if "$(MONOLITHIC)" == "1"
140__WXLIB_MONO_p = \
141 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
142!endif
143!if "$(WXUNIV)" == "1"
144__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
145!endif
146!if "$(SHARED)" == "1"
147__animatedll___depname = \
148 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_bcc$(VENDORTAG).dll
149!endif
150!if "$(SHARED)" == "0"
151__animatelib___depname = \
152 $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib
153!endif
154
155
156all: $(OBJS)
157$(OBJS):
158 -if not exist $(OBJS) mkdir $(OBJS)
159
160### Targets: ###
161
162all: $(__animatedll___depname) $(__animatelib___depname)
163
164$(OBJS)\animatedll_animate.obj: ../../src/animate\animate.cpp
165 $(CXX) -q -c -P -o$@ $(ANIMATEDLL_CXXFLAGS) $**
166
167$(OBJS)\animatedll_dummy.obj: ../../src/animate\..\..\..\src\msw\dummy.cpp
168 $(CXX) -q -c -P -o$@ $(ANIMATEDLL_CXXFLAGS) -H $**
169
170$(OBJS)\animatelib_animate.obj: ../../src/animate\animate.cpp
171 $(CXX) -q -c -P -o$@ $(ANIMATELIB_CXXFLAGS) $**
172
173$(OBJS)\animatelib_dummy.obj: ../../src/animate\..\..\..\src\msw\dummy.cpp
174 $(CXX) -q -c -P -o$@ $(ANIMATELIB_CXXFLAGS) -H $**
175
176!if "$(SHARED)" == "1"
177$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_bcc$(VENDORTAG).dll: $(OBJS)\animatedll_dummy.obj $(ANIMATEDLL_OBJECTS)
178 ilink32 -Tpd -q $(LDFLAGS) -L$(BCCDIR)\lib $(__DEBUGINFO) -L$(LIBDIRNAME) @&&|
179 c0d32.obj $(ANIMATEDLL_OBJECTS),$@,, $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__UNICOWS_LIB_p) import32.lib ole2w32.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) import32.lib cw32mt$(__RUNTIME_LIBS_7).lib,,
180|
181 implib -f $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate $@
182!endif
183
184!if "$(SHARED)" == "0"
185$(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib: $(OBJS)\animatelib_dummy.obj $(ANIMATELIB_OBJECTS)
186 if exist $@ del $@
187 tlib /a /p2048 $@ @&&|
188 $(ANIMATELIB_OBJECTS)
189|
190!endif
191
192clean:
193 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
194 -if exist $(OBJS)\*.res del $(OBJS)\*.res
195 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_bcc$(VENDORTAG).dll del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)250$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate_bcc$(VENDORTAG).dll
196 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib
197 -if exist $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib del $(LIBDIRNAME)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_animate.lib