]> git.saurik.com Git - wxWidgets.git/blob - contrib/samples/fl/makefile.gcc
Regenerated makefiles
[wxWidgets.git] / contrib / samples / fl / makefile.gcc
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 # =========================================================================
6
7 include ../../../build/msw/config.gcc
8
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
12
13 ### Variables: ###
14
15 WX_RELEASE_NODOT = 25
16 OBJS = \
17 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 LIBDIRNAME = .\..\..\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG)
19 SETUPHDIR = \
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
21 FL_DEMO1_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(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 -I.\..\..\include \
25 -DBMP_DIR=\"bitmaps/\" $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_3) \
26 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
27 FL_DEMO1_OBJECTS = \
28 $(OBJS)\fl_demo1_fl_demo1.o \
29 $(OBJS)\fl_demo1_fl_demo1_rc.o
30 FL_DEMO2_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
31 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
32 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -W -Wall -I. \
33 $(__DLLFLAG_p) -I.\..\..\..\samples -DNOPCH -I.\..\..\include \
34 -DBMP_DIR=\"bitmaps/\" $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_3) \
35 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
36 FL_DEMO2_OBJECTS = \
37 $(OBJS)\fl_demo2_fl_demo2.o \
38 $(OBJS)\fl_demo2_fl_demo2_rc.o
39 FL_SAMPLE1_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
40 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
41 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -W -Wall -I. \
42 $(__DLLFLAG_p) -I.\..\..\..\samples -DNOPCH -I.\..\..\include \
43 -DBMP_DIR=\"bitmaps/\" $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_3) \
44 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
45 FL_SAMPLE1_OBJECTS = \
46 $(OBJS)\fl_sample1_fl_sample1.o \
47 $(OBJS)\fl_sample1_fl_sample1_rc.o
48 FL_SAMPLE2_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
49 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
50 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -W -Wall -I. \
51 $(__DLLFLAG_p) -I.\..\..\..\samples -DNOPCH -I.\..\..\include \
52 -DBMP_DIR=\"bitmaps/\" $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_3) \
53 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
54 FL_SAMPLE2_OBJECTS = \
55 $(OBJS)\fl_sample2_fl_sample2.o \
56 $(OBJS)\fl_sample2_fl_sample2_rc.o
57 FL_SAMPLE3_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
58 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
59 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(SETUPHDIR) -W -Wall -I. \
60 $(__DLLFLAG_p) -I.\..\..\..\samples -DNOPCH -I.\..\..\include \
61 -DBMP_DIR=\"bitmaps/\" $(__EXCEPTIONSFLAG) $(__EXCEPTIONSFLAG_3) \
62 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
63 FL_SAMPLE3_OBJECTS = \
64 $(OBJS)\fl_sample3_fl_sample3.o \
65 $(OBJS)\fl_sample3_fl_sample3_rc.o
66
67 ### Conditionally set variables: ###
68
69 ifeq ($(GCC_VERSION),2.95)
70 GCCFLAGS = -fvtable-thunks
71 endif
72 ifeq ($(USE_GUI),0)
73 PORTNAME = base
74 endif
75 ifeq ($(USE_GUI),1)
76 PORTNAME = msw
77 endif
78 ifeq ($(BUILD),debug)
79 ifeq ($(DEBUG_FLAG),default)
80 WXDEBUGFLAG = d
81 endif
82 endif
83 ifeq ($(DEBUG_FLAG),1)
84 WXDEBUGFLAG = d
85 endif
86 ifeq ($(UNICODE),1)
87 WXUNICODEFLAG = u
88 endif
89 ifeq ($(WXUNIV),1)
90 WXUNIVNAME = univ
91 endif
92 ifeq ($(SHARED),1)
93 WXDLLFLAG = dll
94 endif
95 ifeq ($(SHARED),0)
96 LIBTYPE_SUFFIX = lib
97 endif
98 ifeq ($(SHARED),1)
99 LIBTYPE_SUFFIX = dll
100 endif
101 ifeq ($(MONOLITHIC),0)
102 EXTRALIBS_FOR_BASE =
103 endif
104 ifeq ($(MONOLITHIC),1)
105 EXTRALIBS_FOR_BASE =
106 endif
107 ifeq ($(BUILD),debug)
108 __OPTIMIZEFLAG = -O0
109 endif
110 ifeq ($(BUILD),release)
111 __OPTIMIZEFLAG = -O2
112 endif
113 ifeq ($(USE_EXCEPTIONS),0)
114 __EXCEPTIONSFLAG = -fno-rtti
115 endif
116 ifeq ($(USE_EXCEPTIONS),1)
117 __EXCEPTIONSFLAG =
118 endif
119 ifeq ($(USE_EXCEPTIONS),0)
120 __EXCEPTIONSFLAG_3 = -fno-exceptions
121 endif
122 ifeq ($(USE_EXCEPTIONS),1)
123 __EXCEPTIONSFLAG_3 =
124 endif
125 ifeq ($(WXUNIV),1)
126 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
127 endif
128 ifeq ($(WXUNIV),1)
129 __WXUNIV_DEFINE_p_12 = --define __WXUNIVERSAL__
130 endif
131 ifeq ($(BUILD),debug)
132 ifeq ($(DEBUG_FLAG),default)
133 __DEBUG_DEFINE_p = -D__WXDEBUG__
134 endif
135 endif
136 ifeq ($(DEBUG_FLAG),1)
137 __DEBUG_DEFINE_p = -D__WXDEBUG__
138 endif
139 ifeq ($(BUILD),debug)
140 ifeq ($(DEBUG_FLAG),default)
141 __DEBUG_DEFINE_p_12 = --define __WXDEBUG__
142 endif
143 endif
144 ifeq ($(DEBUG_FLAG),1)
145 __DEBUG_DEFINE_p_12 = --define __WXDEBUG__
146 endif
147 ifeq ($(UNICODE),1)
148 __UNICODE_DEFINE_p = -D_UNICODE
149 endif
150 ifeq ($(UNICODE),1)
151 __UNICODE_DEFINE_p_12 = --define _UNICODE
152 endif
153 ifeq ($(SHARED),1)
154 __DLLFLAG_p = -DWXUSINGDLL
155 endif
156 ifeq ($(SHARED),1)
157 __DLLFLAG_p_12 = --define WXUSINGDLL
158 endif
159 ifeq ($(MONOLITHIC),0)
160 __WXLIB_CORE_p = \
161 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
162 endif
163 ifeq ($(MONOLITHIC),0)
164 __WXLIB_BASE_p = \
165 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
166 endif
167 ifeq ($(MONOLITHIC),1)
168 __WXLIB_MONO_p = \
169 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
170 endif
171 ifeq ($(USE_GUI),1)
172 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
173 endif
174 ifeq ($(USE_GUI),1)
175 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
176 endif
177 ifeq ($(USE_GUI),1)
178 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
179 endif
180 ifeq ($(MSLU),1)
181 __UNICOWS_LIB_p = -lunicows
182 endif
183 ifeq ($(BUILD),debug)
184 ifeq ($(DEBUG_INFO),default)
185 __DEBUGINFO = -g
186 endif
187 endif
188 ifeq ($(BUILD),release)
189 ifeq ($(DEBUG_INFO),default)
190 __DEBUGINFO =
191 endif
192 endif
193 ifeq ($(DEBUG_INFO),0)
194 __DEBUGINFO =
195 endif
196 ifeq ($(DEBUG_INFO),1)
197 __DEBUGINFO = -g
198 endif
199
200
201 all: $(OBJS)
202 $(OBJS):
203 -if not exist $(OBJS) mkdir $(OBJS)
204
205 ### Targets: ###
206
207 all: $(OBJS)\fl_demo1.exe $(OBJS)\fl_demo2.exe $(OBJS)\fl_sample1.exe $(OBJS)\fl_sample2.exe $(OBJS)\fl_sample3.exe data_files
208
209 clean:
210 -if exist $(OBJS)\*.o del $(OBJS)\*.o
211 -if exist $(OBJS)\fl_demo1.exe del $(OBJS)\fl_demo1.exe
212 -if exist $(OBJS)\fl_demo2.exe del $(OBJS)\fl_demo2.exe
213 -if exist $(OBJS)\fl_sample1.exe del $(OBJS)\fl_sample1.exe
214 -if exist $(OBJS)\fl_sample2.exe del $(OBJS)\fl_sample2.exe
215 -if exist $(OBJS)\fl_sample3.exe del $(OBJS)\fl_sample3.exe
216
217 $(OBJS)\fl_demo1.exe: $(FL_DEMO1_OBJECTS) $(OBJS)\fl_demo1_fl_demo1_rc.o
218 $(CXX) -o $@ $(FL_DEMO1_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl $(__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
219
220 $(OBJS)\fl_demo2.exe: $(FL_DEMO2_OBJECTS) $(OBJS)\fl_demo2_fl_demo2_rc.o
221 $(CXX) -o $@ $(FL_DEMO2_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl $(__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
222
223 $(OBJS)\fl_sample1.exe: $(FL_SAMPLE1_OBJECTS) $(OBJS)\fl_sample1_fl_sample1_rc.o
224 $(CXX) -o $@ $(FL_SAMPLE1_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl $(__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
225
226 $(OBJS)\fl_sample2.exe: $(FL_SAMPLE2_OBJECTS) $(OBJS)\fl_sample2_fl_sample2_rc.o
227 $(CXX) -o $@ $(FL_SAMPLE2_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl $(__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
228
229 $(OBJS)\fl_sample3.exe: $(FL_SAMPLE3_OBJECTS) $(OBJS)\fl_sample3_fl_sample3_rc.o
230 $(CXX) -o $@ $(FL_SAMPLE3_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_fl $(__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
231
232 data_files:
233 if not exist $(OBJS)\bitmaps mkdir $(OBJS)\bitmaps
234 for %%f in (bookmarks.bmp class_icon.bmp class_icon1.bmp copy.bmp cut.bmp file_icon.bmp folder_icon.bmp help_icon.bmp new.bmp nextmark.bmp open.bmp paste.bmp prevmark.bmp res_icon.bmp save.bmp saveall.bmp search.bmp start95_dp.bmp start95_pr.bmp tile.bmp) do if not exist $(OBJS)\bitmaps\%%f copy .\bitmaps\%%f $(OBJS)\bitmaps
235
236 $(OBJS)\fl_demo1_fl_demo1.o: ./fl_demo1.cpp
237 $(CXX) -c -o $@ $(FL_DEMO1_CXXFLAGS) $<
238
239 $(OBJS)\fl_demo1_fl_demo1_rc.o: ./fl_demo1.rc
240 windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_12) $(__DEBUG_DEFINE_p_12) $(__UNICODE_DEFINE_p_12) --include-dir ./../../../include --include-dir $(SETUPHDIR) --include-dir . $(__DLLFLAG_p_12) --include-dir ./../../../samples --define NOPCH --include-dir ./../../include --define BMP_DIR="bitmaps/"
241
242 $(OBJS)\fl_demo2_fl_demo2.o: ./fl_demo2.cpp
243 $(CXX) -c -o $@ $(FL_DEMO2_CXXFLAGS) $<
244
245 $(OBJS)\fl_demo2_fl_demo2_rc.o: ./fl_demo2.rc
246 windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_12) $(__DEBUG_DEFINE_p_12) $(__UNICODE_DEFINE_p_12) --include-dir ./../../../include --include-dir $(SETUPHDIR) --include-dir . $(__DLLFLAG_p_12) --include-dir ./../../../samples --define NOPCH --include-dir ./../../include --define BMP_DIR="bitmaps/"
247
248 $(OBJS)\fl_sample1_fl_sample1.o: ./fl_sample1.cpp
249 $(CXX) -c -o $@ $(FL_SAMPLE1_CXXFLAGS) $<
250
251 $(OBJS)\fl_sample1_fl_sample1_rc.o: ./fl_sample1.rc
252 windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_12) $(__DEBUG_DEFINE_p_12) $(__UNICODE_DEFINE_p_12) --include-dir ./../../../include --include-dir $(SETUPHDIR) --include-dir . $(__DLLFLAG_p_12) --include-dir ./../../../samples --define NOPCH --include-dir ./../../include --define BMP_DIR="bitmaps/"
253
254 $(OBJS)\fl_sample2_fl_sample2.o: ./fl_sample2.cpp
255 $(CXX) -c -o $@ $(FL_SAMPLE2_CXXFLAGS) $<
256
257 $(OBJS)\fl_sample2_fl_sample2_rc.o: ./fl_sample2.rc
258 windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_12) $(__DEBUG_DEFINE_p_12) $(__UNICODE_DEFINE_p_12) --include-dir ./../../../include --include-dir $(SETUPHDIR) --include-dir . $(__DLLFLAG_p_12) --include-dir ./../../../samples --define NOPCH --include-dir ./../../include --define BMP_DIR="bitmaps/"
259
260 $(OBJS)\fl_sample3_fl_sample3.o: ./fl_sample3.cpp
261 $(CXX) -c -o $@ $(FL_SAMPLE3_CXXFLAGS) $<
262
263 $(OBJS)\fl_sample3_fl_sample3_rc.o: ./fl_sample3.rc
264 windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_12) $(__DEBUG_DEFINE_p_12) $(__UNICODE_DEFINE_p_12) --include-dir ./../../../include --include-dir $(SETUPHDIR) --include-dir . $(__DLLFLAG_p_12) --include-dir ./../../../samples --define NOPCH --include-dir ./../../include --define BMP_DIR="bitmaps/"
265
266 .PHONY: all clean data_files
267