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 # =========================================================================
7 include ../../../build/config.gcc
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
15 LIBDIRNAME = .\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
17 .\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 OBJS = gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
20 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
21 SVGTEST_CXXFLAGS = $(CPPFLAGS) $(__DEBUGFLAG) $(__OPTIMIZEFLAG_2) $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) -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) -I.\..\..\include $(CXXFLAGS)
22 SVGTEST_CXXFLAGS = $(CPPFLAGS) $(__DEBUGFLAG) $(__OPTIMIZEFLAG_2) $(GCCFLAGS) \
23 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
24 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(LIBDIRNAME) \
25 -I.\..\..\..\src\tiff -I.\..\..\..\src\jpeg -I.\..\..\..\src\png \
26 -I.\..\..\..\src\zlib -I.\..\..\..\src\regex -I.\..\..\..\src\expat\lib -I. \
27 $(__DLLFLAG_p) -I.\..\..\include $(CXXFLAGS)
28 SVGTEST_OBJECTS = $(OBJS)\svgtest_svgtest.o
30 $(OBJS)\svgtest_svgtest.o
32 ### Conditionally set variables: ###
34 ifeq ($(GCC_VERSION),2.95)
35 GCCFLAGS = -fvtable-thunks
58 ifeq ($(BUILD),release)
62 __DEBUG_DEFINE_p = -D__WXDEBUG__
65 __DLLFLAG_p = -DWXUSINGDLL
68 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
71 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
74 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
77 __OPTIMIZEFLAG_2 = -O0
79 ifeq ($(BUILD),release)
80 __OPTIMIZEFLAG_2 = -O2
83 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
85 ifeq ($(MONOLITHIC),0)
86 __WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
88 ifeq ($(MONOLITHIC),0)
90 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core
92 ifeq ($(MONOLITHIC),1)
94 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
97 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
103 -if not exist $(OBJS) mkdir $(OBJS)
107 all: $(OBJS)\svgtest.exe
109 $(OBJS)\svgtest_svgtest.o: .\svgtest.cpp
110 $(CXX) -c -o $@ $(SVGTEST_CXXFLAGS) $<
113 -if exist $(OBJS)\*.o del $(OBJS)\*.o
114 -if exist $(OBJS)\svgtest.exe del $(OBJS)\svgtest.exe
116 $(OBJS)\svgtest.exe: $(SVGTEST_OBJECTS)
117 $(CXX) -o $@ $(SVGTEST_OBJECTS) $(LDFLAGS) $(__DEBUGFLAG) -mthreads -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_svg $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lodbc32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32