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