]> git.saurik.com Git - wxWidgets.git/blame_incremental - samples/html/widget/makefile.bcc
XML code needs wchar_t
[wxWidgets.git] / samples / html / widget / 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/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
23OBJS = \
24 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
25WIDGET_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS_6) $(__DEBUGFLAG) \
26 $(__OPTIMIZEFLAG_2) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
27 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I.\..\..\..\include \
28 -I.\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) \
29 -I.\..\..\..\src\tiff -I.\..\..\..\src\jpeg -I.\..\..\..\src\png \
30 -I.\..\..\..\src\zlib -I.\..\..\..\src\regex -I.\..\..\..\src\expat\lib -I. \
31 $(__DLLFLAG_p) $(CXXFLAGS)
32
33### Conditionally set variables: ###
34
35!if "$(USE_GUI)" == "0"
36PORTNAME = base
37!endif
38!if "$(USE_GUI)" == "1"
39PORTNAME = msw
40!endif
41!if "$(BUILD)" == "debug"
42WXDEBUGFLAG = d
43!endif
44!if "$(SHARED)" == "1"
45WXDLLFLAG = dll
46!endif
47!if "$(UNICODE)" == "1"
48WXUNICODEFLAG = u
49!endif
50!if "$(WXUNIV)" == "1"
51WXUNIVNAME = univ
52!endif
53!if "$(BUILD)" == "debug"
54__DEBUGFLAG = -v
55!endif
56!if "$(BUILD)" == "release"
57__DEBUGFLAG = -v-
58!endif
59!if "$(BUILD)" == "debug"
60__DEBUG_DEFINE_p = -D__WXDEBUG__
61!endif
62!if "$(BUILD)" == "debug"
63__DEBUG_DEFINE_p_1 = -d__WXDEBUG__
64!endif
65!if "$(SHARED)" == "1"
66__DLLFLAG_p = -DWXUSINGDLL
67!endif
68!if "$(SHARED)" == "1"
69__DLLFLAG_p_1 = -dWXUSINGDLL
70!endif
71!if "$(BUILD)" == "debug"
72__OPTIMIZEFLAG_2 = -Od
73!endif
74!if "$(BUILD)" == "release"
75__OPTIMIZEFLAG_2 = -O2
76!endif
77!if "$(RUNTIME_LIBS)" == "dynamic"
78__RUNTIME_LIBS_6 = -tWR
79!endif
80!if "$(RUNTIME_LIBS)" == "static"
81__RUNTIME_LIBS_6 =
82!endif
83!if "$(RUNTIME_LIBS)" == "dynamic"
84__RUNTIME_LIBS_7 = i
85!endif
86!if "$(RUNTIME_LIBS)" == "static"
87__RUNTIME_LIBS_7 =
88!endif
89!if "$(UNICODE)" == "1"
90__UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
91!endif
92!if "$(UNICODE)" == "1"
93__UNICODE_DEFINE_p_1 = -dwxUSE_UNICODE=1
94!endif
95!if "$(MONOLITHIC)" == "0"
96__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
97!endif
98!if "$(MONOLITHIC)" == "0"
99__WXLIB_CORE_p = \
100 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
101!endif
102!if "$(MONOLITHIC)" == "0"
103__WXLIB_HTML_p = \
104 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html.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 "$(WXUNIV)" == "1"
114__WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
115!endif
116
117
118all: $(OBJS)
119$(OBJS):
120 -if not exist $(OBJS) mkdir $(OBJS)
121
122### Targets: ###
123
124all: $(OBJS)\widget.exe data
125
126$(OBJS)\widget_widget.obj: .\widget.cpp
127 $(CXX) -q -c -P -o$@ $(WIDGET_CXXFLAGS) $**
128
129$(OBJS)\widget_widget.res: .\widget.rc
130 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) -i.\..\..\..\include -i.\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -i.\..\..\..\src\tiff -i.\..\..\..\src\jpeg -i.\..\..\..\src\png -i.\..\..\..\src\zlib -i.\..\..\..\src\regex -i.\..\..\..\src\expat\lib -i. $(__DLLFLAG_p_1) $**
131
132clean:
133 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
134 -if exist $(OBJS)\*.res del $(OBJS)\*.res
135 -if exist $(OBJS)\widget.exe del $(OBJS)\widget.exe
136
137data:
138 if not exist $(OBJS) mkdir $(OBJS)
139 for %f in (start.htm) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
140
141$(OBJS)\widget.exe: $(OBJS)\widget_widget.obj $(OBJS)\widget_widget.res
142 ilink32 -Tpe -q $(LDFLAGS) $(__DEBUGFLAG) -L.\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -aa @&&|
143 c0w32.obj $(OBJS)\widget_widget.obj,$@,, $(__WXLIB_HTML_p) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) wxtiff$(WXDEBUGFLAG).lib wxjpeg$(WXDEBUGFLAG).lib wxpng$(WXDEBUGFLAG).lib wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib import32.lib ole2w32.lib cw32mt$(__RUNTIME_LIBS_7).lib,, $(OBJS)\widget_widget.res
144|