1# ========================================================================= 2# This makefile was generated by 3# Bakefile 0.2.9 (http://www.bakefile.org) 4# Do not modify, all changes will be overwritten! 5# ========================================================================= 6 7.LONGCOMMANDLINE: dmc link lib smake 8 9!include ../../build/msw/config.dms 10 11# ------------------------------------------------------------------------- 12# Do not modify the rest of this file! 13# ------------------------------------------------------------------------- 14 15### Conditionally set variables: ### 16 17!if "$(USE_GUI)" == "0" 18PORTNAME = base 19!endif 20!if "$(USE_GUI)" == "1" 21PORTNAME = msw 22!endif 23!if "$(BUILD)" == "debug" 24!if "$(DEBUG_FLAG)" == "default" 25WXDEBUGFLAG = d 26!endif 27!endif 28!if "$(DEBUG_FLAG)" == "1" 29WXDEBUGFLAG = d 30!endif 31!if "$(UNICODE)" == "1" 32WXUNICODEFLAG = u 33!endif 34!if "$(WXUNIV)" == "1" 35WXUNIVNAME = univ 36!endif 37!if "$(SHARED)" == "1" 38WXDLLFLAG = dll 39!endif 40!if "$(SHARED)" == "0" 41LIBTYPE_SUFFIX = lib 42!endif 43!if "$(SHARED)" == "1" 44LIBTYPE_SUFFIX = dll 45!endif 46!if "$(MONOLITHIC)" == "0" 47EXTRALIBS_FOR_BASE = 48!endif 49!if "$(MONOLITHIC)" == "1" 50EXTRALIBS_FOR_BASE = 51!endif 52!if "$(BUILD)" == "debug" 53!if "$(DEBUG_INFO)" == "default" 54__DEBUGINFO_0 = -g 55!endif 56!endif 57!if "$(BUILD)" == "release" 58!if "$(DEBUG_INFO)" == "default" 59__DEBUGINFO_0 = 60!endif 61!endif 62!if "$(DEBUG_INFO)" == "0" 63__DEBUGINFO_0 = 64!endif 65!if "$(DEBUG_INFO)" == "1" 66__DEBUGINFO_0 = -g 67!endif 68!if "$(BUILD)" == "debug" 69!if "$(DEBUG_INFO)" == "default" 70__DEBUGINFO_1 = /DEBUG /CODEVIEW 71!endif 72!endif 73!if "$(BUILD)" == "release" 74!if "$(DEBUG_INFO)" == "default" 75__DEBUGINFO_1 = 76!endif 77!endif 78!if "$(DEBUG_INFO)" == "0" 79__DEBUGINFO_1 = 80!endif 81!if "$(DEBUG_INFO)" == "1" 82__DEBUGINFO_1 = /DEBUG /CODEVIEW 83!endif 84!if "$(BUILD)" == "debug" 85__OPTIMIZEFLAG_2 = -o+none 86!endif 87!if "$(BUILD)" == "release" 88__OPTIMIZEFLAG_2 = -o 89!endif 90!if "$(RUNTIME_LIBS)" == "dynamic" 91__RUNTIME_LIBS_5 = -ND 92!endif 93!if "$(RUNTIME_LIBS)" == "static" 94__RUNTIME_LIBS_5 = 95!endif 96!if "$(USE_RTTI)" == "0" 97__RTTIFLAG_6 = 98!endif 99!if "$(USE_RTTI)" == "1" 100__RTTIFLAG_6 = -Ar 101!endif 102!if "$(USE_EXCEPTIONS)" == "0" 103__EXCEPTIONSFLAG_7 = 104!endif 105!if "$(USE_EXCEPTIONS)" == "1" 106__EXCEPTIONSFLAG_7 = -Ae 107!endif 108!if "$(MONOLITHIC)" == "0" 109__WXLIB_CORE_p = \ 110 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib 111!endif 112!if "$(MONOLITHIC)" == "0" 113__WXLIB_BASE_p = \ 114 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib 115!endif 116!if "$(MONOLITHIC)" == "1" 117__WXLIB_MONO_p = \ 118 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib 119!endif 120!if "$(USE_GUI)" == "1" 121__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib 122!endif 123!if "$(USE_GUI)" == "1" 124__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib 125!endif 126!if "$(USE_GUI)" == "1" 127__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib 128!endif 129!if "$(MSLU)" == "1" 130__UNICOWS_LIB_p = unicows.lib 131!endif 132!if "$(USE_GDIPLUS)" == "1" 133__GDIPLUS_LIB_p = gdiplus.lib 134!endif 135!if "$(USE_CAIRO)" == "1" 136__CAIRO_LIB_p = cairo.lib 137!endif 138!if "$(USE_CAIRO)" == "1" 139__CAIRO_LIBDIR_FILENAMES = $(CAIRO_ROOT)\lib 140!endif 141!if "$(WXUNIV)" == "1" 142__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ 143!endif 144!if "$(BUILD)" == "debug" 145!if "$(DEBUG_FLAG)" == "default" 146__DEBUG_DEFINE_p = -D__WXDEBUG__ 147!endif 148!endif 149!if "$(DEBUG_FLAG)" == "1" 150__DEBUG_DEFINE_p = -D__WXDEBUG__ 151!endif 152!if "$(BUILD)" == "release" 153__NDEBUG_DEFINE_p = -DNDEBUG 154!endif 155!if "$(USE_EXCEPTIONS)" == "0" 156__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS 157!endif 158!if "$(USE_RTTI)" == "0" 159__RTTI_DEFINE_p = -DwxNO_RTTI 160!endif 161!if "$(USE_THREADS)" == "0" 162__THREAD_DEFINE_p = -DwxNO_THREADS 163!endif 164!if "$(UNICODE)" == "1" 165__UNICODE_DEFINE_p = -D_UNICODE 166!endif 167!if "$(MSLU)" == "1" 168__MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1 169!endif 170!if "$(USE_GDIPLUS)" == "1" 171__GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1 172!endif 173!if "$(USE_CAIRO)" == "1" 174____CAIRO_INCLUDEDIR_FILENAMES = -I$(CAIRO_ROOT)\include\cairo 175!endif 176!if "$(SHARED)" == "1" 177__DLLFLAG_p = -DWXUSINGDLL 178!endif 179 180### Variables: ### 181 182WX_RELEASE_NODOT = 28 183OBJS = dmc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) 184LIBDIRNAME = .\..\..\lib\dmc_$(LIBTYPE_SUFFIX)$(CFG) 185SETUPHDIR = $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) 186INTERNAT_CXXFLAGS = $(__DEBUGINFO_0) $(__OPTIMIZEFLAG_2) $(__RUNTIME_LIBS_5) -D_WIN32_WINNT=0x0400 -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES) -w- -I. $(__DLLFLAG_p) -WA -I.\..\..\samples -DNOPCH $(__RTTIFLAG_6) $(__EXCEPTIONSFLAG_7) $(CPPFLAGS) $(CXXFLAGS) 187INTERNAT_OBJECTS = $(OBJS)\internat_internat.obj 188 189 190all : $(OBJS) 191$(OBJS) : 192 -if not exist $(OBJS) mkdir $(OBJS) 193 194### Targets: ### 195 196 197all : $(OBJS)\internat.exe ar bg cs de fr ka pl ru sv ja ja_JP.EUC-JP 198 199clean : 200 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj 201 -if exist $(OBJS)\*.res del $(OBJS)\*.res 202 -if exist $(OBJS)\*.sym del $(OBJS)\*.sym 203 -if exist $(OBJS)\internat.exe del $(OBJS)\internat.exe 204 -if exist $(OBJS)\internat.map del $(OBJS)\internat.map 205 206$(OBJS)\internat.exe : $(INTERNAT_OBJECTS) $(OBJS)\internat_internat.res 207 link /NOLOGO /SILENT /NOI /DELEXECUTABLE /EXETYPE:NT $(__DEBUGINFO_1) /su:windows:4.0 $(LDFLAGS) $(INTERNAT_OBJECTS),$@,$(OBJS)\internat.map, $(LIBDIRNAME)\ $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__GDIPLUS_LIB_p) $(__CAIRO_LIB_p) $(__CAIRO_LIBDIR_FILENAMES)\ kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib,, $(OBJS)\internat_internat.res 208 209ar : .\ar\internat.po .\ar\internat.mo 210 if not exist $(OBJS)\ar mkdir $(OBJS)\ar 211 echo copy .\ar\%%1 $(OBJS)\ar\%%1 > dmars_smake_copy_ar.bat 212 !dmars_smake_copy_ar.bat $** 213 del dmars_smake_copy_ar.bat 214 215bg : .\bg\internat.po .\bg\internat.mo 216 if not exist $(OBJS)\bg mkdir $(OBJS)\bg 217 echo copy .\bg\%%1 $(OBJS)\bg\%%1 > dmars_smake_copy_bg.bat 218 !dmars_smake_copy_bg.bat $** 219 del dmars_smake_copy_bg.bat 220 221cs : .\cs\internat.po .\cs\internat.mo 222 if not exist $(OBJS)\cs mkdir $(OBJS)\cs 223 echo copy .\cs\%%1 $(OBJS)\cs\%%1 > dmars_smake_copy_cs.bat 224 !dmars_smake_copy_cs.bat $** 225 del dmars_smake_copy_cs.bat 226 227de : .\de\internat.po .\de\internat.mo 228 if not exist $(OBJS)\de mkdir $(OBJS)\de 229 echo copy .\de\%%1 $(OBJS)\de\%%1 > dmars_smake_copy_de.bat 230 !dmars_smake_copy_de.bat $** 231 del dmars_smake_copy_de.bat 232 233fr : .\fr\internat.po .\fr\internat.mo 234 if not exist $(OBJS)\fr mkdir $(OBJS)\fr 235 echo copy .\fr\%%1 $(OBJS)\fr\%%1 > dmars_smake_copy_fr.bat 236 !dmars_smake_copy_fr.bat $** 237 del dmars_smake_copy_fr.bat 238 239ka : .\ka\internat.po .\ka\internat.mo 240 if not exist $(OBJS)\ka mkdir $(OBJS)\ka 241 echo copy .\ka\%%1 $(OBJS)\ka\%%1 > dmars_smake_copy_ka.bat 242 !dmars_smake_copy_ka.bat $** 243 del dmars_smake_copy_ka.bat 244 245pl : .\pl\internat.po .\pl\internat.mo 246 if not exist $(OBJS)\pl mkdir $(OBJS)\pl 247 echo copy .\pl\%%1 $(OBJS)\pl\%%1 > dmars_smake_copy_pl.bat 248 !dmars_smake_copy_pl.bat $** 249 del dmars_smake_copy_pl.bat 250 251ru : .\ru\internat.po .\ru\internat.mo 252 if not exist $(OBJS)\ru mkdir $(OBJS)\ru 253 echo copy .\ru\%%1 $(OBJS)\ru\%%1 > dmars_smake_copy_ru.bat 254 !dmars_smake_copy_ru.bat $** 255 del dmars_smake_copy_ru.bat 256 257sv : .\sv\internat.po .\sv\internat.mo 258 if not exist $(OBJS)\sv mkdir $(OBJS)\sv 259 echo copy .\sv\%%1 $(OBJS)\sv\%%1 > dmars_smake_copy_sv.bat 260 !dmars_smake_copy_sv.bat $** 261 del dmars_smake_copy_sv.bat 262 263ja : .\ja\internat.po .\ja\internat.mo 264 if not exist $(OBJS)\ja mkdir $(OBJS)\ja 265 echo copy .\ja\%%1 $(OBJS)\ja\%%1 > dmars_smake_copy_ja.bat 266 !dmars_smake_copy_ja.bat $** 267 del dmars_smake_copy_ja.bat 268 269ja_JP.EUC-JP : .\ja_JP.EUC-JP\internat.po .\ja_JP.EUC-JP\internat.mo 270 if not exist $(OBJS)\ja_JP.EUC-JP mkdir $(OBJS)\ja_JP.EUC-JP 271 echo copy .\ja_JP.EUC-JP\%%1 $(OBJS)\ja_JP.EUC-JP\%%1 > dmars_smake_copy_ja_JP.EUC-JP.bat 272 !dmars_smake_copy_ja_JP.EUC-JP.bat $** 273 del dmars_smake_copy_ja_JP.EUC-JP.bat 274 275$(OBJS)\internat_internat.obj : .\internat.cpp 276 $(CXX) -mn -c -cpp -o$@ $(INTERNAT_CXXFLAGS) .\internat.cpp 277 278$(OBJS)\internat_internat.res : .\internat.rc 279 rcc .\internat.rc -o$@ -D_WIN32_WINNT=0x0400 -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__NDEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include $(____CAIRO_INCLUDEDIR_FILENAMES) -I. $(__DLLFLAG_p) -I.\..\..\samples -DNOPCH -32 -v- 280