]> git.saurik.com Git - wxWidgets.git/blame - contrib/samples/ogl/ogledit/makefile.bcc
Regenerated makefiles
[wxWidgets.git] / contrib / samples / ogl / ogledit / makefile.bcc
CommitLineData
fd9f42b6
VS
1# =========================================================================
2# This makefile was generated by
c4839ccf 3# Bakefile 0.1.4 (http://bakefile.sourceforge.net)
fd9f42b6
VS
4# Do not modify, all changes will be overwritten!
5# =========================================================================
1fc25a89 6
9bfe7ad9
VS
7.autodepend
8
fd9f42b6 9!ifndef BCCDIR
9bfe7ad9
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
fd9f42b6 13BCCDIR = $(MAKEDIR)\..
1fc25a89
JS
14!endif
15
fd9f42b6 16!include ../../../../build/msw/config.bcc
1fc25a89 17
fd9f42b6
VS
18# -------------------------------------------------------------------------
19# Do not modify the rest of this file!
20# -------------------------------------------------------------------------
1fc25a89 21
fd9f42b6
VS
22### Variables: ###
23
c33fae85 24WX_RELEASE_NODOT = 25
fd9f42b6
VS
25OBJS = \
26 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
b17c1746
DE
27SETUPHDIR = \
28 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
9bfe7ad9
VS
29OGLEDIT_CXXFLAGS = $(__RUNTIME_LIBS_6) -I$(BCCDIR)\include $(__DEBUGINFO) \
30 $(__OPTIMIZEFLAG_2) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
fd9f42b6 31 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I.\..\..\..\..\include \
c33fae85 32 -I$(SETUPHDIR) -I. $(__DLLFLAG_p) -I.\..\..\..\..\samples -DNOPCH \
9bfe7ad9 33 -I.\..\..\..\include $(CPPFLAGS) $(CXXFLAGS)
fd9f42b6
VS
34OGLEDIT_OBJECTS = \
35 $(OBJS)\ogledit_ogledit.obj \
36 $(OBJS)\ogledit_doc.obj \
37 $(OBJS)\ogledit_view.obj \
38 $(OBJS)\ogledit_palette.obj
39
40### Conditionally set variables: ###
41
42!if "$(USE_GUI)" == "0"
43PORTNAME = base
44!endif
45!if "$(USE_GUI)" == "1"
46PORTNAME = msw
47!endif
48!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
49WXDEBUGFLAG = d
50!endif
51!if "$(DEBUG_FLAG)" == "1"
52WXDEBUGFLAG = d
53!endif
fd9f42b6
VS
54!if "$(UNICODE)" == "1"
55WXUNICODEFLAG = u
56!endif
57!if "$(WXUNIV)" == "1"
58WXUNIVNAME = univ
59!endif
fd9f42b6 60!if "$(SHARED)" == "1"
b17c1746 61WXDLLFLAG = dll
fd9f42b6 62!endif
dd65d8c8
RN
63!if "$(MONOLITHIC)" == "0"
64EXTRALIBS_FOR_BASE =
65!endif
66!if "$(MONOLITHIC)" == "1"
67EXTRALIBS_FOR_BASE =
68!endif
fd9f42b6
VS
69!if "$(BUILD)" == "debug"
70__OPTIMIZEFLAG_2 = -Od
71!endif
72!if "$(BUILD)" == "release"
73__OPTIMIZEFLAG_2 = -O2
74!endif
75!if "$(RUNTIME_LIBS)" == "dynamic"
76__RUNTIME_LIBS_6 = -tWR
77!endif
78!if "$(RUNTIME_LIBS)" == "static"
79__RUNTIME_LIBS_6 =
80!endif
81!if "$(RUNTIME_LIBS)" == "dynamic"
82__RUNTIME_LIBS_7 = i
83!endif
84!if "$(RUNTIME_LIBS)" == "static"
85__RUNTIME_LIBS_7 =
86!endif
b17c1746
DE
87!if "$(WXUNIV)" == "1"
88__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
89!endif
90!if "$(WXUNIV)" == "1"
91__WXUNIV_DEFINE_p_1 = -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
99!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
100__DEBUG_DEFINE_p_1 = -d__WXDEBUG__
101!endif
102!if "$(DEBUG_FLAG)" == "1"
103__DEBUG_DEFINE_p_1 = -d__WXDEBUG__
104!endif
fd9f42b6 105!if "$(UNICODE)" == "1"
ec08d395 106__UNICODE_DEFINE_p = -D_UNICODE
fd9f42b6
VS
107!endif
108!if "$(UNICODE)" == "1"
ec08d395 109__UNICODE_DEFINE_p_1 = -d_UNICODE
fd9f42b6 110!endif
b17c1746
DE
111!if "$(SHARED)" == "1"
112__DLLFLAG_p = -DWXUSINGDLL
2265a2d5 113!endif
b17c1746
DE
114!if "$(SHARED)" == "1"
115__DLLFLAG_p_1 = -dWXUSINGDLL
fd9f42b6
VS
116!endif
117!if "$(MONOLITHIC)" == "0"
118__WXLIB_CORE_p = \
c33fae85 119 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
fd9f42b6 120!endif
b17c1746 121!if "$(MONOLITHIC)" == "0"
c33fae85
RN
122__WXLIB_BASE_p = \
123 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
b17c1746 124!endif
fd9f42b6
VS
125!if "$(MONOLITHIC)" == "1"
126__WXLIB_MONO_p = \
c33fae85 127 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
fd9f42b6 128!endif
b17c1746 129!if "$(USE_GUI)" == "1"
9c2d002b 130__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
fd9f42b6 131!endif
b17c1746 132!if "$(USE_GUI)" == "1"
9c2d002b 133__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
b17c1746
DE
134!endif
135!if "$(USE_GUI)" == "1"
9c2d002b 136__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
b17c1746
DE
137!endif
138!if "$(MSLU)" == "1"
139__UNICOWS_LIB_p = unicows.lib
140!endif
141!if "$(SHARED)" == "0"
142LIBDIRNAME = .\..\..\..\..\lib\bcc_lib$(CFG)
143!endif
144!if "$(SHARED)" == "1"
145LIBDIRNAME = .\..\..\..\..\lib\bcc_dll$(CFG)
146!endif
147!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
148__DEBUGINFO = -v
149!endif
150!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
151__DEBUGINFO = -v-
152!endif
153!if "$(DEBUG_INFO)" == "0"
154__DEBUGINFO = -v-
155!endif
156!if "$(DEBUG_INFO)" == "1"
157__DEBUGINFO = -v
fd9f42b6
VS
158!endif
159
fd9f42b6
VS
160
161all: $(OBJS)
162$(OBJS):
163 -if not exist $(OBJS) mkdir $(OBJS)
164
165### Targets: ###
166
167all: $(OBJS)\ogledit.exe
168
fd9f42b6
VS
169clean:
170 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
171 -if exist $(OBJS)\*.res del $(OBJS)\*.res
172 -if exist $(OBJS)\ogledit.exe del $(OBJS)\ogledit.exe
ec08d395
JS
173 -if exist $(OBJS)\ogledit.tds del $(OBJS)\ogledit.tds
174 -if exist $(OBJS)\ogledit.ilc del $(OBJS)\ogledit.ilc
175 -if exist $(OBJS)\ogledit.ild del $(OBJS)\ogledit.ild
176 -if exist $(OBJS)\ogledit.ilf del $(OBJS)\ogledit.ilf
177 -if exist $(OBJS)\ogledit.ils del $(OBJS)\ogledit.ils
1fc25a89 178
fd9f42b6 179$(OBJS)\ogledit.exe: $(OGLEDIT_OBJECTS) $(OBJS)\ogledit_ogledit.res
9bfe7ad9 180 ilink32 -Tpe -q $(LDFLAGS) -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
dd65d8c8 181 c0w32.obj $(OGLEDIT_OBJECTS),$@,, wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl.lib wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated.lib $(__WXLIB_CORE_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,, $(OBJS)\ogledit_ogledit.res
fd9f42b6 182|
b17c1746
DE
183
184$(OBJS)\ogledit_ogledit.obj: .\ogledit.cpp
185 $(CXX) -q -c -P -o$@ $(OGLEDIT_CXXFLAGS) $**
186
187$(OBJS)\ogledit_doc.obj: .\doc.cpp
188 $(CXX) -q -c -P -o$@ $(OGLEDIT_CXXFLAGS) $**
189
190$(OBJS)\ogledit_view.obj: .\view.cpp
191 $(CXX) -q -c -P -o$@ $(OGLEDIT_CXXFLAGS) $**
192
193$(OBJS)\ogledit_palette.obj: .\palette.cpp
194 $(CXX) -q -c -P -o$@ $(OGLEDIT_CXXFLAGS) $**
195
196$(OBJS)\ogledit_ogledit.res: .\ogledit.rc
c33fae85 197 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) -i.\..\..\..\..\include -i$(SETUPHDIR) -i. $(__DLLFLAG_p_1) -i.\..\..\..\..\samples -dNOPCH -i.\..\..\..\include $**