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 # -------------------------------------------------------------------------
16 .\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
19 SVGTEST_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG_2) $(GCCFLAGS) \
20 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
21 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(LIBDIRNAME) \
22 -I.\..\..\..\src\tiff -I.\..\..\..\src\jpeg -I.\..\..\..\src\png \
23 -I.\..\..\..\src\zlib -I.\..\..\..\src\regex -I.\..\..\..\src\expat\lib -I. \
24 $(__DLLFLAG_p) -I.\..\..\include $(CXXFLAGS)
26 $(OBJS)\svgtest_svgtest.o
28 ### Conditionally set variables: ###
30 ifeq ($(GCC_VERSION),2.95)
31 GCCFLAGS = -fvtable-thunks
40 ifeq ($(DEBUG_FLAG),default)
44 ifeq ($(DEBUG_FLAG),1)
57 ifeq ($(DEBUG_INFO),default)
61 ifeq ($(BUILD),release)
62 ifeq ($(DEBUG_INFO),default)
66 ifeq ($(DEBUG_INFO),0)
69 ifeq ($(DEBUG_INFO),1)
73 ifeq ($(DEBUG_FLAG),default)
74 __DEBUG_DEFINE_p = -D__WXDEBUG__
77 ifeq ($(DEBUG_FLAG),1)
78 __DEBUG_DEFINE_p = -D__WXDEBUG__
81 __DLLFLAG_p = -DWXUSINGDLL
84 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
87 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
90 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
93 __OPTIMIZEFLAG_2 = -O0
95 ifeq ($(BUILD),release)
96 __OPTIMIZEFLAG_2 = -O2
99 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
101 ifeq ($(MONOLITHIC),0)
102 __WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
104 ifeq ($(MONOLITHIC),0)
106 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core
108 ifeq ($(MONOLITHIC),1)
110 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
113 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
119 -if not exist $(OBJS) mkdir $(OBJS)
123 all: $(OBJS)\svgtest.exe
125 $(OBJS)\svgtest_svgtest.o: .\svgtest.cpp
126 $(CXX) -c -o $@ $(SVGTEST_CXXFLAGS) $<
129 -if exist $(OBJS)\*.o del $(OBJS)\*.o
130 -if exist $(OBJS)\svgtest.exe del $(OBJS)\svgtest.exe
132 $(OBJS)\svgtest.exe: $(SVGTEST_OBJECTS)
133 $(CXX) -o $@ $(SVGTEST_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -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