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 WIDGETS_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 -I.\..\..\src\zlib \
30 -I.\..\..\src\regex -I. $(__DLLFLAG_p) $(CXXFLAGS)
32 ### Conditionally set variables: ###
34 !if "$(USE_GUI)" == "0"
37 !if "$(USE_GUI)" == "1"
40 !if "$(BUILD)" == "debug"
43 !if "$(SHARED)" == "1"
46 !if "$(UNICODE)" == "1"
49 !if "$(WXUNIV)" == "1"
52 !if "$(BUILD)" == "debug"
55 !if "$(BUILD)" == "release"
58 !if "$(BUILD)" == "debug"
59 __DEBUG_DEFINE_p = -D__WXDEBUG__
61 !if "$(BUILD)" == "debug"
62 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
64 !if "$(SHARED)" == "1"
65 __DLLFLAG_p = -DWXUSINGDLL
67 !if "$(SHARED)" == "1"
68 __DLLFLAG_p_1 = -dWXUSINGDLL
70 !if "$(BUILD)" == "debug"
71 __OPTIMIZEFLAG_2 = -Od
73 !if "$(BUILD)" == "release"
74 __OPTIMIZEFLAG_2 = -O2
76 !if "$(RUNTIME_LIBS)" == "dynamic"
77 __RUNTIME_LIBS_6 = -tWR
79 !if "$(RUNTIME_LIBS)" == "static"
82 !if "$(RUNTIME_LIBS)" == "dynamic"
85 !if "$(RUNTIME_LIBS)" == "static"
88 !if "$(UNICODE)" == "1"
89 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
91 !if "$(UNICODE)" == "1"
92 __UNICODE_DEFINE_p_1 = -dwxUSE_UNICODE=1
94 !if "$(MONOLITHIC)" == "0"
95 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
97 !if "$(MONOLITHIC)" == "0"
99 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
101 !if "$(MONOLITHIC)" == "1"
103 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
105 !if "$(WXUNIV)" == "1"
106 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
108 !if "$(WXUNIV)" == "1"
109 __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
115 -if not exist $(OBJS) mkdir $(OBJS)
119 all: $(OBJS)\widgets.exe
121 $(OBJS)\widgets_button.obj: .\button.cpp
122 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
124 $(OBJS)\widgets_combobox.obj: .\combobox.cpp
125 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
127 $(OBJS)\widgets_gauge.obj: .\gauge.cpp
128 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
130 $(OBJS)\widgets_listbox.obj: .\listbox.cpp
131 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
133 $(OBJS)\widgets_notebook.obj: .\notebook.cpp
134 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
136 $(OBJS)\widgets_radiobox.obj: .\radiobox.cpp
137 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
139 $(OBJS)\widgets_slider.obj: .\slider.cpp
140 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
142 $(OBJS)\widgets_spinbtn.obj: .\spinbtn.cpp
143 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
145 $(OBJS)\widgets_static.obj: .\static.cpp
146 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
148 $(OBJS)\widgets_textctrl.obj: .\textctrl.cpp
149 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
151 $(OBJS)\widgets_widgets.obj: .\widgets.cpp
152 $(CXX) -q -c -P -o$@ $(WIDGETS_CXXFLAGS) $**
154 $(OBJS)\widgets_widgets.res: .\widgets.rc
155 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) $**
158 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
159 -if exist $(OBJS)\*.res del $(OBJS)\*.res
160 -if exist $(OBJS)\widgets.exe del $(OBJS)\widgets.exe
162 $(OBJS)\widgets.exe: $(OBJS)\widgets_button.obj $(OBJS)\widgets_combobox.obj $(OBJS)\widgets_gauge.obj $(OBJS)\widgets_listbox.obj $(OBJS)\widgets_notebook.obj $(OBJS)\widgets_radiobox.obj $(OBJS)\widgets_slider.obj $(OBJS)\widgets_spinbtn.obj $(OBJS)\widgets_static.obj $(OBJS)\widgets_textctrl.obj $(OBJS)\widgets_widgets.obj $(OBJS)\widgets_widgets.res
163 ilink32 -Tpe -q $(LDFLAGS) $(__DEBUGFLAG) -L.\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -aa @&&|
164 c0w32.obj $(OBJS)\widgets_button.obj $(OBJS)\widgets_combobox.obj $(OBJS)\widgets_gauge.obj $(OBJS)\widgets_listbox.obj $(OBJS)\widgets_notebook.obj $(OBJS)\widgets_radiobox.obj $(OBJS)\widgets_slider.obj $(OBJS)\widgets_spinbtn.obj $(OBJS)\widgets_static.obj $(OBJS)\widgets_textctrl.obj $(OBJS)\widgets_widgets.obj,$@,, $(__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)\widgets_widgets.res