]> git.saurik.com Git - wxWidgets.git/blame - samples/html/virtual/makefile.bcc
fixed loading of icons from MIME types
[wxWidgets.git] / samples / html / virtual / makefile.bcc
CommitLineData
250700e4
RD
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
23OBJS = \
24 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
25VIRTUAL_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. $(__DLLFLAG_p) $(CXXFLAGS)
31
32### Conditionally set variables: ###
33
34!if "$(USE_GUI)" == "0"
35PORTNAME = base
36!endif
37!if "$(USE_GUI)" == "1"
38PORTNAME = msw
39!endif
40!if "$(BUILD)" == "debug"
41WXDEBUGFLAG = d
42!endif
43!if "$(SHARED)" == "1"
44WXDLLFLAG = dll
45!endif
46!if "$(UNICODE)" == "1"
47WXUNICODEFLAG = u
48!endif
49!if "$(WXUNIV)" == "1"
50WXUNIVNAME = univ
51!endif
52!if "$(BUILD)" == "debug"
53__DEBUGFLAG = -v
54!endif
55!if "$(BUILD)" == "release"
56__DEBUGFLAG = -v-
57!endif
58!if "$(BUILD)" == "debug"
59__DEBUG_DEFINE_p = -D__WXDEBUG__
60!endif
61!if "$(BUILD)" == "debug"
62__DEBUG_DEFINE_p_1 = -d__WXDEBUG__
63!endif
64!if "$(SHARED)" == "1"
65__DLLFLAG_p = -DWXUSINGDLL
66!endif
67!if "$(SHARED)" == "1"
68__DLLFLAG_p_1 = -dWXUSINGDLL
69!endif
70!if "$(BUILD)" == "debug"
71__OPTIMIZEFLAG_2 = -Od
72!endif
73!if "$(BUILD)" == "release"
74__OPTIMIZEFLAG_2 = -O2
75!endif
76!if "$(RUNTIME_LIBS)" == "dynamic"
77__RUNTIME_LIBS_6 = -tWR
78!endif
79!if "$(RUNTIME_LIBS)" == "static"
80__RUNTIME_LIBS_6 =
81!endif
82!if "$(RUNTIME_LIBS)" == "dynamic"
83__RUNTIME_LIBS_7 = i
84!endif
85!if "$(RUNTIME_LIBS)" == "static"
86__RUNTIME_LIBS_7 =
87!endif
88!if "$(UNICODE)" == "1"
89__UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
90!endif
91!if "$(UNICODE)" == "1"
92__UNICODE_DEFINE_p_1 = -dwxUSE_UNICODE=1
93!endif
94!if "$(MONOLITHIC)" == "0"
95__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
96!endif
97!if "$(MONOLITHIC)" == "0"
98__WXLIB_CORE_p = \
99 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
100!endif
101!if "$(MONOLITHIC)" == "0"
102__WXLIB_HTML_p = \
103 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html.lib
104!endif
105!if "$(MONOLITHIC)" == "1"
106__WXLIB_MONO_p = \
107 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
108!endif
109!if "$(WXUNIV)" == "1"
110__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
111!endif
112!if "$(WXUNIV)" == "1"
113__WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
114!endif
115
116
117all: $(OBJS)
118$(OBJS):
119 -if not exist $(OBJS) mkdir $(OBJS)
120
121### Targets: ###
122
123all: $(OBJS)\virtual.exe data
124
125$(OBJS)\virtual_virtual.obj: .\virtual.cpp
126 $(CXX) -q -c -P -o$@ $(VIRTUAL_CXXFLAGS) $**
127
128$(OBJS)\virtual_virtual.res: .\virtual.rc
129 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. $(__DLLFLAG_p_1) $**
130
131clean:
132 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
133 -if exist $(OBJS)\*.res del $(OBJS)\*.res
134 -if exist $(OBJS)\virtual.exe del $(OBJS)\virtual.exe
135
136data:
137 if not exist $(OBJS) mkdir $(OBJS)
138 for %f in (start.htm) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
139
140$(OBJS)\virtual.exe: $(OBJS)\virtual_virtual.obj $(OBJS)\virtual_virtual.res
141 ilink32 -Tpe -q $(LDFLAGS) $(__DEBUGFLAG) -L.\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -aa @&&|
142 c0w32.obj $(OBJS)\virtual_virtual.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 import32.lib ole2w32.lib cw32mt$(__RUNTIME_LIBS_7).lib,, $(OBJS)\virtual_virtual.res
143|