1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.1 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
11 # -------------------------------------------------------------------------
12 # These are configurable options:
13 # -------------------------------------------------------------------------
15 # Type of compiled binaries [debug,release]
19 # Name of your custom configuration. This affects directory
20 # where object files are stored as well as the location of
21 # compiled .lib files and setup.h under the lib/ toplevel directory.
25 # Standard preprocessor flags (common for CC and CXX)
27 CPPFLAGS = -a4 -g0 -I$(BCCDIR)\include
33 # Standard flags for C++
37 # Standard linker flags
41 # Multiple libraries or single huge monolithic one? [0,1]
45 # Is this official build by wxWindows developers? [0,1]
46 !ifndef OFFICIAL_BUILD
49 # What type of library to build? [0,1]
53 # Compile Unicode build of wxWindows? [0,1]
57 # Build GUI libraries? [0,1]
61 # Build wxUniversal instead of native port? [0,1]
66 # -------------------------------------------------------------------------
67 # Do not modify the rest of this file!
68 # -------------------------------------------------------------------------
70 !if "$(BCCDIR)" == "\.."
71 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
76 OBJS = bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
77 MINIMAL_CXXFLAGS = $(CPPFLAGS) $(__DEBUGFLAG) $(__OPTIMIZEFLAG_2) -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -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) $(CXXFLAGS)
79 ### Conditionally set variables: ###
81 !if "$(USE_GUI)" == "0"
84 !if "$(USE_GUI)" == "1"
87 !if "$(BUILD)" == "debug"
90 !if "$(SHARED)" == "1"
93 !if "$(UNICODE)" == "1"
96 !if "$(WXUNIV)" == "1"
99 !if "$(BUILD)" == "debug"
102 !if "$(BUILD)" == "release"
105 !if "$(BUILD)" == "debug"
106 __DEBUG_DEFINE_p = -D__WXDEBUG__
108 !if "$(BUILD)" == "debug"
109 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
111 !if "$(SHARED)" == "1"
112 __DLLFLAG_p = -DWXUSINGDLL
114 !if "$(SHARED)" == "1"
115 __DLLFLAG_p_1 = -dWXUSINGDLL
117 !if "$(BUILD)" == "debug"
118 __OPTIMIZEFLAG_2 = -Od
120 !if "$(BUILD)" == "release"
121 __OPTIMIZEFLAG_2 = -O2
123 !if "$(UNICODE)" == "1"
124 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
126 !if "$(UNICODE)" == "1"
127 __UNICODE_DEFINE_p_1 = -dwxUSE_UNICODE=1
129 !if "$(MONOLITHIC)" == "0"
130 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
132 !if "$(MONOLITHIC)" == "0"
133 __WXLIB_CORE_p = wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
135 !if "$(MONOLITHIC)" == "1"
136 __WXLIB_MONO_p = wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
138 !if "$(WXUNIV)" == "1"
139 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
141 !if "$(WXUNIV)" == "1"
142 __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
148 -if not exist $(OBJS) mkdir $(OBJS)
152 all: $(OBJS)\minimal.exe
154 $(OBJS)\minimal_minimal.obj: .\minimal.cpp
155 $(CXX) -q -c -P -o$@ $(MINIMAL_CXXFLAGS) $**
157 $(OBJS)\minimal_minimal.res: .\minimal.rc
158 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) $**
161 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
162 -if exist $(OBJS)\*.res del $(OBJS)\*.res
163 -if exist $(OBJS)\minimal.exe del $(OBJS)\minimal.exe
167 $(OBJS)\minimal.exe: $(OBJS)\minimal_minimal.obj $(OBJS)\minimal_minimal.res
168 ilink32 -Tpe $(LDFLAGS) $(__DEBUGFLAG) -tWM -L.\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -aa @&&|
169 c0w32.obj $(OBJS)\minimal_minimal.obj,$@,, $(__WXLIB_MONO_p) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) wxtiff$(WXDEBUGFLAG).lib wxjpeg$(WXDEBUGFLAG).lib wxpng$(WXDEBUGFLAG).lib wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib import32.lib ole2w32.lib cw32mti.lib,, $(OBJS)\minimal_minimal.res