]> git.saurik.com Git - wxWidgets.git/blame - samples/display/makefile.bcc
ODBC update
[wxWidgets.git] / samples / display / makefile.bcc
CommitLineData
250700e4
RD
1# =========================================================================
2# This makefile was generated by
bdc408c4 3# Bakefile 0.1.1 (http://bakefile.sourceforge.net)
250700e4
RD
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
25a73439 23DISPLAY_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
28DISPLAY_OBJECTS = \
29 $(OBJS)\display_display.obj
30LIBDIRNAME = \
31 .\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
250700e4
RD
32OBJS = \
33 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
34
35### Conditionally set variables: ###
36
37!if "$(USE_GUI)" == "0"
38PORTNAME = base
39!endif
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"
250700e4
RD
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
250700e4 60!endif
25a73439
VS
61!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
62__DEBUGINFO = -v-
250700e4 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"
71__DEBUG_DEFINE_p = -D__WXDEBUG__
72!endif
73!if "$(DEBUG_FLAG)" == "1"
250700e4
RD
74__DEBUG_DEFINE_p = -D__WXDEBUG__
75!endif
76!if "$(SHARED)" == "1"
77__DLLFLAG_p = -DWXUSINGDLL
78!endif
25a73439
VS
79!if "$(USE_GUI)" == "1"
80__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
81!endif
82!if "$(USE_GUI)" == "1"
83__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
84!endif
85!if "$(USE_GUI)" == "1"
86__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
87!endif
250700e4
RD
88!if "$(BUILD)" == "debug"
89__OPTIMIZEFLAG_2 = -Od
90!endif
91!if "$(BUILD)" == "release"
92__OPTIMIZEFLAG_2 = -O2
93!endif
94!if "$(RUNTIME_LIBS)" == "dynamic"
95__RUNTIME_LIBS_6 = -tWR
96!endif
97!if "$(RUNTIME_LIBS)" == "static"
98__RUNTIME_LIBS_6 =
99!endif
100!if "$(RUNTIME_LIBS)" == "dynamic"
101__RUNTIME_LIBS_7 = i
102!endif
103!if "$(RUNTIME_LIBS)" == "static"
104__RUNTIME_LIBS_7 =
105!endif
106!if "$(UNICODE)" == "1"
107__UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
108!endif
109!if "$(MONOLITHIC)" == "0"
110__WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
111!endif
112!if "$(MONOLITHIC)" == "0"
113__WXLIB_CORE_p = \
114 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
115!endif
116!if "$(MONOLITHIC)" == "1"
117__WXLIB_MONO_p = \
118 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
119!endif
120!if "$(WXUNIV)" == "1"
121__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
122!endif
123
124
125all: $(OBJS)
126$(OBJS):
127 -if not exist $(OBJS) mkdir $(OBJS)
128
129### Targets: ###
130
131all: $(OBJS)\display.exe
132
133$(OBJS)\display_display.obj: .\display.cpp
134 $(CXX) -q -c -P -o$@ $(DISPLAY_CXXFLAGS) $**
135
136clean:
137 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
138 -if exist $(OBJS)\*.res del $(OBJS)\*.res
139 -if exist $(OBJS)\display.exe del $(OBJS)\display.exe
140
25a73439
VS
141$(OBJS)\display.exe: $(DISPLAY_OBJECTS)
142 ilink32 -Tpe -q $(LDFLAGS) $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
143 c0w32.obj $(DISPLAY_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,,
250700e4 144|