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