]> git.saurik.com Git - wxWidgets.git/blame - samples/console/makefile.bcc
have CGImage Support in all OSX builds
[wxWidgets.git] / samples / console / makefile.bcc
CommitLineData
6f628073
VS
1# =========================================================================
2# This makefile was generated by
b14abf14 3# Bakefile 0.1.6 (http://bakefile.sourceforge.net)
6f628073
VS
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
c2149c93
VS
7.autodepend
8
0706fb23 9!ifndef BCCDIR
c2149c93
VS
10!ifndef MAKEDIR
11!error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
12!endif
0706fb23
VS
13BCCDIR = $(MAKEDIR)\..
14!endif
6f628073 15
fd9f42b6 16!include ../../build/msw/config.bcc
6f628073
VS
17
18# -------------------------------------------------------------------------
19# Do not modify the rest of this file!
20# -------------------------------------------------------------------------
21
6f628073
VS
22### Variables: ###
23
c33fae85 24WX_RELEASE_NODOT = 25
b17c1746
DE
25OBJS = \
26 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
b14abf14 27LIBDIRNAME = .\..\..\lib\bcc_$(LIBTYPE_SUFFIX)$(CFG)
b17c1746
DE
28SETUPHDIR = \
29 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
c2149c93
VS
30CONSOLE_CXXFLAGS = $(__RUNTIME_LIBS_6) -I$(BCCDIR)\include $(__DEBUGINFO) \
31 $(__OPTIMIZEFLAG_2) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
75a0a7b7 32 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I.\..\..\include -I$(SETUPHDIR) \
b14abf14 33 -I. $(__DLLFLAG_p) -DwxUSE_GUI=0 $(CPPFLAGS) $(CXXFLAGS)
25a73439
VS
34CONSOLE_OBJECTS = \
35 $(OBJS)\console_console.obj
6f628073
VS
36
37### Conditionally set variables: ###
38
39!if "$(USE_GUI)" == "0"
40PORTNAME = base
41!endif
42!if "$(USE_GUI)" == "1"
43PORTNAME = msw
44!endif
25a73439
VS
45!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
46WXDEBUGFLAG = d
47!endif
48!if "$(DEBUG_FLAG)" == "1"
6f628073
VS
49WXDEBUGFLAG = d
50!endif
6f628073
VS
51!if "$(UNICODE)" == "1"
52WXUNICODEFLAG = u
53!endif
54!if "$(WXUNIV)" == "1"
55WXUNIVNAME = univ
56!endif
6f628073 57!if "$(SHARED)" == "1"
b17c1746 58WXDLLFLAG = dll
25a73439 59!endif
b14abf14
JS
60!if "$(SHARED)" == "0"
61LIBTYPE_SUFFIX = lib
62!endif
63!if "$(SHARED)" == "1"
64LIBTYPE_SUFFIX = dll
65!endif
dd65d8c8
RN
66!if "$(MONOLITHIC)" == "0"
67EXTRALIBS_FOR_BASE =
68!endif
69!if "$(MONOLITHIC)" == "1"
70EXTRALIBS_FOR_BASE =
71!endif
ee5749a6
VS
72!if "$(BUILD)" == "debug"
73__OPTIMIZEFLAG_2 = -Od
74!endif
75!if "$(BUILD)" == "release"
76__OPTIMIZEFLAG_2 = -O2
77!endif
250700e4
RD
78!if "$(RUNTIME_LIBS)" == "dynamic"
79__RUNTIME_LIBS_6 = -tWR
80!endif
81!if "$(RUNTIME_LIBS)" == "static"
82__RUNTIME_LIBS_6 =
83!endif
84!if "$(RUNTIME_LIBS)" == "dynamic"
85__RUNTIME_LIBS_7 = i
86!endif
87!if "$(RUNTIME_LIBS)" == "static"
88__RUNTIME_LIBS_7 =
89!endif
b17c1746
DE
90!if "$(WXUNIV)" == "1"
91__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
92!endif
93!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
94__DEBUG_DEFINE_p = -D__WXDEBUG__
95!endif
96!if "$(DEBUG_FLAG)" == "1"
97__DEBUG_DEFINE_p = -D__WXDEBUG__
98!endif
6f628073 99!if "$(UNICODE)" == "1"
ec08d395 100__UNICODE_DEFINE_p = -D_UNICODE
6f628073 101!endif
b17c1746
DE
102!if "$(SHARED)" == "1"
103__DLLFLAG_p = -DWXUSINGDLL
104!endif
105!if "$(MONOLITHIC)" == "0"
c33fae85
RN
106__WXLIB_NET_p = \
107 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net.lib
b17c1746 108!endif
b92ca05a 109!if "$(MONOLITHIC)" == "0" && "$(USE_ODBC)" == "1"
c33fae85
RN
110__WXLIB_ODBC_p = \
111 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_odbc.lib
4e209a20 112!endif
6f628073 113!if "$(MONOLITHIC)" == "0"
c33fae85
RN
114__WXLIB_BASE_p = \
115 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
6f628073
VS
116!endif
117!if "$(MONOLITHIC)" == "1"
250700e4 118__WXLIB_MONO_p = \
c33fae85 119 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
6f628073 120!endif
b17c1746 121!if "$(USE_GUI)" == "1"
9c2d002b 122__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
651bb0c9 123!endif
b17c1746 124!if "$(USE_GUI)" == "1"
9c2d002b 125__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
548d77c7 126!endif
b17c1746 127!if "$(USE_GUI)" == "1"
9c2d002b 128__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
b17c1746
DE
129!endif
130!if "$(MSLU)" == "1"
131__UNICOWS_LIB_p = unicows.lib
132!endif
b17c1746
DE
133!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
134__DEBUGINFO = -v
135!endif
136!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
137__DEBUGINFO = -v-
138!endif
139!if "$(DEBUG_INFO)" == "0"
140__DEBUGINFO = -v-
141!endif
142!if "$(DEBUG_INFO)" == "1"
143__DEBUGINFO = -v
6f628073
VS
144!endif
145
146
147all: $(OBJS)
148$(OBJS):
149 -if not exist $(OBJS) mkdir $(OBJS)
150
151### Targets: ###
152
153all: $(OBJS)\console.exe data
154
6f628073
VS
155clean:
156 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
157 -if exist $(OBJS)\*.res del $(OBJS)\*.res
b14abf14 158 -if exist $(OBJS)\*.csm del $(OBJS)\*.csm
6f628073 159 -if exist $(OBJS)\console.exe del $(OBJS)\console.exe
ec08d395
JS
160 -if exist $(OBJS)\console.tds del $(OBJS)\console.tds
161 -if exist $(OBJS)\console.ilc del $(OBJS)\console.ilc
162 -if exist $(OBJS)\console.ild del $(OBJS)\console.ild
163 -if exist $(OBJS)\console.ilf del $(OBJS)\console.ilf
164 -if exist $(OBJS)\console.ils del $(OBJS)\console.ils
6f628073 165
25a73439 166$(OBJS)\console.exe: $(CONSOLE_OBJECTS)
c2149c93 167 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -ap @&&|
dd65d8c8 168 c0x32.obj $(CONSOLE_OBJECTS),$@,, $(__WXLIB_NET_p) $(__WXLIB_ODBC_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) ole2w32.lib oleacc.lib odbc32.lib import32.lib cw32mt$(__RUNTIME_LIBS_7).lib,,
6f628073
VS
169|
170
171data:
0706fb23
VS
172 if not exist $(OBJS) mkdir $(OBJS)
173 for %f in (testdata.fc) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
b17c1746
DE
174
175$(OBJS)\console_console.obj: .\console.cpp
176 $(CXX) -q -c -P -o$@ $(CONSOLE_CXXFLAGS) $**
b14abf14 177