1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.6 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
7 include ../../build/msw/config.gcc
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
17 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 LIBDIRNAME = .\..\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG)
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
21 INTERNAT_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG_2) $(GCCFLAGS) \
22 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
23 $(__UNICODE_DEFINE_p) -I.\..\..\include -I$(SETUPHDIR) -W -Wall -I. \
24 $(__DLLFLAG_p) -I.\..\..\samples -DNOPCH $(__EXCEPTIONSFLAG_4) \
25 $(__EXCEPTIONSFLAG_5) -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
27 $(OBJS)\internat_internat.o \
28 $(OBJS)\internat_internat_rc.o
30 ### Conditionally set variables: ###
32 ifeq ($(GCC_VERSION),2.95)
33 GCCFLAGS = -fvtable-thunks
42 ifeq ($(DEBUG_FLAG),default)
46 ifeq ($(DEBUG_FLAG),1)
64 ifeq ($(MONOLITHIC),0)
67 ifeq ($(MONOLITHIC),1)
71 __OPTIMIZEFLAG_2 = -O0
73 ifeq ($(BUILD),release)
74 __OPTIMIZEFLAG_2 = -O2
76 ifeq ($(USE_EXCEPTIONS),0)
77 __EXCEPTIONSFLAG_4 = -fno-rtti
79 ifeq ($(USE_EXCEPTIONS),1)
82 ifeq ($(USE_EXCEPTIONS),0)
83 __EXCEPTIONSFLAG_5 = -fno-exceptions
85 ifeq ($(USE_EXCEPTIONS),1)
89 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
92 __WXUNIV_DEFINE_p_1 = --define __WXUNIVERSAL__
95 ifeq ($(DEBUG_FLAG),default)
96 __DEBUG_DEFINE_p = -D__WXDEBUG__
99 ifeq ($(DEBUG_FLAG),1)
100 __DEBUG_DEFINE_p = -D__WXDEBUG__
102 ifeq ($(BUILD),debug)
103 ifeq ($(DEBUG_FLAG),default)
104 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
107 ifeq ($(DEBUG_FLAG),1)
108 __DEBUG_DEFINE_p_1 = --define __WXDEBUG__
111 __UNICODE_DEFINE_p = -D_UNICODE
114 __UNICODE_DEFINE_p_1 = --define _UNICODE
117 __DLLFLAG_p = -DWXUSINGDLL
120 __DLLFLAG_p_1 = --define WXUSINGDLL
122 ifeq ($(MONOLITHIC),0)
124 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
126 ifeq ($(MONOLITHIC),0)
128 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
130 ifeq ($(MONOLITHIC),1)
132 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
135 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
138 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
141 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
144 __UNICOWS_LIB_p = -lunicows
146 ifeq ($(BUILD),debug)
147 ifeq ($(DEBUG_INFO),default)
151 ifeq ($(BUILD),release)
152 ifeq ($(DEBUG_INFO),default)
156 ifeq ($(DEBUG_INFO),0)
159 ifeq ($(DEBUG_INFO),1)
166 -if not exist $(OBJS) mkdir $(OBJS)
170 all: $(OBJS)\internat.exe bg cs de fr ja ka pl ru
173 -if exist $(OBJS)\*.o del $(OBJS)\*.o
174 -if exist $(OBJS)\internat.exe del $(OBJS)\internat.exe
176 $(OBJS)\internat.exe: $(INTERNAT_OBJECTS) $(OBJS)\internat_internat_rc.o
177 $(CXX) -o $@ $(INTERNAT_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32
180 if not exist $(OBJS)\bg mkdir $(OBJS)\bg
181 for %%f in (internat.po internat.mo) do if not exist $(OBJS)\bg\%%f copy .\bg\%%f $(OBJS)\bg
184 if not exist $(OBJS)\cs mkdir $(OBJS)\cs
185 for %%f in (internat.po internat.mo) do if not exist $(OBJS)\cs\%%f copy .\cs\%%f $(OBJS)\cs
188 if not exist $(OBJS)\de mkdir $(OBJS)\de
189 for %%f in (internat.po internat.mo) do if not exist $(OBJS)\de\%%f copy .\de\%%f $(OBJS)\de
192 if not exist $(OBJS)\fr mkdir $(OBJS)\fr
193 for %%f in (internat.po internat.mo) do if not exist $(OBJS)\fr\%%f copy .\fr\%%f $(OBJS)\fr
196 if not exist $(OBJS)\ja mkdir $(OBJS)\ja
197 for %%f in (internat.po internat.mo) do if not exist $(OBJS)\ja\%%f copy .\ja\%%f $(OBJS)\ja
200 if not exist $(OBJS)\ka mkdir $(OBJS)\ka
201 for %%f in (internat.po internat.mo) do if not exist $(OBJS)\ka\%%f copy .\ka\%%f $(OBJS)\ka
204 if not exist $(OBJS)\pl mkdir $(OBJS)\pl
205 for %%f in (internat.po internat.mo) do if not exist $(OBJS)\pl\%%f copy .\pl\%%f $(OBJS)\pl
208 if not exist $(OBJS)\ru mkdir $(OBJS)\ru
209 for %%f in (internat.po internat.mo) do if not exist $(OBJS)\ru\%%f copy .\ru\%%f $(OBJS)\ru
211 $(OBJS)\internat_internat.o: ./internat.cpp
212 $(CXX) -c -o $@ $(INTERNAT_CXXFLAGS) $<
214 $(OBJS)\internat_internat_rc.o: ./internat.rc
215 windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) --include-dir ./../../include --include-dir $(SETUPHDIR) --include-dir . $(__DLLFLAG_p_1) --include-dir ./../../samples --define NOPCH
217 .PHONY: all clean bg cs de fr ja ka pl ru