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 # =========================================================================
11 !include ../../../build/config.bcc
13 # -------------------------------------------------------------------------
14 # Do not modify the rest of this file!
15 # -------------------------------------------------------------------------
17 !if "$(BCCDIR)" == "\.."
18 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
24 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
25 XRCDEMO_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) \
31 -I.\..\..\include $(CXXFLAGS)
33 ### Conditionally set variables: ###
35 !if "$(USE_GUI)" == "0"
38 !if "$(USE_GUI)" == "1"
41 !if "$(BUILD)" == "debug"
44 !if "$(SHARED)" == "1"
47 !if "$(UNICODE)" == "1"
50 !if "$(WXUNIV)" == "1"
53 !if "$(BUILD)" == "debug"
56 !if "$(BUILD)" == "release"
59 !if "$(BUILD)" == "debug"
60 __DEBUG_DEFINE_p = -D__WXDEBUG__
62 !if "$(BUILD)" == "debug"
63 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
65 !if "$(SHARED)" == "1"
66 __DLLFLAG_p = -DWXUSINGDLL
68 !if "$(SHARED)" == "1"
69 __DLLFLAG_p_1 = -dWXUSINGDLL
71 !if "$(BUILD)" == "debug"
72 __OPTIMIZEFLAG_2 = -Od
74 !if "$(BUILD)" == "release"
75 __OPTIMIZEFLAG_2 = -O2
77 !if "$(RUNTIME_LIBS)" == "dynamic"
78 __RUNTIME_LIBS_6 = -tWR
80 !if "$(RUNTIME_LIBS)" == "static"
83 !if "$(RUNTIME_LIBS)" == "dynamic"
86 !if "$(RUNTIME_LIBS)" == "static"
89 !if "$(UNICODE)" == "1"
90 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
92 !if "$(UNICODE)" == "1"
93 __UNICODE_DEFINE_p_1 = -dwxUSE_UNICODE=1
95 !if "$(MONOLITHIC)" == "0"
96 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
98 !if "$(MONOLITHIC)" == "0"
100 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
102 !if "$(MONOLITHIC)" == "0"
104 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html.lib
106 !if "$(MONOLITHIC)" == "1"
108 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
110 !if "$(WXUNIV)" == "1"
111 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
113 !if "$(WXUNIV)" == "1"
114 __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
120 -if not exist $(OBJS) mkdir $(OBJS)
124 all: $(OBJS)\xrcdemo.exe data
126 $(OBJS)\xrcdemo_custclas.obj: .\custclas.cpp
127 $(CXX) -q -c -P -o$@ $(XRCDEMO_CXXFLAGS) $**
129 $(OBJS)\xrcdemo_derivdlg.obj: .\derivdlg.cpp
130 $(CXX) -q -c -P -o$@ $(XRCDEMO_CXXFLAGS) $**
132 $(OBJS)\xrcdemo_myframe.obj: .\myframe.cpp
133 $(CXX) -q -c -P -o$@ $(XRCDEMO_CXXFLAGS) $**
135 $(OBJS)\xrcdemo_xrcdemo.obj: .\xrcdemo.cpp
136 $(CXX) -q -c -P -o$@ $(XRCDEMO_CXXFLAGS) $**
138 $(OBJS)\xrcdemo_xrcdemo.res: .\xrcdemo.rc
139 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) -i.\..\..\include $**
142 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
143 -if exist $(OBJS)\*.res del $(OBJS)\*.res
144 -if exist $(OBJS)\xrcdemo.exe del $(OBJS)\xrcdemo.exe
147 if not exist $(OBJS)/rc mkdir $(OBJS)/rc
148 for %f in (appicon.ico appicon.xpm artprov.xpm artprov.xrc basicdlg.xpm basicdlg.xrc controls.xpm controls.xrc custclas.xpm custclas.xrc derivdlg.xpm derivdlg.xrc fileopen.gif filesave.gif frame.xrc fuzzy.gif menu.xrc platform.xpm platform.xrc quotes.gif resource.xrc scanning.gif sppicon.ico toolbar.xrc uncenter.xpm uncenter.xrc update.gif variable.xpm variable.xrc) do if not exist $(OBJS)/rc\%f copy ./rc\%f $(OBJS)/rc
150 $(OBJS)\xrcdemo.exe: $(OBJS)\xrcdemo_xrcdemo.obj $(OBJS)\xrcdemo_myframe.obj $(OBJS)\xrcdemo_derivdlg.obj $(OBJS)\xrcdemo_custclas.obj $(OBJS)\xrcdemo_xrcdemo.res
151 ilink32 -Tpe -q $(LDFLAGS) $(__DEBUGFLAG) -L.\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -aa @&&|
152 c0w32.obj $(OBJS)\xrcdemo_xrcdemo.obj $(OBJS)\xrcdemo_myframe.obj $(OBJS)\xrcdemo_derivdlg.obj $(OBJS)\xrcdemo_custclas.obj,$@,, wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_xrc.lib $(__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)\xrcdemo_xrcdemo.res