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 # =========================================================================
8 # -------------------------------------------------------------------------
9 # These are configurable options:
10 # -------------------------------------------------------------------------
12 # Type of compiled binaries [debug,release]
16 # Name of your custom configuration. This affects directory
17 # where object files are stored as well as the location of
18 # compiled .lib files and setup.h under the lib/ toplevel directory.
22 # Standard preprocessor flags (common for CC and CXX)
30 # Standard flags for C++
34 # Standard linker flags
38 # Multiple libraries or single huge monolithic one? [0,1]
42 # Is this official build by wxWindows developers? [0,1]
43 !ifndef OFFICIAL_BUILD
46 # What type of library to build? [0,1]
50 # Compile Unicode build of wxWindows? [0,1]
54 # Build GUI libraries? [0,1]
58 # Build wxUniversal instead of native port? [0,1]
63 # -------------------------------------------------------------------------
64 # Do not modify the rest of this file!
65 # -------------------------------------------------------------------------
71 !if "$(BCCDIR)" == "\.."
72 !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4
77 OBJS = objs_bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
78 DIALOGS_CXXFLAGS = $(CPPFLAGS) -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)
80 ### Conditionally set variables: ###
82 !if "$(USE_GUI)" == "0"
85 !if "$(USE_GUI)" == "1"
88 !if "$(BUILD)" == "debug"
91 !if "$(SHARED)" == "1"
94 !if "$(UNICODE)" == "1"
97 !if "$(WXUNIV)" == "1"
100 !if "$(BUILD)" == "debug"
101 __DEBUG_DEFINE_p = -D__WXDEBUG__
103 !if "$(BUILD)" == "debug"
104 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
106 !if "$(SHARED)" == "1"
107 __DLLFLAG_p = -DWXUSINGDLL
109 !if "$(SHARED)" == "1"
110 __DLLFLAG_p_1 = -dWXUSINGDLL
112 !if "$(UNICODE)" == "1"
113 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
115 !if "$(UNICODE)" == "1"
116 __UNICODE_DEFINE_p_1 = -dwxUSE_UNICODE=1
118 !if "$(MONOLITHIC)" == "0"
119 __WXLIB_CORE_p = wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
121 !if "$(MONOLITHIC)" == "1"
122 __WXLIB_MONO_p = wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
124 !if "$(WXUNIV)" == "1"
125 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
127 !if "$(WXUNIV)" == "1"
128 __WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__
134 -if not exist $(OBJS) mkdir $(OBJS)
138 all: $(OBJS)\dialogs.exe data
140 $(OBJS)\dialogs_dialogs.obj: .\dialogs.cpp
141 $(CXX) -c -P -o$@ $(DIALOGS_CXXFLAGS) $**
143 $(OBJS)\dialogs_dialogs.res: .\dialogs.rc
144 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) $**
147 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
148 -if exist $(OBJS)\*.res del $(OBJS)\*.res
149 -if exist $(OBJS)\dialogs.exe del $(OBJS)\dialogs.exe
150 -if exist $(OBJS)\tips.txt del $(OBJS)\tips.txt
154 $(OBJS)\dialogs.exe: $(OBJS)\dialogs_dialogs.obj $(OBJS)\dialogs_dialogs.res
155 ilink32 -Tpe $(LDFLAGS) -L.\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -aa @&&|
156 c0w32.obj $(OBJS)\dialogs_dialogs.obj,$@,, $(__WXLIB_MONO_p) $(__WXLIB_CORE_p) wxtiff$(WXDEBUGFLAG).lib wxjpeg$(WXDEBUGFLAG).lib wxpng$(WXDEBUGFLAG).lib wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib import32.lib ole2w32.lib cw32.lib,, $(OBJS)\dialogs_dialogs.res