]> git.saurik.com Git - wxWidgets.git/blame - samples/svg/makefile.gcc
regenerated makefiles
[wxWidgets.git] / samples / svg / makefile.gcc
CommitLineData
0ca4ab85
VS
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# =========================================================================
6
7include ../../../build/config.gcc
8
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
12
13### Variables: ###
14
0ca4ab85
VS
15LIBDIRNAME = \
16 .\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
0ca4ab85
VS
17OBJS = \
18 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
3f55f5b8 19SVGTEST_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG_2) $(GCCFLAGS) \
0ca4ab85
VS
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)
0ca4ab85
VS
25SVGTEST_OBJECTS = \
26 $(OBJS)\svgtest_svgtest.o
27
28### Conditionally set variables: ###
29
30ifeq ($(GCC_VERSION),2.95)
31GCCFLAGS = -fvtable-thunks
32endif
33ifeq ($(USE_GUI),0)
34PORTNAME = base
35endif
36ifeq ($(USE_GUI),1)
37PORTNAME = msw
38endif
39ifeq ($(BUILD),debug)
3f55f5b8
VS
40ifeq ($(DEBUG_FLAG),default)
41WXDEBUGFLAG = d
42endif
43endif
44ifeq ($(DEBUG_FLAG),1)
0ca4ab85
VS
45WXDEBUGFLAG = d
46endif
47ifeq ($(SHARED),1)
48WXDLLFLAG = dll
49endif
50ifeq ($(UNICODE),1)
51WXUNICODEFLAG = u
52endif
53ifeq ($(WXUNIV),1)
54WXUNIVNAME = univ
55endif
56ifeq ($(BUILD),debug)
3f55f5b8
VS
57ifeq ($(DEBUG_INFO),default)
58__DEBUGINFO = -g
59endif
0ca4ab85
VS
60endif
61ifeq ($(BUILD),release)
3f55f5b8
VS
62ifeq ($(DEBUG_INFO),default)
63__DEBUGINFO =
64endif
65endif
66ifeq ($(DEBUG_INFO),0)
67__DEBUGINFO =
68endif
69ifeq ($(DEBUG_INFO),1)
70__DEBUGINFO = -g
0ca4ab85
VS
71endif
72ifeq ($(BUILD),debug)
3f55f5b8
VS
73ifeq ($(DEBUG_FLAG),default)
74__DEBUG_DEFINE_p = -D__WXDEBUG__
75endif
76endif
77ifeq ($(DEBUG_FLAG),1)
0ca4ab85
VS
78__DEBUG_DEFINE_p = -D__WXDEBUG__
79endif
80ifeq ($(SHARED),1)
81__DLLFLAG_p = -DWXUSINGDLL
82endif
83ifeq ($(USE_GUI),1)
84__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
85endif
86ifeq ($(USE_GUI),1)
87__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
88endif
89ifeq ($(USE_GUI),1)
90__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
91endif
92ifeq ($(BUILD),debug)
93__OPTIMIZEFLAG_2 = -O0
94endif
95ifeq ($(BUILD),release)
96__OPTIMIZEFLAG_2 = -O2
97endif
98ifeq ($(UNICODE),1)
99__UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
100endif
101ifeq ($(MONOLITHIC),0)
102__WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
103endif
104ifeq ($(MONOLITHIC),0)
105__WXLIB_CORE_p = \
106 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core
107endif
108ifeq ($(MONOLITHIC),1)
109__WXLIB_MONO_p = \
110 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
111endif
112ifeq ($(WXUNIV),1)
113__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
114endif
115
116
117all: $(OBJS)
118$(OBJS):
119 -if not exist $(OBJS) mkdir $(OBJS)
120
121### Targets: ###
122
123all: $(OBJS)\svgtest.exe
124
125$(OBJS)\svgtest_svgtest.o: .\svgtest.cpp
126 $(CXX) -c -o $@ $(SVGTEST_CXXFLAGS) $<
127
128clean:
129 -if exist $(OBJS)\*.o del $(OBJS)\*.o
130 -if exist $(OBJS)\svgtest.exe del $(OBJS)\svgtest.exe
131
132$(OBJS)\svgtest.exe: $(SVGTEST_OBJECTS)
3f55f5b8 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
0ca4ab85
VS
134
135.PHONY: all clean