]>
Commit | Line | Data |
---|---|---|
1 | # ========================================================================= | |
2 | # This makefile was generated by | |
3 | # Bakefile 0.1.2 (http://bakefile.sourceforge.net) | |
4 | # Do not modify, all changes will be overwritten! | |
5 | # ========================================================================= | |
6 | ||
7 | ||
8 | @MAKE_SET@ | |
9 | ||
10 | prefix = @prefix@ | |
11 | exec_prefix = @exec_prefix@ | |
12 | INSTALL = @INSTALL@ | |
13 | EXEEXT = @EXEEXT@ | |
14 | RESCOMP = @RESCOMP@ | |
15 | SETFILE = @SETFILE@ | |
16 | NM = @NM@ | |
17 | srcdir = @srcdir@ | |
18 | top_srcdir = @top_srcdir@ | |
19 | top_builddir = @top_builddir@ | |
20 | LDFLAGS_GUI = @LDFLAGS_GUI@ | |
21 | CXX = @CXX@ | |
22 | CXXFLAGS = @CXXFLAGS@ | |
23 | CPPFLAGS = @CPPFLAGS@ | |
24 | LDFLAGS = @LDFLAGS@ | |
25 | TOOLKIT = @TOOLKIT@ | |
26 | TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@ | |
27 | TOOLKIT_VERSION = @TOOLKIT_VERSION@ | |
28 | TOOLCHAIN_NAME = @TOOLCHAIN_NAME@ | |
29 | EXTRALIBS = @EXTRALIBS@ | |
30 | EXTRALIBS_GUI = @EXTRALIBS_GUI@ | |
31 | HOST_SUFFIX = @HOST_SUFFIX@ | |
32 | SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@ | |
33 | SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@ | |
34 | ||
35 | ### Variables: ### | |
36 | ||
37 | DESTDIR = | |
38 | WX_VERSION = 2.5.1 | |
39 | LIBDIRNAME = $(top_builddir)lib | |
40 | FL_DEMO1_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir) \ | |
41 | $(__DLLFLAG_p) -I$(srcdir)/../../../samples -I$(srcdir)/../../include \ | |
42 | -DBMP_DIR=\"bitmaps/\" $(CPPFLAGS) $(CXXFLAGS) | |
43 | FL_DEMO1_OBJECTS = \ | |
44 | $(__fl) \ | |
45 | fl_demo1_fl_demo1.o \ | |
46 | $(__fl_demo1___win32rc) | |
47 | FL_DEMO2_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir) \ | |
48 | $(__DLLFLAG_p) -I$(srcdir)/../../../samples -I$(srcdir)/../../include \ | |
49 | -DBMP_DIR=\"bitmaps/\" $(CPPFLAGS) $(CXXFLAGS) | |
50 | FL_DEMO2_OBJECTS = \ | |
51 | $(__fl) \ | |
52 | fl_demo2_fl_demo2.o \ | |
53 | $(__fl_demo2___win32rc) | |
54 | FL_SAMPLE1_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir) \ | |
55 | $(__DLLFLAG_p) -I$(srcdir)/../../../samples -I$(srcdir)/../../include \ | |
56 | -DBMP_DIR=\"bitmaps/\" $(CPPFLAGS) $(CXXFLAGS) | |
57 | FL_SAMPLE1_OBJECTS = \ | |
58 | $(__fl) \ | |
59 | fl_sample1_fl_sample1.o \ | |
60 | $(__fl_sample1___win32rc) | |
61 | FL_SAMPLE2_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir) \ | |
62 | $(__DLLFLAG_p) -I$(srcdir)/../../../samples -I$(srcdir)/../../include \ | |
63 | -DBMP_DIR=\"bitmaps/\" $(CPPFLAGS) $(CXXFLAGS) | |
64 | FL_SAMPLE2_OBJECTS = \ | |
65 | $(__fl) \ | |
66 | fl_sample2_fl_sample2.o \ | |
67 | $(__fl_sample2___win32rc) | |
68 | FL_SAMPLE3_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir) \ | |
69 | $(__DLLFLAG_p) -I$(srcdir)/../../../samples -I$(srcdir)/../../include \ | |
70 | -DBMP_DIR=\"bitmaps/\" $(CPPFLAGS) $(CXXFLAGS) | |
71 | FL_SAMPLE3_OBJECTS = \ | |
72 | $(__fl) \ | |
73 | fl_sample3_fl_sample3.o \ | |
74 | $(__fl_sample3___win32rc) | |
75 | ||
76 | ### Conditionally set variables: ### | |
77 | ||
78 | @COND_DEPS_TRACKING_0@CXXC = $(CXX) | |
79 | @COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX) | |
80 | @COND_USE_GUI_0@PORTNAME = base | |
81 | @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) | |
82 | @COND_TOOLKIT_MAC@WXBASEPORT = _carbon | |
83 | @COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d | |
84 | @COND_DEBUG_FLAG_1@WXDEBUGFLAG = d | |
85 | @COND_UNICODE_1@WXUNICODEFLAG = u | |
86 | @COND_WXUNIV_1@WXUNIVNAME = univ | |
87 | @COND_PLATFORM_MAC_1@__fl_demo1___mac_setfilecmd = \ | |
88 | @COND_PLATFORM_MAC_1@ $(SETFILE) -a C fl_demo1$(EXEEXT) | |
89 | @COND_PLATFORM_MAC_1@__fl_demo1___mac_rezcmd = $(__MACOSX_RESOURCES_p_5) | |
90 | COND_PLATFORM_OS2_1___fl_demo1___os2_emxbindcmd = $(NM) fl_demo1$(EXEEXT) | if \ | |
91 | grep -q pmwin.763 ; then emxbind -ep fl_demo1$(EXEEXT) ; fi | |
92 | @COND_PLATFORM_OS2_1@__fl_demo1___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___fl_demo1___os2_emxbindcmd) | |
93 | @COND_PLATFORM_MACOSX_1@__fl_demo1_bundle___depname = fl_demo1_bundle | |
94 | @COND_PLATFORM_WIN32_1@__fl_demo1___win32rc = fl_demo1_fl_demo1_rc.o | |
95 | @COND_PLATFORM_MAC_1@__fl_demo2___mac_setfilecmd = \ | |
96 | @COND_PLATFORM_MAC_1@ $(SETFILE) -a C fl_demo2$(EXEEXT) | |
97 | @COND_PLATFORM_MAC_1@__fl_demo2___mac_rezcmd = $(__MACOSX_RESOURCES_p_6) | |
98 | COND_PLATFORM_OS2_1___fl_demo2___os2_emxbindcmd = $(NM) fl_demo2$(EXEEXT) | if \ | |
99 | grep -q pmwin.763 ; then emxbind -ep fl_demo2$(EXEEXT) ; fi | |
100 | @COND_PLATFORM_OS2_1@__fl_demo2___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___fl_demo2___os2_emxbindcmd) | |
101 | @COND_PLATFORM_MACOSX_1@__fl_demo2_bundle___depname = fl_demo2_bundle | |
102 | @COND_PLATFORM_WIN32_1@__fl_demo2___win32rc = fl_demo2_fl_demo2_rc.o | |
103 | @COND_PLATFORM_MAC_1@__fl_sample1___mac_setfilecmd = \ | |
104 | @COND_PLATFORM_MAC_1@ $(SETFILE) -a C fl_sample1$(EXEEXT) | |
105 | @COND_PLATFORM_MAC_1@__fl_sample1___mac_rezcmd = $(__MACOSX_RESOURCES_p_7) | |
106 | COND_PLATFORM_OS2_1___fl_sample1___os2_emxbindcmd = $(NM) fl_sample1$(EXEEXT) \ | |
107 | | if grep -q pmwin.763 ; then emxbind -ep fl_sample1$(EXEEXT) ; fi | |
108 | @COND_PLATFORM_OS2_1@__fl_sample1___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___fl_sample1___os2_emxbindcmd) | |
109 | @COND_PLATFORM_MACOSX_1@__fl_sample1_bundle___depname = fl_sample1_bundle | |
110 | @COND_PLATFORM_WIN32_1@__fl_sample1___win32rc = fl_sample1_fl_sample1_rc.o | |
111 | @COND_PLATFORM_MAC_1@__fl_sample2___mac_setfilecmd = \ | |
112 | @COND_PLATFORM_MAC_1@ $(SETFILE) -a C fl_sample2$(EXEEXT) | |
113 | @COND_PLATFORM_MAC_1@__fl_sample2___mac_rezcmd = $(__MACOSX_RESOURCES_p_8) | |
114 | COND_PLATFORM_OS2_1___fl_sample2___os2_emxbindcmd = $(NM) fl_sample2$(EXEEXT) \ | |
115 | | if grep -q pmwin.763 ; then emxbind -ep fl_sample2$(EXEEXT) ; fi | |
116 | @COND_PLATFORM_OS2_1@__fl_sample2___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___fl_sample2___os2_emxbindcmd) | |
117 | @COND_PLATFORM_MACOSX_1@__fl_sample2_bundle___depname = fl_sample2_bundle | |
118 | @COND_PLATFORM_WIN32_1@__fl_sample2___win32rc = fl_sample2_fl_sample2_rc.o | |
119 | @COND_PLATFORM_MAC_1@__fl_sample3___mac_setfilecmd = \ | |
120 | @COND_PLATFORM_MAC_1@ $(SETFILE) -a C fl_sample3$(EXEEXT) | |
121 | @COND_PLATFORM_MAC_1@__fl_sample3___mac_rezcmd = $(__MACOSX_RESOURCES_p_9) | |
122 | COND_PLATFORM_OS2_1___fl_sample3___os2_emxbindcmd = $(NM) fl_sample3$(EXEEXT) \ | |
123 | | if grep -q pmwin.763 ; then emxbind -ep fl_sample3$(EXEEXT) ; fi | |
124 | @COND_PLATFORM_OS2_1@__fl_sample3___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___fl_sample3___os2_emxbindcmd) | |
125 | @COND_PLATFORM_MACOSX_1@__fl_sample3_bundle___depname = fl_sample3_bundle | |
126 | @COND_PLATFORM_WIN32_1@__fl_sample3___win32rc = fl_sample3_fl_sample3_rc.o | |
127 | COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_5 = $(RESCOMP) -d __DARWIN__ -t APPL -d \ | |
128 | __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1_2) -i $(srcdir) $(__DLLFLAG_p_1_2) -i \ | |
129 | $(srcdir)/../../../samples -i $(srcdir)/../../include -d BMP_DIR="bitmaps/" \ | |
130 | -o fl_demo1$(EXEEXT) Carbon.r $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.r \ | |
131 | sample.r | |
132 | @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_5 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_5) | |
133 | COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_6 = $(RESCOMP) -d __DARWIN__ -t APPL -d \ | |
134 | __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1_2) -i $(srcdir) $(__DLLFLAG_p_1_2) -i \ | |
135 | $(srcdir)/../../../samples -i $(srcdir)/../../include -d BMP_DIR="bitmaps/" \ | |
136 | -o fl_demo2$(EXEEXT) Carbon.r $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.r \ | |
137 | sample.r | |
138 | @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_6 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_6) | |
139 | COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_7 = $(RESCOMP) -d __DARWIN__ -t APPL -d \ | |
140 | __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1_2) -i $(srcdir) $(__DLLFLAG_p_1_2) -i \ | |
141 | $(srcdir)/../../../samples -i $(srcdir)/../../include -d BMP_DIR="bitmaps/" \ | |
142 | -o fl_sample1$(EXEEXT) Carbon.r $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.r \ | |
143 | sample.r | |
144 | @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_7 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_7) | |
145 | COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_8 = $(RESCOMP) -d __DARWIN__ -t APPL -d \ | |
146 | __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1_2) -i $(srcdir) $(__DLLFLAG_p_1_2) -i \ | |
147 | $(srcdir)/../../../samples -i $(srcdir)/../../include -d BMP_DIR="bitmaps/" \ | |
148 | -o fl_sample2$(EXEEXT) Carbon.r $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.r \ | |
149 | sample.r | |
150 | @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_8 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_8) | |
151 | COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_9 = $(RESCOMP) -d __DARWIN__ -t APPL -d \ | |
152 | __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1_2) -i $(srcdir) $(__DLLFLAG_p_1_2) -i \ | |
153 | $(srcdir)/../../../samples -i $(srcdir)/../../include -d BMP_DIR="bitmaps/" \ | |
154 | -o fl_sample3$(EXEEXT) Carbon.r $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.r \ | |
155 | sample.r | |
156 | @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_9 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_9) | |
157 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
158 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_1_2 = -d __WXUNIVERSAL__ | |
159 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_1_3 = --define __WXUNIVERSAL__ | |
160 | @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL | |
161 | @COND_SHARED_1@__DLLFLAG_p_1_2 = -d WXUSINGDLL | |
162 | @COND_SHARED_1@__DLLFLAG_p_1_3 = --define WXUSINGDLL | |
163 | @COND_PLATFORM_OS2_1@__fl = $(top_srcdir)/include/wx/os2/wx.res | |
164 | COND_MONOLITHIC_0___WXLIB_CORE_p = \ | |
165 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5$(HOST_SUFFIX) | |
166 | @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p) | |
167 | @COND_MONOLITHIC_0@__WXLIB_BASE_p = \ | |
168 | @COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX) | |
169 | COND_MONOLITHIC_1___WXLIB_MONO_p = \ | |
170 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX) | |
171 | @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p) | |
172 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \ | |
173 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \ | |
174 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
175 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \ | |
176 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \ | |
177 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
178 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \ | |
179 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \ | |
180 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
181 | @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \ | |
182 | @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
183 | @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \ | |
184 | @COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
185 | @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = \ | |
186 | @COND_WXUSE_REGEX_BUILTIN@ -lwxregex$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
187 | @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \ | |
188 | @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
189 | ||
190 | ### Targets: ### | |
191 | ||
192 | all: fl_demo1$(EXEEXT) $(__fl_demo1_bundle___depname) fl_demo2$(EXEEXT) $(__fl_demo2_bundle___depname) fl_sample1$(EXEEXT) $(__fl_sample1_bundle___depname) fl_sample2$(EXEEXT) $(__fl_sample2_bundle___depname) fl_sample3$(EXEEXT) $(__fl_sample3_bundle___depname) data_files | |
193 | ||
194 | install: all | |
195 | ||
196 | uninstall: | |
197 | ||
198 | install-strip: install | |
199 | ||
200 | clean: | |
201 | rm -rf ./.deps ./.pch | |
202 | rm -f ./*.o | |
203 | rm -f fl_demo1$(EXEEXT) | |
204 | rm -rf fl_demo1.app | |
205 | rm -f fl_demo2$(EXEEXT) | |
206 | rm -rf fl_demo2.app | |
207 | rm -f fl_sample1$(EXEEXT) | |
208 | rm -rf fl_sample1.app | |
209 | rm -f fl_sample2$(EXEEXT) | |
210 | rm -rf fl_sample2.app | |
211 | rm -f fl_sample3$(EXEEXT) | |
212 | rm -rf fl_sample3.app | |
213 | ||
214 | distclean: clean | |
215 | rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile | |
216 | ||
217 | fl_demo1$(EXEEXT): $(FL_DEMO1_OBJECTS) $(__fl_demo1___win32rc) | |
218 | $(CXX) -o $@ $(FL_DEMO1_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(SAMPLES_RPATH_FLAG) -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl-2.5$(HOST_SUFFIX) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(__LIB_ZLIB_p) $(__LIB_ODBC_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS) $(EXTRALIBS_GUI) | |
219 | $(__fl_demo1___mac_rezcmd) | |
220 | $(__fl_demo1___mac_setfilecmd) | |
221 | $(__fl_demo1___os2_emxbindcmd) | |
222 | $(SAMPLES_RPATH_POSTLINK) | |
223 | ||
224 | fl_demo1.app/Contents/PkgInfo: fl_demo1$(EXEEXT) $(top_srcdir)/src/mac/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.rsrc $(top_srcdir)/src/mac/wxmac.icns | |
225 | mkdir -p fl_demo1.app/Contents | |
226 | mkdir -p fl_demo1.app/Contents/MacOS | |
227 | mkdir -p fl_demo1.app/Contents/Resources | |
228 | ||
229 | ||
230 | sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \ | |
231 | -e "s/EXECUTABLE/fl_demo1/" \ | |
232 | -e "s/VERSION/$(WX_VERSION)/" \ | |
233 | $(top_srcdir)/src/mac/Info.plist.in >fl_demo1.app/Contents/Info.plist | |
234 | ||
235 | ||
236 | echo -n "APPL????" >fl_demo1.app/Contents/PkgInfo | |
237 | ||
238 | ||
239 | ln -f fl_demo1$(EXEEXT) fl_demo1.app/Contents/MacOS/fl_demo1 | |
240 | ||
241 | ||
242 | ln -sf $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.rsrc fl_demo1.app/Contents/Resources/fl_demo1.rsrc | |
243 | ln -sf $(top_srcdir)/src/mac/wxmac.icns fl_demo1.app/Contents/Resources/wxmac.icns | |
244 | ||
245 | @COND_PLATFORM_MACOSX_1@fl_demo1_bundle: fl_demo1.app/Contents/PkgInfo | |
246 | ||
247 | fl_demo2$(EXEEXT): $(FL_DEMO2_OBJECTS) $(__fl_demo2___win32rc) | |
248 | $(CXX) -o $@ $(FL_DEMO2_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(SAMPLES_RPATH_FLAG) -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl-2.5$(HOST_SUFFIX) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(__LIB_ZLIB_p) $(__LIB_ODBC_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS) $(EXTRALIBS_GUI) | |
249 | $(__fl_demo2___mac_rezcmd) | |
250 | $(__fl_demo2___mac_setfilecmd) | |
251 | $(__fl_demo2___os2_emxbindcmd) | |
252 | $(SAMPLES_RPATH_POSTLINK) | |
253 | ||
254 | fl_demo2.app/Contents/PkgInfo: fl_demo2$(EXEEXT) $(top_srcdir)/src/mac/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.rsrc $(top_srcdir)/src/mac/wxmac.icns | |
255 | mkdir -p fl_demo2.app/Contents | |
256 | mkdir -p fl_demo2.app/Contents/MacOS | |
257 | mkdir -p fl_demo2.app/Contents/Resources | |
258 | ||
259 | ||
260 | sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \ | |
261 | -e "s/EXECUTABLE/fl_demo2/" \ | |
262 | -e "s/VERSION/$(WX_VERSION)/" \ | |
263 | $(top_srcdir)/src/mac/Info.plist.in >fl_demo2.app/Contents/Info.plist | |
264 | ||
265 | ||
266 | echo -n "APPL????" >fl_demo2.app/Contents/PkgInfo | |
267 | ||
268 | ||
269 | ln -f fl_demo2$(EXEEXT) fl_demo2.app/Contents/MacOS/fl_demo2 | |
270 | ||
271 | ||
272 | ln -sf $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.rsrc fl_demo2.app/Contents/Resources/fl_demo2.rsrc | |
273 | ln -sf $(top_srcdir)/src/mac/wxmac.icns fl_demo2.app/Contents/Resources/wxmac.icns | |
274 | ||
275 | @COND_PLATFORM_MACOSX_1@fl_demo2_bundle: fl_demo2.app/Contents/PkgInfo | |
276 | ||
277 | fl_sample1$(EXEEXT): $(FL_SAMPLE1_OBJECTS) $(__fl_sample1___win32rc) | |
278 | $(CXX) -o $@ $(FL_SAMPLE1_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(SAMPLES_RPATH_FLAG) -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl-2.5$(HOST_SUFFIX) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(__LIB_ZLIB_p) $(__LIB_ODBC_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS) $(EXTRALIBS_GUI) | |
279 | $(__fl_sample1___mac_rezcmd) | |
280 | $(__fl_sample1___mac_setfilecmd) | |
281 | $(__fl_sample1___os2_emxbindcmd) | |
282 | $(SAMPLES_RPATH_POSTLINK) | |
283 | ||
284 | fl_sample1.app/Contents/PkgInfo: fl_sample1$(EXEEXT) $(top_srcdir)/src/mac/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.rsrc $(top_srcdir)/src/mac/wxmac.icns | |
285 | mkdir -p fl_sample1.app/Contents | |
286 | mkdir -p fl_sample1.app/Contents/MacOS | |
287 | mkdir -p fl_sample1.app/Contents/Resources | |
288 | ||
289 | ||
290 | sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \ | |
291 | -e "s/EXECUTABLE/fl_sample1/" \ | |
292 | -e "s/VERSION/$(WX_VERSION)/" \ | |
293 | $(top_srcdir)/src/mac/Info.plist.in >fl_sample1.app/Contents/Info.plist | |
294 | ||
295 | ||
296 | echo -n "APPL????" >fl_sample1.app/Contents/PkgInfo | |
297 | ||
298 | ||
299 | ln -f fl_sample1$(EXEEXT) fl_sample1.app/Contents/MacOS/fl_sample1 | |
300 | ||
301 | ||
302 | ln -sf $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.rsrc fl_sample1.app/Contents/Resources/fl_sample1.rsrc | |
303 | ln -sf $(top_srcdir)/src/mac/wxmac.icns fl_sample1.app/Contents/Resources/wxmac.icns | |
304 | ||
305 | @COND_PLATFORM_MACOSX_1@fl_sample1_bundle: fl_sample1.app/Contents/PkgInfo | |
306 | ||
307 | fl_sample2$(EXEEXT): $(FL_SAMPLE2_OBJECTS) $(__fl_sample2___win32rc) | |
308 | $(CXX) -o $@ $(FL_SAMPLE2_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(SAMPLES_RPATH_FLAG) -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl-2.5$(HOST_SUFFIX) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(__LIB_ZLIB_p) $(__LIB_ODBC_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS) $(EXTRALIBS_GUI) | |
309 | $(__fl_sample2___mac_rezcmd) | |
310 | $(__fl_sample2___mac_setfilecmd) | |
311 | $(__fl_sample2___os2_emxbindcmd) | |
312 | $(SAMPLES_RPATH_POSTLINK) | |
313 | ||
314 | fl_sample2.app/Contents/PkgInfo: fl_sample2$(EXEEXT) $(top_srcdir)/src/mac/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.rsrc $(top_srcdir)/src/mac/wxmac.icns | |
315 | mkdir -p fl_sample2.app/Contents | |
316 | mkdir -p fl_sample2.app/Contents/MacOS | |
317 | mkdir -p fl_sample2.app/Contents/Resources | |
318 | ||
319 | ||
320 | sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \ | |
321 | -e "s/EXECUTABLE/fl_sample2/" \ | |
322 | -e "s/VERSION/$(WX_VERSION)/" \ | |
323 | $(top_srcdir)/src/mac/Info.plist.in >fl_sample2.app/Contents/Info.plist | |
324 | ||
325 | ||
326 | echo -n "APPL????" >fl_sample2.app/Contents/PkgInfo | |
327 | ||
328 | ||
329 | ln -f fl_sample2$(EXEEXT) fl_sample2.app/Contents/MacOS/fl_sample2 | |
330 | ||
331 | ||
332 | ln -sf $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.rsrc fl_sample2.app/Contents/Resources/fl_sample2.rsrc | |
333 | ln -sf $(top_srcdir)/src/mac/wxmac.icns fl_sample2.app/Contents/Resources/wxmac.icns | |
334 | ||
335 | @COND_PLATFORM_MACOSX_1@fl_sample2_bundle: fl_sample2.app/Contents/PkgInfo | |
336 | ||
337 | fl_sample3$(EXEEXT): $(FL_SAMPLE3_OBJECTS) $(__fl_sample3___win32rc) | |
338 | $(CXX) -o $@ $(FL_SAMPLE3_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(SAMPLES_RPATH_FLAG) -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_fl-2.5$(HOST_SUFFIX) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(__LIB_ZLIB_p) $(__LIB_ODBC_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS) $(EXTRALIBS_GUI) | |
339 | $(__fl_sample3___mac_rezcmd) | |
340 | $(__fl_sample3___mac_setfilecmd) | |
341 | $(__fl_sample3___os2_emxbindcmd) | |
342 | $(SAMPLES_RPATH_POSTLINK) | |
343 | ||
344 | fl_sample3.app/Contents/PkgInfo: fl_sample3$(EXEEXT) $(top_srcdir)/src/mac/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.rsrc $(top_srcdir)/src/mac/wxmac.icns | |
345 | mkdir -p fl_sample3.app/Contents | |
346 | mkdir -p fl_sample3.app/Contents/MacOS | |
347 | mkdir -p fl_sample3.app/Contents/Resources | |
348 | ||
349 | ||
350 | sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \ | |
351 | -e "s/EXECUTABLE/fl_sample3/" \ | |
352 | -e "s/VERSION/$(WX_VERSION)/" \ | |
353 | $(top_srcdir)/src/mac/Info.plist.in >fl_sample3.app/Contents/Info.plist | |
354 | ||
355 | ||
356 | echo -n "APPL????" >fl_sample3.app/Contents/PkgInfo | |
357 | ||
358 | ||
359 | ln -f fl_sample3$(EXEEXT) fl_sample3.app/Contents/MacOS/fl_sample3 | |
360 | ||
361 | ||
362 | ln -sf $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.rsrc fl_sample3.app/Contents/Resources/fl_sample3.rsrc | |
363 | ln -sf $(top_srcdir)/src/mac/wxmac.icns fl_sample3.app/Contents/Resources/wxmac.icns | |
364 | ||
365 | @COND_PLATFORM_MACOSX_1@fl_sample3_bundle: fl_sample3.app/Contents/PkgInfo | |
366 | ||
367 | data_files: | |
368 | @mkdir -p ./bitmaps | |
369 | @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 \ | |
370 | if test \( ! -s ./bitmaps/$$f \) -o \( $(srcdir)/bitmaps/$$f -nt ./bitmaps/$$f \) ; then \ | |
371 | cp -pRf $(srcdir)/bitmaps/$$f ./bitmaps ; \ | |
372 | fi; \ | |
373 | done | |
374 | ||
375 | fl_demo1_fl_demo1.o: $(srcdir)/fl_demo1.cpp | |
376 | $(CXXC) -c -o $@ $(FL_DEMO1_CXXFLAGS) $< | |
377 | ||
378 | fl_demo1_fl_demo1_rc.o: $(srcdir)/fl_demo1.rc | |
379 | $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1_3) --include-dir $(srcdir) $(__DLLFLAG_p_1_3) --include-dir $(srcdir)/../../../samples --include-dir $(srcdir)/../../include --define BMP_DIR="bitmaps/" | |
380 | ||
381 | fl_demo2_fl_demo2.o: $(srcdir)/fl_demo2.cpp | |
382 | $(CXXC) -c -o $@ $(FL_DEMO2_CXXFLAGS) $< | |
383 | ||
384 | fl_demo2_fl_demo2_rc.o: $(srcdir)/fl_demo2.rc | |
385 | $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1_3) --include-dir $(srcdir) $(__DLLFLAG_p_1_3) --include-dir $(srcdir)/../../../samples --include-dir $(srcdir)/../../include --define BMP_DIR="bitmaps/" | |
386 | ||
387 | fl_sample1_fl_sample1.o: $(srcdir)/fl_sample1.cpp | |
388 | $(CXXC) -c -o $@ $(FL_SAMPLE1_CXXFLAGS) $< | |
389 | ||
390 | fl_sample1_fl_sample1_rc.o: $(srcdir)/fl_sample1.rc | |
391 | $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1_3) --include-dir $(srcdir) $(__DLLFLAG_p_1_3) --include-dir $(srcdir)/../../../samples --include-dir $(srcdir)/../../include --define BMP_DIR="bitmaps/" | |
392 | ||
393 | fl_sample2_fl_sample2.o: $(srcdir)/fl_sample2.cpp | |
394 | $(CXXC) -c -o $@ $(FL_SAMPLE2_CXXFLAGS) $< | |
395 | ||
396 | fl_sample2_fl_sample2_rc.o: $(srcdir)/fl_sample2.rc | |
397 | $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1_3) --include-dir $(srcdir) $(__DLLFLAG_p_1_3) --include-dir $(srcdir)/../../../samples --include-dir $(srcdir)/../../include --define BMP_DIR="bitmaps/" | |
398 | ||
399 | fl_sample3_fl_sample3.o: $(srcdir)/fl_sample3.cpp | |
400 | $(CXXC) -c -o $@ $(FL_SAMPLE3_CXXFLAGS) $< | |
401 | ||
402 | fl_sample3_fl_sample3_rc.o: $(srcdir)/fl_sample3.rc | |
403 | $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1_3) --include-dir $(srcdir) $(__DLLFLAG_p_1_3) --include-dir $(srcdir)/../../../samples --include-dir $(srcdir)/../../include --define BMP_DIR="bitmaps/" | |
404 | ||
405 | ||
406 | # Include dependency info, if present: | |
407 | @IF_GNU_MAKE@-include .deps/*.d | |
408 | ||
409 | .PHONY: all install uninstall clean distclean fl_demo1_bundle fl_demo2_bundle fl_sample1_bundle fl_sample2_bundle fl_sample3_bundle data_files |