]> git.saurik.com Git - wxWidgets.git/blame - samples/dialogs/makefile.bcc
regenerated makefiles
[wxWidgets.git] / samples / dialogs / makefile.bcc
CommitLineData
6f628073
VS
1# =========================================================================
2# This makefile was generated by
bdc408c4 3# Bakefile 0.1.1 (http://bakefile.sourceforge.net)
6f628073
VS
4# Do not modify, all changes will be overwritten!
5# =========================================================================
62448488 6
0706fb23
VS
7!ifndef BCCDIR
8BCCDIR = $(MAKEDIR)\..
9!endif
6f628073 10
250700e4 11!include ../../build/config.bcc
6f628073
VS
12
13# -------------------------------------------------------------------------
14# Do not modify the rest of this file!
15# -------------------------------------------------------------------------
16
6f628073
VS
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
25a73439 23DIALOGS_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS_6) $(__DEBUGINFO) \
250700e4 24 $(__OPTIMIZEFLAG_2) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
25a73439 25 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I.\..\..\include -I$(LIBDIRNAME) \
250700e4 26 -I.\..\..\src\tiff -I.\..\..\src\jpeg -I.\..\..\src\png -I.\..\..\src\zlib \
bdc408c4 27 -I.\..\..\src\regex -I.\..\..\src\expat\lib -I. $(__DLLFLAG_p) $(CXXFLAGS)
25a73439
VS
28DIALOGS_OBJECTS = \
29 $(OBJS)\dialogs_dialogs.obj
30LIBDIRNAME = \
31 .\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
250700e4
RD
32OBJS = \
33 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
6f628073
VS
34
35### Conditionally set variables: ###
36
37!if "$(USE_GUI)" == "0"
38PORTNAME = base
62448488 39!endif
6f628073
VS
40!if "$(USE_GUI)" == "1"
41PORTNAME = msw
42!endif
25a73439
VS
43!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
44WXDEBUGFLAG = d
45!endif
46!if "$(DEBUG_FLAG)" == "1"
6f628073
VS
47WXDEBUGFLAG = d
48!endif
49!if "$(SHARED)" == "1"
50WXDLLFLAG = dll
51!endif
52!if "$(UNICODE)" == "1"
53WXUNICODEFLAG = u
54!endif
55!if "$(WXUNIV)" == "1"
56WXUNIVNAME = univ
57!endif
25a73439
VS
58!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
59__DEBUGINFO = -v
ee5749a6 60!endif
25a73439
VS
61!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
62__DEBUGINFO = -v-
ee5749a6 63!endif
25a73439
VS
64!if "$(DEBUG_INFO)" == "0"
65__DEBUGINFO = -v-
66!endif
67!if "$(DEBUG_INFO)" == "1"
68__DEBUGINFO = -v
69!endif
70!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
6f628073
VS
71__DEBUG_DEFINE_p = -D__WXDEBUG__
72!endif
25a73439
VS
73!if "$(DEBUG_FLAG)" == "1"
74__DEBUG_DEFINE_p = -D__WXDEBUG__
75!endif
76!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
77__DEBUG_DEFINE_p_1 = -d__WXDEBUG__
78!endif
79!if "$(DEBUG_FLAG)" == "1"
6f628073
VS
80__DEBUG_DEFINE_p_1 = -d__WXDEBUG__
81!endif
82!if "$(SHARED)" == "1"
83__DLLFLAG_p = -DWXUSINGDLL
84!endif
85!if "$(SHARED)" == "1"
86__DLLFLAG_p_1 = -dWXUSINGDLL
87!endif
25a73439
VS
88!if "$(USE_GUI)" == "1"
89__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
90!endif
91!if "$(USE_GUI)" == "1"
92__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
93!endif
94!if "$(USE_GUI)" == "1"
95__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
96!endif
ee5749a6
VS
97!if "$(BUILD)" == "debug"
98__OPTIMIZEFLAG_2 = -Od
99!endif
100!if "$(BUILD)" == "release"
101__OPTIMIZEFLAG_2 = -O2
102!endif
250700e4
RD
103!if "$(RUNTIME_LIBS)" == "dynamic"
104__RUNTIME_LIBS_6 = -tWR
105!endif
106!if "$(RUNTIME_LIBS)" == "static"
107__RUNTIME_LIBS_6 =
108!endif
109!if "$(RUNTIME_LIBS)" == "dynamic"
110__RUNTIME_LIBS_7 = i
111!endif
112!if "$(RUNTIME_LIBS)" == "static"
113__RUNTIME_LIBS_7 =
114!endif
6f628073
VS
115!if "$(UNICODE)" == "1"
116__UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
117!endif
118!if "$(UNICODE)" == "1"
119__UNICODE_DEFINE_p_1 = -dwxUSE_UNICODE=1
120!endif
121!if "$(MONOLITHIC)" == "0"
0706fb23
VS
122__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
123!endif
124!if "$(MONOLITHIC)" == "0"
250700e4
RD
125__WXLIB_CORE_p = \
126 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
6f628073
VS
127!endif
128!if "$(MONOLITHIC)" == "1"
250700e4
RD
129__WXLIB_MONO_p = \
130 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
6f628073
VS
131!endif
132!if "$(WXUNIV)" == "1"
133__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
134!endif
135!if "$(WXUNIV)" == "1"
136__WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
137!endif
138
139
140all: $(OBJS)
141$(OBJS):
142 -if not exist $(OBJS) mkdir $(OBJS)
143
144### Targets: ###
145
146all: $(OBJS)\dialogs.exe data
147
148$(OBJS)\dialogs_dialogs.obj: .\dialogs.cpp
0706fb23 149 $(CXX) -q -c -P -o$@ $(DIALOGS_CXXFLAGS) $**
6f628073
VS
150
151$(OBJS)\dialogs_dialogs.res: .\dialogs.rc
25a73439 152 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) -i.\..\..\include -i$(LIBDIRNAME) -i.\..\..\src\tiff -i.\..\..\src\jpeg -i.\..\..\src\png -i.\..\..\src\zlib -i.\..\..\src\regex -i.\..\..\src\expat\lib -i. $(__DLLFLAG_p_1) $**
6f628073
VS
153
154clean:
155 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
156 -if exist $(OBJS)\*.res del $(OBJS)\*.res
157 -if exist $(OBJS)\dialogs.exe del $(OBJS)\dialogs.exe
62448488 158
6f628073 159data:
0706fb23
VS
160 if not exist $(OBJS) mkdir $(OBJS)
161 for %f in (tips.txt) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
62448488 162
25a73439
VS
163$(OBJS)\dialogs.exe: $(DIALOGS_OBJECTS) $(OBJS)\dialogs_dialogs.res
164 ilink32 -Tpe -q $(LDFLAGS) $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
165 c0w32.obj $(DIALOGS_OBJECTS),$@,, $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib import32.lib ole2w32.lib cw32mt$(__RUNTIME_LIBS_7).lib,, $(OBJS)\dialogs_dialogs.res
6f628073 166|