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 FL_DEMO1_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
16 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
17 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(LIBDIRNAME) \
18 -I.\..\..\..\src\tiff -I.\..\..\..\src\jpeg -I.\..\..\..\src\png \
19 -I.\..\..\..\src\zlib -I.\..\..\..\src\regex -I.\..\..\..\src\expat\lib -I. \
20 $(__DLLFLAG_p) -I.\..\..\include -DBMP_DIR=\"bitmaps/\" $(CXXFLAGS)
22 $(OBJS)\fl_demo1_fl_demo1.o \
23 $(OBJS)\fl_demo1_fl_demo1_rc.o
24 FL_DEMO2_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
25 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
26 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(LIBDIRNAME) \
27 -I.\..\..\..\src\tiff -I.\..\..\..\src\jpeg -I.\..\..\..\src\png \
28 -I.\..\..\..\src\zlib -I.\..\..\..\src\regex -I.\..\..\..\src\expat\lib -I. \
29 $(__DLLFLAG_p) -I.\..\..\include -DBMP_DIR=\"bitmaps/\" $(CXXFLAGS)
31 $(OBJS)\fl_demo2_fl_demo2.o \
32 $(OBJS)\fl_demo2_fl_demo2_rc.o
33 FL_SAMPLE1_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
34 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
35 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(LIBDIRNAME) \
36 -I.\..\..\..\src\tiff -I.\..\..\..\src\jpeg -I.\..\..\..\src\png \
37 -I.\..\..\..\src\zlib -I.\..\..\..\src\regex -I.\..\..\..\src\expat\lib -I. \
38 $(__DLLFLAG_p) -I.\..\..\include -DBMP_DIR=\"bitmaps/\" $(CXXFLAGS)
39 FL_SAMPLE1_OBJECTS = \
40 $(OBJS)\fl_sample1_fl_sample1.o \
41 $(OBJS)\fl_sample1_fl_sample1_rc.o
42 FL_SAMPLE2_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
43 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
44 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(LIBDIRNAME) \
45 -I.\..\..\..\src\tiff -I.\..\..\..\src\jpeg -I.\..\..\..\src\png \
46 -I.\..\..\..\src\zlib -I.\..\..\..\src\regex -I.\..\..\..\src\expat\lib -I. \
47 $(__DLLFLAG_p) -I.\..\..\include -DBMP_DIR=\"bitmaps/\" $(CXXFLAGS)
48 FL_SAMPLE2_OBJECTS = \
49 $(OBJS)\fl_sample2_fl_sample2.o \
50 $(OBJS)\fl_sample2_fl_sample2_rc.o
51 FL_SAMPLE3_CXXFLAGS = $(CPPFLAGS) $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(GCCFLAGS) \
52 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
53 $(__UNICODE_DEFINE_p) -I.\..\..\..\include -I$(LIBDIRNAME) \
54 -I.\..\..\..\src\tiff -I.\..\..\..\src\jpeg -I.\..\..\..\src\png \
55 -I.\..\..\..\src\zlib -I.\..\..\..\src\regex -I.\..\..\..\src\expat\lib -I. \
56 $(__DLLFLAG_p) -I.\..\..\include -DBMP_DIR=\"bitmaps/\" $(CXXFLAGS)
57 FL_SAMPLE3_OBJECTS = \
58 $(OBJS)\fl_sample3_fl_sample3.o \
59 $(OBJS)\fl_sample3_fl_sample3_rc.o
61 .\..\..\..\lib\gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
63 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
65 ### Conditionally set variables: ###
67 ifeq ($(GCC_VERSION),2.95)
68 GCCFLAGS = -fvtable-thunks
77 ifeq ($(DEBUG_FLAG),default)
81 ifeq ($(DEBUG_FLAG),1)
94 ifeq ($(DEBUG_INFO),default)
98 ifeq ($(BUILD),release)
99 ifeq ($(DEBUG_INFO),default)
103 ifeq ($(DEBUG_INFO),0)
106 ifeq ($(DEBUG_INFO),1)
109 ifeq ($(BUILD),debug)
110 ifeq ($(DEBUG_FLAG),default)
111 __DEBUG_DEFINE_p = -D__WXDEBUG__
114 ifeq ($(DEBUG_FLAG),1)
115 __DEBUG_DEFINE_p = -D__WXDEBUG__
117 ifeq ($(BUILD),debug)
118 ifeq ($(DEBUG_FLAG),default)
119 __DEBUG_DEFINE_p_14 = --define __WXDEBUG__
122 ifeq ($(DEBUG_FLAG),1)
123 __DEBUG_DEFINE_p_14 = --define __WXDEBUG__
126 __DLLFLAG_p = -DWXUSINGDLL
129 __DLLFLAG_p_12 = --define WXUSINGDLL
132 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
135 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
138 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
140 ifeq ($(BUILD),debug)
143 ifeq ($(BUILD),release)
147 __UNICODE_DEFINE_p = -DwxUSE_UNICODE=1
150 __UNICODE_DEFINE_p_14 = --define wxUSE_UNICODE=1
152 ifeq ($(MONOLITHIC),0)
153 __WXLIB_BASE_p = -lwxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
155 ifeq ($(MONOLITHIC),0)
157 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core
159 ifeq ($(MONOLITHIC),1)
161 -lwx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)
164 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
167 __WXUNIV_DEFINE_p_11 = --define __WXUNIVERSAL__
173 -if not exist $(OBJS) mkdir $(OBJS)
177 all: $(OBJS)\fl_demo1.exe $(OBJS)\fl_demo2.exe $(OBJS)\fl_sample1.exe $(OBJS)\fl_sample2.exe $(OBJS)\fl_sample3.exe
179 $(OBJS)\fl_demo1_fl_demo1.o: .\fl_demo1.cpp
180 $(CXX) -c -o $@ $(FL_DEMO1_CXXFLAGS) $<
182 $(OBJS)\fl_demo1_fl_demo1_rc.o: .\fl_demo1.rc
183 windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_11) $(__DEBUG_DEFINE_p_14) $(__UNICODE_DEFINE_p_14) --include-dir ./../../../include --include-dir $(LIBDIRNAME) --include-dir ./../../../src/tiff --include-dir ./../../../src/jpeg --include-dir ./../../../src/png --include-dir ./../../../src/zlib --include-dir ./../../../src/regex --include-dir ./../../../src/expat/lib --include-dir . $(__DLLFLAG_p_12) --include-dir ./../../include --define BMP_DIR=\"bitmaps/\"
185 $(OBJS)\fl_demo2_fl_demo2.o: .\fl_demo2.cpp
186 $(CXX) -c -o $@ $(FL_DEMO2_CXXFLAGS) $<
188 $(OBJS)\fl_demo2_fl_demo2_rc.o: .\fl_demo2.rc
189 windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_11) $(__DEBUG_DEFINE_p_14) $(__UNICODE_DEFINE_p_14) --include-dir ./../../../include --include-dir $(LIBDIRNAME) --include-dir ./../../../src/tiff --include-dir ./../../../src/jpeg --include-dir ./../../../src/png --include-dir ./../../../src/zlib --include-dir ./../../../src/regex --include-dir ./../../../src/expat/lib --include-dir . $(__DLLFLAG_p_12) --include-dir ./../../include --define BMP_DIR=\"bitmaps/\"
191 $(OBJS)\fl_sample1_fl_sample1.o: .\fl_sample1.cpp
192 $(CXX) -c -o $@ $(FL_SAMPLE1_CXXFLAGS) $<
194 $(OBJS)\fl_sample1_fl_sample1_rc.o: .\fl_sample1.rc
195 windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_11) $(__DEBUG_DEFINE_p_14) $(__UNICODE_DEFINE_p_14) --include-dir ./../../../include --include-dir $(LIBDIRNAME) --include-dir ./../../../src/tiff --include-dir ./../../../src/jpeg --include-dir ./../../../src/png --include-dir ./../../../src/zlib --include-dir ./../../../src/regex --include-dir ./../../../src/expat/lib --include-dir . $(__DLLFLAG_p_12) --include-dir ./../../include --define BMP_DIR=\"bitmaps/\"
197 $(OBJS)\fl_sample2_fl_sample2.o: .\fl_sample2.cpp
198 $(CXX) -c -o $@ $(FL_SAMPLE2_CXXFLAGS) $<
200 $(OBJS)\fl_sample2_fl_sample2_rc.o: .\fl_sample2.rc
201 windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_11) $(__DEBUG_DEFINE_p_14) $(__UNICODE_DEFINE_p_14) --include-dir ./../../../include --include-dir $(LIBDIRNAME) --include-dir ./../../../src/tiff --include-dir ./../../../src/jpeg --include-dir ./../../../src/png --include-dir ./../../../src/zlib --include-dir ./../../../src/regex --include-dir ./../../../src/expat/lib --include-dir . $(__DLLFLAG_p_12) --include-dir ./../../include --define BMP_DIR=\"bitmaps/\"
203 $(OBJS)\fl_sample3_fl_sample3.o: .\fl_sample3.cpp
204 $(CXX) -c -o $@ $(FL_SAMPLE3_CXXFLAGS) $<
206 $(OBJS)\fl_sample3_fl_sample3_rc.o: .\fl_sample3.rc
207 windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_11) $(__DEBUG_DEFINE_p_14) $(__UNICODE_DEFINE_p_14) --include-dir ./../../../include --include-dir $(LIBDIRNAME) --include-dir ./../../../src/tiff --include-dir ./../../../src/jpeg --include-dir ./../../../src/png --include-dir ./../../../src/zlib --include-dir ./../../../src/regex --include-dir ./../../../src/expat/lib --include-dir . $(__DLLFLAG_p_12) --include-dir ./../../include --define BMP_DIR=\"bitmaps/\"
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
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)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl $(__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
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)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl $(__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
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)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl $(__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
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)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl $(__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
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)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl $(__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