]> git.saurik.com Git - wxWidgets.git/blame_incremental - contrib/build/gizmos/makefile.bcc
removed old expat
[wxWidgets.git] / contrib / build / gizmos / makefile.bcc
... / ...
CommitLineData
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
8BCCDIR = $(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
23GIZMOSDLL_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__DEBUGFLAG) \
24 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
25 $(__UNICODE_DEFINE_p) -I..\..\src\gizmos\..\..\..\include \
26 -I..\..\src\gizmos\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) \
27 -I..\..\src\gizmos\..\..\..\src\tiff -I..\..\src\gizmos\..\..\..\src\jpeg \
28 -I..\..\src\gizmos\..\..\..\src\png -I..\..\src\gizmos\..\..\..\src\zlib \
29 -I..\..\src\gizmos\..\..\..\src\regex -I..\..\src\gizmos\..\..\include \
30 -DWXUSINGDLL -DWXMAKINGDLL_GIZMOS $(CXXFLAGS) -Hu \
31 -H=$(OBJS)\wxprec_gizmosdll.csm
32GIZMOSLIB_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS) $(__DEBUGFLAG) \
33 $(__OPTIMIZEFLAG) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
34 $(__UNICODE_DEFINE_p) -I..\..\src\gizmos\..\..\..\include \
35 -I..\..\src\gizmos\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) \
36 -I..\..\src\gizmos\..\..\..\src\tiff -I..\..\src\gizmos\..\..\..\src\jpeg \
37 -I..\..\src\gizmos\..\..\..\src\png -I..\..\src\gizmos\..\..\..\src\zlib \
38 -I..\..\src\gizmos\..\..\..\src\regex -I..\..\src\gizmos\..\..\include \
39 $(CXXFLAGS) -Hu -H=$(OBJS)\wxprec_gizmoslib.csm
40OBJS = \
41 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
42
43### Conditionally set variables: ###
44
45!if "$(USE_GUI)" == "0"
46PORTNAME = base
47!endif
48!if "$(USE_GUI)" == "1"
49PORTNAME = msw
50!endif
51!if "$(OFFICIAL_BUILD)" == "0"
52VENDORTAG = _$(VENDOR)
53!endif
54!if "$(OFFICIAL_BUILD)" == "1"
55VENDORTAG =
56!endif
57!if "$(BUILD)" == "debug"
58WXDEBUGFLAG = d
59!endif
60!if "$(SHARED)" == "1"
61WXDLLFLAG = dll
62!endif
63!if "$(UNICODE)" == "1"
64WXUNICODEFLAG = u
65!endif
66!if "$(WXUNIV)" == "1"
67WXUNIVNAME = univ
68!endif
69!if "$(BUILD)" == "debug"
70__DEBUGFLAG = -v
71!endif
72!if "$(BUILD)" == "release"
73__DEBUGFLAG = -v-
74!endif
75!if "$(BUILD)" == "debug"
76__DEBUG_DEFINE_p = -D__WXDEBUG__
77!endif
78!if "$(BUILD)" == "debug"
79__OPTIMIZEFLAG = -Od
80!endif
81!if "$(BUILD)" == "release"
82__OPTIMIZEFLAG = -O2
83!endif
84!if "$(RUNTIME_LIBS)" == "dynamic"
85__RUNTIME_LIBS = -tWR
86!endif
87!if "$(RUNTIME_LIBS)" == "static"
88__RUNTIME_LIBS =
89!endif
90!if "$(RUNTIME_LIBS)" == "dynamic"
91__RUNTIME_LIBS_7 = i
92!endif
93!if "$(RUNTIME_LIBS)" == "static"
94__RUNTIME_LIBS_7 =
95!endif
96!if "$(UNICODE)" == "1"
97__UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
98!endif
99!if "$(MONOLITHIC)" == "0"
100__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
101!endif
102!if "$(MONOLITHIC)" == "0"
103__WXLIB_CORE_p = \
104 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
105!endif
106!if "$(MONOLITHIC)" == "1"
107__WXLIB_MONO_p = \
108 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
109!endif
110!if "$(WXUNIV)" == "1"
111__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
112!endif
113!if "$(SHARED)" == "1"
114__gizmosdll___depname = \
115 ..\..\src\gizmos\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).dll
116!endif
117!if "$(SHARED)" == "0"
118__gizmoslib___depname = \
119 ..\..\src\gizmos\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
120!endif
121
122
123all: $(OBJS)
124$(OBJS):
125 -if not exist $(OBJS) mkdir $(OBJS)
126
127### Targets: ###
128
129all: $(__gizmosdll___depname) $(__gizmoslib___depname)
130
131$(OBJS)\gizmosdll_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
132 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) -H $**
133
134$(OBJS)\gizmosdll_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
135 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
136
137$(OBJS)\gizmosdll_editlbox.obj: ../../src/gizmos\editlbox.cpp
138 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
139
140$(OBJS)\gizmosdll_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
141 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
142
143$(OBJS)\gizmosdll_multicell.obj: ../../src/gizmos\multicell.cpp
144 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
145
146$(OBJS)\gizmosdll_splittree.obj: ../../src/gizmos\splittree.cpp
147 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
148
149$(OBJS)\gizmosdll_statpict.obj: ../../src/gizmos\statpict.cpp
150 $(CXX) -q -c -P -o$@ $(GIZMOSDLL_CXXFLAGS) $**
151
152$(OBJS)\gizmoslib_dummy.obj: ../../src/gizmos\..\..\..\src\msw\dummy.cpp
153 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) -H $**
154
155$(OBJS)\gizmoslib_dynamicsash.obj: ../../src/gizmos\dynamicsash.cpp
156 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
157
158$(OBJS)\gizmoslib_editlbox.obj: ../../src/gizmos\editlbox.cpp
159 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
160
161$(OBJS)\gizmoslib_ledctrl.obj: ../../src/gizmos\ledctrl.cpp
162 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
163
164$(OBJS)\gizmoslib_multicell.obj: ../../src/gizmos\multicell.cpp
165 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
166
167$(OBJS)\gizmoslib_splittree.obj: ../../src/gizmos\splittree.cpp
168 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
169
170$(OBJS)\gizmoslib_statpict.obj: ../../src/gizmos\statpict.cpp
171 $(CXX) -q -c -P -o$@ $(GIZMOSLIB_CXXFLAGS) $**
172
173clean:
174 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
175 -if exist $(OBJS)\*.res del $(OBJS)\*.res
176 -if exist ..\..\src\gizmos\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).dll del ..\..\src\gizmos\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).dll
177 -if exist ..\..\src\gizmos\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib del ..\..\src\gizmos\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
178 -if exist ..\..\src\gizmos\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib del ..\..\src\gizmos\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib
179
180!if "$(SHARED)" == "1"
181..\..\src\gizmos\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos_bcc$(VENDORTAG).dll: $(OBJS)\gizmosdll_dummy.obj $(OBJS)\gizmosdll_dummy.obj $(OBJS)\gizmosdll_dynamicsash.obj $(OBJS)\gizmosdll_editlbox.obj $(OBJS)\gizmosdll_ledctrl.obj $(OBJS)\gizmosdll_multicell.obj $(OBJS)\gizmosdll_splittree.obj $(OBJS)\gizmosdll_statpict.obj
182 ilink32 -Tpd -q $(LDFLAGS) $(__DEBUGFLAG) -L..\..\src\gizmos\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) @&&|
183 c0d32.obj $(OBJS)\gizmosdll_dummy.obj $(OBJS)\gizmosdll_dynamicsash.obj $(OBJS)\gizmosdll_editlbox.obj $(OBJS)\gizmosdll_ledctrl.obj $(OBJS)\gizmosdll_multicell.obj $(OBJS)\gizmosdll_splittree.obj $(OBJS)\gizmosdll_statpict.obj,$@,, $(__WXLIB_MONO_p) wxtiff$(WXDEBUGFLAG).lib wxjpeg$(WXDEBUGFLAG).lib wxpng$(WXDEBUGFLAG).lib wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib import32.lib ole2w32.lib $(__WXLIB_BASE_p) $(__WXLIB_CORE_p) cw32mt$(__RUNTIME_LIBS_7).lib,,
184|
185 implib -f ..\..\src\gizmos\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos $@
186!endif
187
188!if "$(SHARED)" == "0"
189..\..\src\gizmos\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)\wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gizmos.lib: $(OBJS)\gizmoslib_dummy.obj $(OBJS)\gizmoslib_dummy.obj $(OBJS)\gizmoslib_dynamicsash.obj $(OBJS)\gizmoslib_editlbox.obj $(OBJS)\gizmoslib_ledctrl.obj $(OBJS)\gizmoslib_multicell.obj $(OBJS)\gizmoslib_splittree.obj $(OBJS)\gizmoslib_statpict.obj
190 if exist $@ del $@
191 tlib /a /p2048 $@ @&&|
192 $(OBJS)\gizmoslib_dummy.obj $(OBJS)\gizmoslib_dynamicsash.obj $(OBJS)\gizmoslib_editlbox.obj $(OBJS)\gizmoslib_ledctrl.obj $(OBJS)\gizmoslib_multicell.obj $(OBJS)\gizmoslib_splittree.obj $(OBJS)\gizmoslib_statpict.obj
193|
194!endif