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