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