]>
Commit | Line | Data |
---|---|---|
03206f17 VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
cf9b63b3 | 3 | # Bakefile 0.2.0 (http://bakefile.sourceforge.net) |
03206f17 VS |
4 | # Do not modify, all changes will be overwritten! |
5 | # ========================================================================= | |
6 | ||
fd9f42b6 | 7 | include ../../../build/msw/config.gcc |
03206f17 VS |
8 | |
9 | # ------------------------------------------------------------------------- | |
10 | # Do not modify the rest of this file! | |
11 | # ------------------------------------------------------------------------- | |
12 | ||
13 | ### Variables: ### | |
14 | ||
0d90d6ea | 15 | CPPDEPS = -MT$@ -MF$@.d -MD |
4cbcfb73 | 16 | WX_RELEASE_NODOT = 27 |
b17c1746 DE |
17 | OBJS = \ |
18 | gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) | |
b14abf14 | 19 | LIBDIRNAME = .\..\..\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG) |
b17c1746 DE |
20 | SETUPHDIR = \ |
21 | $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) | |
8c9f8f91 JS |
22 | FL_DEMO1_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \ |
23 | $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \ | |
24 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ | |
2113bc77 | 25 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ |
3abcf424 RD |
26 | $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\..\include -W -Wall -I. \ |
27 | $(__DLLFLAG_p) -I.\..\..\..\samples -DNOPCH -I.\..\..\include \ | |
28 | -DBMP_DIR=\"bitmaps/\" $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \ | |
29 | -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS) | |
03206f17 VS |
30 | FL_DEMO1_OBJECTS = \ |
31 | $(OBJS)\fl_demo1_fl_demo1.o \ | |
32 | $(OBJS)\fl_demo1_fl_demo1_rc.o | |
8c9f8f91 JS |
33 | FL_DEMO2_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \ |
34 | $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \ | |
35 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ | |
2113bc77 | 36 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ |
3abcf424 RD |
37 | $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\..\include -W -Wall -I. \ |
38 | $(__DLLFLAG_p) -I.\..\..\..\samples -DNOPCH -I.\..\..\include \ | |
39 | -DBMP_DIR=\"bitmaps/\" $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \ | |
40 | -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS) | |
03206f17 VS |
41 | FL_DEMO2_OBJECTS = \ |
42 | $(OBJS)\fl_demo2_fl_demo2.o \ | |
43 | $(OBJS)\fl_demo2_fl_demo2_rc.o | |
8c9f8f91 JS |
44 | FL_SAMPLE1_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \ |
45 | $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \ | |
46 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ | |
2113bc77 | 47 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ |
3abcf424 RD |
48 | $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\..\include -W -Wall -I. \ |
49 | $(__DLLFLAG_p) -I.\..\..\..\samples -DNOPCH -I.\..\..\include \ | |
50 | -DBMP_DIR=\"bitmaps/\" $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \ | |
51 | -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS) | |
03206f17 VS |
52 | FL_SAMPLE1_OBJECTS = \ |
53 | $(OBJS)\fl_sample1_fl_sample1.o \ | |
54 | $(OBJS)\fl_sample1_fl_sample1_rc.o | |
8c9f8f91 JS |
55 | FL_SAMPLE2_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \ |
56 | $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \ | |
57 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ | |
2113bc77 | 58 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ |
3abcf424 RD |
59 | $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\..\include -W -Wall -I. \ |
60 | $(__DLLFLAG_p) -I.\..\..\..\samples -DNOPCH -I.\..\..\include \ | |
61 | -DBMP_DIR=\"bitmaps/\" $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \ | |
62 | -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS) | |
03206f17 VS |
63 | FL_SAMPLE2_OBJECTS = \ |
64 | $(OBJS)\fl_sample2_fl_sample2.o \ | |
65 | $(OBJS)\fl_sample2_fl_sample2_rc.o | |
8c9f8f91 JS |
66 | FL_SAMPLE3_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \ |
67 | $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \ | |
68 | $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ | |
2113bc77 | 69 | $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ |
3abcf424 RD |
70 | $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\..\include -W -Wall -I. \ |
71 | $(__DLLFLAG_p) -I.\..\..\..\samples -DNOPCH -I.\..\..\include \ | |
72 | -DBMP_DIR=\"bitmaps/\" $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \ | |
73 | -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS) | |
03206f17 VS |
74 | FL_SAMPLE3_OBJECTS = \ |
75 | $(OBJS)\fl_sample3_fl_sample3.o \ | |
76 | $(OBJS)\fl_sample3_fl_sample3_rc.o | |
03206f17 VS |
77 | |
78 | ### Conditionally set variables: ### | |
79 | ||
80 | ifeq ($(GCC_VERSION),2.95) | |
81 | GCCFLAGS = -fvtable-thunks | |
82 | endif | |
83 | ifeq ($(USE_GUI),0) | |
84 | PORTNAME = base | |
85 | endif | |
86 | ifeq ($(USE_GUI),1) | |
87 | PORTNAME = msw | |
88 | endif | |
89 | ifeq ($(BUILD),debug) | |
90 | ifeq ($(DEBUG_FLAG),default) | |
91 | WXDEBUGFLAG = d | |
92 | endif | |
93 | endif | |
94 | ifeq ($(DEBUG_FLAG),1) | |
95 | WXDEBUGFLAG = d | |
96 | endif | |
03206f17 VS |
97 | ifeq ($(UNICODE),1) |
98 | WXUNICODEFLAG = u | |
99 | endif | |
100 | ifeq ($(WXUNIV),1) | |
101 | WXUNIVNAME = univ | |
102 | endif | |
b17c1746 DE |
103 | ifeq ($(SHARED),1) |
104 | WXDLLFLAG = dll | |
03206f17 | 105 | endif |
b14abf14 JS |
106 | ifeq ($(SHARED),0) |
107 | LIBTYPE_SUFFIX = lib | |
108 | endif | |
109 | ifeq ($(SHARED),1) | |
110 | LIBTYPE_SUFFIX = dll | |
111 | endif | |
dd65d8c8 RN |
112 | ifeq ($(MONOLITHIC),0) |
113 | EXTRALIBS_FOR_BASE = | |
114 | endif | |
115 | ifeq ($(MONOLITHIC),1) | |
116 | EXTRALIBS_FOR_BASE = | |
117 | endif | |
b17c1746 DE |
118 | ifeq ($(BUILD),debug) |
119 | __OPTIMIZEFLAG = -O0 | |
03206f17 VS |
120 | endif |
121 | ifeq ($(BUILD),release) | |
b17c1746 | 122 | __OPTIMIZEFLAG = -O2 |
03206f17 | 123 | endif |
8c9f8f91 JS |
124 | ifeq ($(USE_RTTI),0) |
125 | __RTTIFLAG = -fno-rtti | |
03206f17 | 126 | endif |
8c9f8f91 JS |
127 | ifeq ($(USE_RTTI),1) |
128 | __RTTIFLAG = | |
03206f17 | 129 | endif |
b17c1746 | 130 | ifeq ($(USE_EXCEPTIONS),0) |
8c9f8f91 | 131 | __EXCEPTIONSFLAG = -fno-exceptions |
b17c1746 DE |
132 | endif |
133 | ifeq ($(USE_EXCEPTIONS),1) | |
8c9f8f91 | 134 | __EXCEPTIONSFLAG = |
b17c1746 DE |
135 | endif |
136 | ifeq ($(WXUNIV),1) | |
137 | __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
138 | endif | |
139 | ifeq ($(WXUNIV),1) | |
140 | __WXUNIV_DEFINE_p_12 = --define __WXUNIVERSAL__ | |
03206f17 VS |
141 | endif |
142 | ifeq ($(BUILD),debug) | |
143 | ifeq ($(DEBUG_FLAG),default) | |
144 | __DEBUG_DEFINE_p = -D__WXDEBUG__ | |
145 | endif | |
146 | endif | |
147 | ifeq ($(DEBUG_FLAG),1) | |
148 | __DEBUG_DEFINE_p = -D__WXDEBUG__ | |
149 | endif | |
150 | ifeq ($(BUILD),debug) | |
151 | ifeq ($(DEBUG_FLAG),default) | |
b17c1746 | 152 | __DEBUG_DEFINE_p_12 = --define __WXDEBUG__ |
03206f17 VS |
153 | endif |
154 | endif | |
155 | ifeq ($(DEBUG_FLAG),1) | |
b17c1746 DE |
156 | __DEBUG_DEFINE_p_12 = --define __WXDEBUG__ |
157 | endif | |
8c9f8f91 JS |
158 | ifeq ($(USE_EXCEPTIONS),0) |
159 | __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS | |
160 | endif | |
161 | ifeq ($(USE_EXCEPTIONS),0) | |
162 | __EXCEPTIONS_DEFINE_p_12 = --define wxNO_EXCEPTIONS | |
163 | endif | |
164 | ifeq ($(USE_RTTI),0) | |
165 | __RTTI_DEFINE_p = -DwxNO_RTTI | |
166 | endif | |
167 | ifeq ($(USE_RTTI),0) | |
168 | __RTTI_DEFINE_p_12 = --define wxNO_RTTI | |
169 | endif | |
170 | ifeq ($(USE_THREADS),0) | |
171 | __THREAD_DEFINE_p = -DwxNO_THREADS | |
172 | endif | |
173 | ifeq ($(USE_THREADS),0) | |
174 | __THREAD_DEFINE_p_12 = --define wxNO_THREADS | |
175 | endif | |
b17c1746 DE |
176 | ifeq ($(UNICODE),1) |
177 | __UNICODE_DEFINE_p = -D_UNICODE | |
178 | endif | |
179 | ifeq ($(UNICODE),1) | |
180 | __UNICODE_DEFINE_p_12 = --define _UNICODE | |
181 | endif | |
2113bc77 MW |
182 | ifeq ($(MSLU),1) |
183 | __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1 | |
184 | endif | |
185 | ifeq ($(MSLU),1) | |
186 | __MSLU_DEFINE_p_12 = --define wxUSE_UNICODE_MSLU=1 | |
187 | endif | |
3abcf424 RD |
188 | ifeq ($(USE_GDIPLUS),1) |
189 | __GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1 | |
190 | endif | |
191 | ifeq ($(USE_GDIPLUS),1) | |
192 | __GFXCTX_DEFINE_p_12 = --define wxUSE_GRAPHICS_CONTEXT=1 | |
193 | endif | |
03206f17 VS |
194 | ifeq ($(SHARED),1) |
195 | __DLLFLAG_p = -DWXUSINGDLL | |
196 | endif | |
197 | ifeq ($(SHARED),1) | |
b17c1746 | 198 | __DLLFLAG_p_12 = --define WXUSINGDLL |
03206f17 | 199 | endif |
b17c1746 DE |
200 | ifeq ($(MONOLITHIC),0) |
201 | __WXLIB_CORE_p = \ | |
c33fae85 | 202 | -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core |
a4ad36cd | 203 | endif |
b17c1746 | 204 | ifeq ($(MONOLITHIC),0) |
c33fae85 RN |
205 | __WXLIB_BASE_p = \ |
206 | -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR) | |
a4ad36cd | 207 | endif |
b17c1746 DE |
208 | ifeq ($(MONOLITHIC),1) |
209 | __WXLIB_MONO_p = \ | |
c33fae85 | 210 | -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR) |
a4ad36cd | 211 | endif |
b17c1746 | 212 | ifeq ($(USE_GUI),1) |
9c2d002b | 213 | __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG) |
a4ad36cd | 214 | endif |
03206f17 | 215 | ifeq ($(USE_GUI),1) |
9c2d002b | 216 | __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG) |
03206f17 VS |
217 | endif |
218 | ifeq ($(USE_GUI),1) | |
9c2d002b | 219 | __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG) |
03206f17 | 220 | endif |
2265a2d5 VS |
221 | ifeq ($(MSLU),1) |
222 | __UNICOWS_LIB_p = -lunicows | |
223 | endif | |
3abcf424 RD |
224 | ifeq ($(USE_GDIPLUS),1) |
225 | __GDIPLUS_LIB_p = -lgdiplus | |
226 | endif | |
b17c1746 DE |
227 | ifeq ($(BUILD),debug) |
228 | ifeq ($(DEBUG_INFO),default) | |
229 | __DEBUGINFO = -g | |
03206f17 | 230 | endif |
03206f17 | 231 | endif |
b17c1746 DE |
232 | ifeq ($(BUILD),release) |
233 | ifeq ($(DEBUG_INFO),default) | |
234 | __DEBUGINFO = | |
03206f17 | 235 | endif |
03206f17 | 236 | endif |
b17c1746 DE |
237 | ifeq ($(DEBUG_INFO),0) |
238 | __DEBUGINFO = | |
239 | endif | |
240 | ifeq ($(DEBUG_INFO),1) | |
241 | __DEBUGINFO = -g | |
03206f17 | 242 | endif |
8c9f8f91 JS |
243 | ifeq ($(USE_THREADS),0) |
244 | __THREADSFLAG = | |
245 | endif | |
246 | ifeq ($(USE_THREADS),1) | |
247 | __THREADSFLAG = -mthreads | |
248 | endif | |
03206f17 VS |
249 | |
250 | ||
251 | all: $(OBJS) | |
252 | $(OBJS): | |
253 | -if not exist $(OBJS) mkdir $(OBJS) | |
254 | ||
255 | ### Targets: ### | |
256 | ||
9d5f4fbb | 257 | all: $(OBJS)\fl_demo1.exe $(OBJS)\fl_demo2.exe $(OBJS)\fl_sample1.exe $(OBJS)\fl_sample2.exe $(OBJS)\fl_sample3.exe data_files |
03206f17 | 258 | |
b17c1746 DE |
259 | clean: |
260 | -if exist $(OBJS)\*.o del $(OBJS)\*.o | |
0d90d6ea | 261 | -if exist $(OBJS)\*.d del $(OBJS)\*.d |
b17c1746 DE |
262 | -if exist $(OBJS)\fl_demo1.exe del $(OBJS)\fl_demo1.exe |
263 | -if exist $(OBJS)\fl_demo2.exe del $(OBJS)\fl_demo2.exe | |
264 | -if exist $(OBJS)\fl_sample1.exe del $(OBJS)\fl_sample1.exe | |
265 | -if exist $(OBJS)\fl_sample2.exe del $(OBJS)\fl_sample2.exe | |
266 | -if exist $(OBJS)\fl_sample3.exe del $(OBJS)\fl_sample3.exe | |
267 | ||
268 | $(OBJS)\fl_demo1.exe: $(FL_DEMO1_OBJECTS) $(OBJS)\fl_demo1_fl_demo1_rc.o | |
3abcf424 | 269 | $(CXX) -o $@ $(FL_DEMO1_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -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) $(__GDIPLUS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32 |
b17c1746 DE |
270 | |
271 | $(OBJS)\fl_demo2.exe: $(FL_DEMO2_OBJECTS) $(OBJS)\fl_demo2_fl_demo2_rc.o | |
3abcf424 | 272 | $(CXX) -o $@ $(FL_DEMO2_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -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) $(__GDIPLUS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32 |
b17c1746 DE |
273 | |
274 | $(OBJS)\fl_sample1.exe: $(FL_SAMPLE1_OBJECTS) $(OBJS)\fl_sample1_fl_sample1_rc.o | |
3abcf424 | 275 | $(CXX) -o $@ $(FL_SAMPLE1_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -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) $(__GDIPLUS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32 |
b17c1746 DE |
276 | |
277 | $(OBJS)\fl_sample2.exe: $(FL_SAMPLE2_OBJECTS) $(OBJS)\fl_sample2_fl_sample2_rc.o | |
3abcf424 | 278 | $(CXX) -o $@ $(FL_SAMPLE2_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -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) $(__GDIPLUS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32 |
b17c1746 DE |
279 | |
280 | $(OBJS)\fl_sample3.exe: $(FL_SAMPLE3_OBJECTS) $(OBJS)\fl_sample3_fl_sample3_rc.o | |
3abcf424 | 281 | $(CXX) -o $@ $(FL_SAMPLE3_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -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) $(__GDIPLUS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32 |
b17c1746 DE |
282 | |
283 | data_files: | |
284 | if not exist $(OBJS)\bitmaps mkdir $(OBJS)\bitmaps | |
285 | 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 | |
286 | ||
9d5f4fbb | 287 | $(OBJS)\fl_demo1_fl_demo1.o: ./fl_demo1.cpp |
0d90d6ea | 288 | $(CXX) -c -o $@ $(FL_DEMO1_CXXFLAGS) $(CPPDEPS) $< |
03206f17 | 289 | |
9d5f4fbb | 290 | $(OBJS)\fl_demo1_fl_demo1_rc.o: ./fl_demo1.rc |
3abcf424 | 291 | windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_12) $(__DEBUG_DEFINE_p_12) $(__EXCEPTIONS_DEFINE_p_12) $(__RTTI_DEFINE_p_12) $(__THREAD_DEFINE_p_12) $(__UNICODE_DEFINE_p_12) $(__MSLU_DEFINE_p_12) $(__GFXCTX_DEFINE_p_12) --include-dir $(SETUPHDIR) --include-dir ./../../../include --include-dir . $(__DLLFLAG_p_12) --include-dir ./../../../samples --define NOPCH --include-dir ./../../include --define BMP_DIR="bitmaps/" |
03206f17 | 292 | |
9d5f4fbb | 293 | $(OBJS)\fl_demo2_fl_demo2.o: ./fl_demo2.cpp |
0d90d6ea | 294 | $(CXX) -c -o $@ $(FL_DEMO2_CXXFLAGS) $(CPPDEPS) $< |
03206f17 | 295 | |
9d5f4fbb | 296 | $(OBJS)\fl_demo2_fl_demo2_rc.o: ./fl_demo2.rc |
3abcf424 | 297 | windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_12) $(__DEBUG_DEFINE_p_12) $(__EXCEPTIONS_DEFINE_p_12) $(__RTTI_DEFINE_p_12) $(__THREAD_DEFINE_p_12) $(__UNICODE_DEFINE_p_12) $(__MSLU_DEFINE_p_12) $(__GFXCTX_DEFINE_p_12) --include-dir $(SETUPHDIR) --include-dir ./../../../include --include-dir . $(__DLLFLAG_p_12) --include-dir ./../../../samples --define NOPCH --include-dir ./../../include --define BMP_DIR="bitmaps/" |
03206f17 | 298 | |
9d5f4fbb | 299 | $(OBJS)\fl_sample1_fl_sample1.o: ./fl_sample1.cpp |
0d90d6ea | 300 | $(CXX) -c -o $@ $(FL_SAMPLE1_CXXFLAGS) $(CPPDEPS) $< |
03206f17 | 301 | |
9d5f4fbb | 302 | $(OBJS)\fl_sample1_fl_sample1_rc.o: ./fl_sample1.rc |
3abcf424 | 303 | windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_12) $(__DEBUG_DEFINE_p_12) $(__EXCEPTIONS_DEFINE_p_12) $(__RTTI_DEFINE_p_12) $(__THREAD_DEFINE_p_12) $(__UNICODE_DEFINE_p_12) $(__MSLU_DEFINE_p_12) $(__GFXCTX_DEFINE_p_12) --include-dir $(SETUPHDIR) --include-dir ./../../../include --include-dir . $(__DLLFLAG_p_12) --include-dir ./../../../samples --define NOPCH --include-dir ./../../include --define BMP_DIR="bitmaps/" |
03206f17 | 304 | |
9d5f4fbb | 305 | $(OBJS)\fl_sample2_fl_sample2.o: ./fl_sample2.cpp |
0d90d6ea | 306 | $(CXX) -c -o $@ $(FL_SAMPLE2_CXXFLAGS) $(CPPDEPS) $< |
03206f17 | 307 | |
9d5f4fbb | 308 | $(OBJS)\fl_sample2_fl_sample2_rc.o: ./fl_sample2.rc |
3abcf424 | 309 | windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_12) $(__DEBUG_DEFINE_p_12) $(__EXCEPTIONS_DEFINE_p_12) $(__RTTI_DEFINE_p_12) $(__THREAD_DEFINE_p_12) $(__UNICODE_DEFINE_p_12) $(__MSLU_DEFINE_p_12) $(__GFXCTX_DEFINE_p_12) --include-dir $(SETUPHDIR) --include-dir ./../../../include --include-dir . $(__DLLFLAG_p_12) --include-dir ./../../../samples --define NOPCH --include-dir ./../../include --define BMP_DIR="bitmaps/" |
03206f17 | 310 | |
9d5f4fbb | 311 | $(OBJS)\fl_sample3_fl_sample3.o: ./fl_sample3.cpp |
0d90d6ea | 312 | $(CXX) -c -o $@ $(FL_SAMPLE3_CXXFLAGS) $(CPPDEPS) $< |
03206f17 | 313 | |
9d5f4fbb | 314 | $(OBJS)\fl_sample3_fl_sample3_rc.o: ./fl_sample3.rc |
3abcf424 | 315 | windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_12) $(__DEBUG_DEFINE_p_12) $(__EXCEPTIONS_DEFINE_p_12) $(__RTTI_DEFINE_p_12) $(__THREAD_DEFINE_p_12) $(__UNICODE_DEFINE_p_12) $(__MSLU_DEFINE_p_12) $(__GFXCTX_DEFINE_p_12) --include-dir $(SETUPHDIR) --include-dir ./../../../include --include-dir . $(__DLLFLAG_p_12) --include-dir ./../../../samples --define NOPCH --include-dir ./../../include --define BMP_DIR="bitmaps/" |
03206f17 | 316 | |
9d5f4fbb | 317 | .PHONY: all clean data_files |
b14abf14 | 318 | |
8c9f8f91 | 319 | |
0d90d6ea JS |
320 | # Dependencies tracking: |
321 | -include $(OBJS)/*.d |