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 !include ../../../build/msw/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 .\..\..\..\lib\bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
25 MMBOARD_CXXFLAGS = $(CPPFLAGS) $(__RUNTIME_LIBS_6) $(__DEBUGINFO) \
26 $(__OPTIMIZEFLAG_2) -tWM -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
27 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -I.\..\..\..\include \
28 -I$(LIBDIRNAME) -I.\..\..\..\src\tiff -I.\..\..\..\src\jpeg \
29 -I.\..\..\..\src\png -I.\..\..\..\src\zlib -I.\..\..\..\src\regex \
30 -I.\..\..\..\src\expat\lib -I. $(__DLLFLAG_p) -I..\..\..\samples \
31 -I.\..\..\include $(CXXFLAGS)
33 $(OBJS)\mmboard_mmboard.obj \
34 $(OBJS)\mmboard_mmbman.obj
36 bcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
38 ### Conditionally set variables: ###
40 !if "$(USE_GUI)" == "0"
43 !if "$(USE_GUI)" == "1"
46 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
49 !if "$(DEBUG_FLAG)" == "1"
52 !if "$(SHARED)" == "1"
55 !if "$(UNICODE)" == "1"
58 !if "$(WXUNIV)" == "1"
61 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
64 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
67 !if "$(DEBUG_INFO)" == "0"
70 !if "$(DEBUG_INFO)" == "1"
73 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
74 __DEBUG_DEFINE_p = -D__WXDEBUG__
76 !if "$(DEBUG_FLAG)" == "1"
77 __DEBUG_DEFINE_p = -D__WXDEBUG__
79 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
80 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
82 !if "$(DEBUG_FLAG)" == "1"
83 __DEBUG_DEFINE_p_1 = -d__WXDEBUG__
85 !if "$(SHARED)" == "1"
86 __DLLFLAG_p = -DWXUSINGDLL
88 !if "$(SHARED)" == "1"
89 __DLLFLAG_p_1 = -dWXUSINGDLL
91 !if "$(USE_GUI)" == "1"
92 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
94 !if "$(USE_GUI)" == "1"
95 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
97 !if "$(USE_GUI)" == "1"
98 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
100 !if "$(BUILD)" == "debug"
101 __OPTIMIZEFLAG_2 = -Od
103 !if "$(BUILD)" == "release"
104 __OPTIMIZEFLAG_2 = -O2
106 !if "$(RUNTIME_LIBS)" == "dynamic"
107 __RUNTIME_LIBS_6 = -tWR
109 !if "$(RUNTIME_LIBS)" == "static"
112 !if "$(RUNTIME_LIBS)" == "dynamic"
115 !if "$(RUNTIME_LIBS)" == "static"
118 !if "$(UNICODE)" == "1"
119 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
121 !if "$(UNICODE)" == "1"
122 __UNICODE_DEFINE_p_1 = -dwxUSE_UNICODE=1
125 __UNICOWS_LIB_p = unicows.lib
127 !if "$(MONOLITHIC)" == "0"
128 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
130 !if "$(MONOLITHIC)" == "0"
132 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
134 !if "$(MONOLITHIC)" == "1"
136 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)\mmboard.exe
154 $(OBJS)\mmboard_mmbman.obj: .\mmbman.cpp
155 $(CXX) -q -c -P -o$@ $(MMBOARD_CXXFLAGS) $**
157 $(OBJS)\mmboard_mmboard.obj: .\mmboard.cpp
158 $(CXX) -q -c -P -o$@ $(MMBOARD_CXXFLAGS) $**
160 $(OBJS)\mmboard_mmboard.res: .\mmboard.rc
161 brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) -i.\..\..\..\include -i$(LIBDIRNAME) -i.\..\..\..\src\tiff -i.\..\..\..\src\jpeg -i.\..\..\..\src\png -i.\..\..\..\src\zlib -i.\..\..\..\src\regex -i.\..\..\..\src\expat\lib -i. $(__DLLFLAG_p_1) -i..\..\..\samples -i.\..\..\include $**
164 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
165 -if exist $(OBJS)\*.res del $(OBJS)\*.res
166 -if exist $(OBJS)\mmboard.exe del $(OBJS)\mmboard.exe
168 $(OBJS)\mmboard.exe: $(MMBOARD_OBJECTS) $(OBJS)\mmboard_mmboard.res
169 ilink32 -Tpe -q $(LDFLAGS) $(__DEBUGINFO) -L$(LIBDIRNAME) -aa @&&|
170 c0w32.obj $(MMBOARD_OBJECTS),$@,, wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_mmedia.lib $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(__UNICOWS_LIB_p) import32.lib ole2w32.lib cw32mt$(__RUNTIME_LIBS_7).lib,, $(OBJS)\mmboard_mmboard.res