2 # =========================================================================
3 # This makefile was generated by
4 # Bakefile 0.1.1 (http://bakefile.sourceforge.net)
5 # Do not modify, all changes will be overwritten!
6 # =========================================================================
9 # -------------------------------------------------------------------------
10 # These are configurable options:
11 # -------------------------------------------------------------------------
13 # Type of compiled binaries [debug,release]
15 # Name of your custom configuration. This affects directory
16 # where object files are stored as well as the location of
17 # compiled .lib files and setup.h under the lib/ toplevel directory.
19 # Standard preprocessor flags (common for CC and CXX)
23 # Standard flags for C++
25 # Standard linker flags
27 # Multiple libraries or single huge monolithic one? [0,1]
29 # Is this official build by wxWindows developers? [0,1]
31 # What type of library to build? [0,1]
33 # Compile Unicode build of wxWindows? [0,1]
35 # Build GUI libraries? [0,1]
37 # Build wxUniversal instead of native port? [0,1]
40 # -------------------------------------------------------------------------
41 # Do not modify the rest of this file!
42 # -------------------------------------------------------------------------
44 # Speed up compilation a bit:
47 ! loaddll wccaxp wccdaxp
48 ! loaddll wcc386 wccd386
50 ! loaddll wppaxp wppdaxp
51 ! loaddll wpp386 wppd386
56 # We need these variables in some bakefile-made rules:
57 WATCOM_CWD = $+ $(%cdrive):$(%cwd) $-
59 ### Conditionally set variables: ###
93 __DEBUGFLAG_1 = debug all
100 __DEBUG_DEFINE_p = -d__WXDEBUG__
104 __DLLFLAG_p = -dWXUSINGDLL
108 __OPTIMIZEFLAG_2 = -od
111 __OPTIMIZEFLAG_2 = -ot -ox
115 __UNICODE_DEFINE_p = -dwxUSE_UNICODE=1
119 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
123 __WXLIB_CORE_p = wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
127 __WXLIB_MONO_p = wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
131 __WXUNIV_DEFINE_p = -d__WXUNIVERSAL__
136 OBJS = wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
137 DIALOGS_CXXFLAGS = $(CPPFLAGS) $(__DEBUGFLAG_0) $(__OPTIMIZEFLAG_2) -bm -br -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -i=.\..\..\include -i=.\..\..\lib\wat_$(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)
143 -if not exist $(OBJS) mkdir $(OBJS)
147 all : .SYMBOLIC $(OBJS)\dialogs.exe data
149 $(OBJS)\dialogs_dialogs.obj : .AUTODEPEND .\dialogs.cpp
150 $(CXX) -zq -fo=$^@ $(DIALOGS_CXXFLAGS) $<
152 $(OBJS)\dialogs_dialogs.res : .AUTODEPEND .\dialogs.rc
153 wrc -q -ad -bt=nt -r -fo=$^@ -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -i=.\..\..\include -i=.\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -i=.\..\..\src\tiff -i=.\..\..\src\jpeg -i=.\..\..\src\png -i=.\..\..\src\zlib -i=.\..\..\src\regex -i=. $(__DLLFLAG_p) $<
156 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
157 -if exist $(OBJS)\*.res del $(OBJS)\*.res
158 -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc
159 -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk
160 -if exist $(OBJS)\dialogs.exe del $(OBJS)\dialogs.exe
163 if not exist $(OBJS) mkdir $(OBJS)
164 for %f in (tips.txt) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
166 $(OBJS)\dialogs.exe : $(OBJS)\dialogs_dialogs.obj $(OBJS)\dialogs_dialogs.res
167 @%create $(OBJS)\dialogs.lbc
168 @%append $(OBJS)\dialogs.lbc option quiet
169 @%append $(OBJS)\dialogs.lbc name $^@
170 @%append $(OBJS)\dialogs.lbc option incremental
171 @%append $(OBJS)\dialogs.lbc $(LDFLAGS) $(__DEBUGFLAG_1) libpath .\..\..\lib\wat_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) system nt_win ref '_WinMain@16'
172 @for %i in ( $(OBJS)\dialogs_dialogs.obj) do @%append $(OBJS)\dialogs.lbc file %i
173 @for %i in ( $(__WXLIB_MONO_p) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) wxtiff$(WXDEBUGFLAG).lib wxjpeg$(WXDEBUGFLAG).lib wxpng$(WXDEBUGFLAG).lib wxzlib$(WXDEBUGFLAG).lib wxregex$(WXDEBUGFLAG).lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib odbc32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib ) do @%append $(OBJS)\dialogs.lbc library %i
174 @%append $(OBJS)\dialogs.lbc option resource=$(OBJS)\dialogs_dialogs.res
175 wlink @$(OBJS)\dialogs.lbc
177 install : .SYMBOLIC all
179 uninstall : .SYMBOLIC