]> git.saurik.com Git - wxWidgets.git/blame - contrib/samples/fl/Makefile.in
Applied patch [ 795491 ] Multimon sample compatibility with various conditions
[wxWidgets.git] / contrib / samples / fl / Makefile.in
CommitLineData
03206f17
VS
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# =========================================================================
8e08b761 6
8e08b761 7
03206f17 8@MAKE_SET@
8e08b761 9
03206f17
VS
10prefix = @prefix@
11exec_prefix = @exec_prefix@
12INSTALL = @INSTALL@
13CPPFLAGS = @CPPFLAGS@
14CXX = @CXX@
15CXXFLAGS = @CXXFLAGS@
b328fad3 16EXEEXT = @EXEEXT@
03206f17
VS
17EXTRALIBS = @EXTRALIBS@
18EXTRALIBS_GUI = @EXTRALIBS_GUI@
19HOST_SUFFIX = @HOST_SUFFIX@
20LDFLAGS = @LDFLAGS@
21LDFLAGS_GUI = @LDFLAGS_GUI@
22RESCOMP = @RESCOMP@
23SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
ab892b95 24SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@
03206f17
VS
25SETFILE = @SETFILE@
26TOOLCHAIN_NAME = @TOOLCHAIN_NAME@
27TOOLKIT = @TOOLKIT@
28TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
29TOOLKIT_VERSION = @TOOLKIT_VERSION@
30srcdir = @srcdir@
31top_builddir = @top_builddir@
32top_srcdir = @top_srcdir@
8e08b761 33
03206f17
VS
34### Variables: ###
35
36FL_DEMO1_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
75a0a7b7
VS
37 -I$(top_srcdir)/include -I$(srcdir) $(__DLLFLAG_p) \
38 -I$(srcdir)/../../../samples -I$(srcdir)/../../include \
39 -DBMP_DIR=\"bitmaps/\" $(CXXFLAGS)
03206f17
VS
40FL_DEMO1_OBJECTS = \
41 fl_demo1_fl_demo1.o \
42 $(__fl_demo1___win32rc)
43FL_DEMO2_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
75a0a7b7
VS
44 -I$(top_srcdir)/include -I$(srcdir) $(__DLLFLAG_p) \
45 -I$(srcdir)/../../../samples -I$(srcdir)/../../include \
46 -DBMP_DIR=\"bitmaps/\" $(CXXFLAGS)
03206f17
VS
47FL_DEMO2_OBJECTS = \
48 fl_demo2_fl_demo2.o \
49 $(__fl_demo2___win32rc)
50FL_SAMPLE1_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
75a0a7b7
VS
51 -I$(top_srcdir)/include -I$(srcdir) $(__DLLFLAG_p) \
52 -I$(srcdir)/../../../samples -I$(srcdir)/../../include \
53 -DBMP_DIR=\"bitmaps/\" $(CXXFLAGS)
03206f17
VS
54FL_SAMPLE1_OBJECTS = \
55 fl_sample1_fl_sample1.o \
56 $(__fl_sample1___win32rc)
57FL_SAMPLE2_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
75a0a7b7
VS
58 -I$(top_srcdir)/include -I$(srcdir) $(__DLLFLAG_p) \
59 -I$(srcdir)/../../../samples -I$(srcdir)/../../include \
60 -DBMP_DIR=\"bitmaps/\" $(CXXFLAGS)
03206f17
VS
61FL_SAMPLE2_OBJECTS = \
62 fl_sample2_fl_sample2.o \
63 $(__fl_sample2___win32rc)
64FL_SAMPLE3_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
75a0a7b7
VS
65 -I$(top_srcdir)/include -I$(srcdir) $(__DLLFLAG_p) \
66 -I$(srcdir)/../../../samples -I$(srcdir)/../../include \
67 -DBMP_DIR=\"bitmaps/\" $(CXXFLAGS)
03206f17
VS
68FL_SAMPLE3_OBJECTS = \
69 fl_sample3_fl_sample3.o \
70 $(__fl_sample3___win32rc)
71LIBDIRNAME = $(top_builddir)lib
75a0a7b7 72WX_VERSION = 2.5.0
03206f17
VS
73
74### Conditionally set variables: ###
75
b328fad3
VS
76@COND_DEPS_TRACKING_0@CXXC = $(CXX)
77@COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX)
03206f17
VS
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
75a0a7b7 87@COND_SHARED_1@__DLLFLAG_p_17 = --define WXUSINGDLL
03206f17
VS
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)
105COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_5 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
75a0a7b7 106 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) -i $(top_srcdir)/include -i $(srcdir) \
ab892b95 107 $(__DLLFLAG_p_1) -i $(srcdir)/../../../samples -i $(srcdir)/../../include -d \
b328fad3 108 BMP_DIR="bitmaps/" -o fl_sample2$(EXEEXT) Carbon.r \
ab892b95 109 $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.r sample.r
03206f17
VS
110@COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_5 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_5)
111COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_6 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
75a0a7b7 112 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) -i $(top_srcdir)/include -i $(srcdir) \
ab892b95 113 $(__DLLFLAG_p_1) -i $(srcdir)/../../../samples -i $(srcdir)/../../include -d \
b328fad3 114 BMP_DIR="bitmaps/" -o fl_sample3$(EXEEXT) Carbon.r \
ab892b95 115 $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.r sample.r
03206f17
VS
116@COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_6 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_6)
117COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_7 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
75a0a7b7 118 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) -i $(top_srcdir)/include -i $(srcdir) \
ab892b95 119 $(__DLLFLAG_p_1) -i $(srcdir)/../../../samples -i $(srcdir)/../../include -d \
b328fad3 120 BMP_DIR="bitmaps/" -o fl_sample1$(EXEEXT) Carbon.r \
ab892b95 121 $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.r sample.r
03206f17
VS
122@COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_7 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_7)
123COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_8 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
75a0a7b7 124 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) -i $(top_srcdir)/include -i $(srcdir) \
ab892b95 125 $(__DLLFLAG_p_1) -i $(srcdir)/../../../samples -i $(srcdir)/../../include -d \
b328fad3 126 BMP_DIR="bitmaps/" -o fl_demo1$(EXEEXT) Carbon.r \
ab892b95 127 $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.r sample.r
03206f17
VS
128@COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_8 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_8)
129COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_9 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
75a0a7b7 130 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) -i $(top_srcdir)/include -i $(srcdir) \
ab892b95 131 $(__DLLFLAG_p_1) -i $(srcdir)/../../../samples -i $(srcdir)/../../include -d \
b328fad3 132 BMP_DIR="bitmaps/" -o fl_demo2$(EXEEXT) Carbon.r \
ab892b95 133 $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.r sample.r
03206f17
VS
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)
137COND_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)
140COND_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__
75a0a7b7
VS
145@COND_WXUNIV_1@__WXUNIV_DEFINE_p_1_1 = --define __WXUNIVERSAL__
146@COND_PLATFORM_MAC_1@__fl_demo1___mac_rezcmd = $(__MACOSX_RESOURCES_p_8)
b328fad3
VS
147@COND_PLATFORM_MAC_1@__fl_demo1___mac_setfilecmd = \
148@COND_PLATFORM_MAC_1@ $(SETFILE) -a C fl_demo1$(EXEEXT)
03206f17 149@COND_PLATFORM_WIN32_1@__fl_demo1___win32rc = fl_demo1_fl_demo1_rc.o
ab892b95 150@COND_PLATFORM_MACOSX_1@__fl_demo1_bundle___depname = fl_demo1_bundle
75a0a7b7 151@COND_PLATFORM_MAC_1@__fl_demo2___mac_rezcmd = $(__MACOSX_RESOURCES_p_9)
b328fad3
VS
152@COND_PLATFORM_MAC_1@__fl_demo2___mac_setfilecmd = \
153@COND_PLATFORM_MAC_1@ $(SETFILE) -a C fl_demo2$(EXEEXT)
03206f17 154@COND_PLATFORM_WIN32_1@__fl_demo2___win32rc = fl_demo2_fl_demo2_rc.o
ab892b95 155@COND_PLATFORM_MACOSX_1@__fl_demo2_bundle___depname = fl_demo2_bundle
75a0a7b7 156@COND_PLATFORM_MAC_1@__fl_sample1___mac_rezcmd = $(__MACOSX_RESOURCES_p_7)
03206f17 157@COND_PLATFORM_MAC_1@__fl_sample1___mac_setfilecmd = \
b328fad3 158@COND_PLATFORM_MAC_1@ $(SETFILE) -a C fl_sample1$(EXEEXT)
03206f17 159@COND_PLATFORM_WIN32_1@__fl_sample1___win32rc = fl_sample1_fl_sample1_rc.o
ab892b95 160@COND_PLATFORM_MACOSX_1@__fl_sample1_bundle___depname = fl_sample1_bundle
75a0a7b7 161@COND_PLATFORM_MAC_1@__fl_sample2___mac_rezcmd = $(__MACOSX_RESOURCES_p_5)
03206f17 162@COND_PLATFORM_MAC_1@__fl_sample2___mac_setfilecmd = \
b328fad3 163@COND_PLATFORM_MAC_1@ $(SETFILE) -a C fl_sample2$(EXEEXT)
03206f17 164@COND_PLATFORM_WIN32_1@__fl_sample2___win32rc = fl_sample2_fl_sample2_rc.o
ab892b95 165@COND_PLATFORM_MACOSX_1@__fl_sample2_bundle___depname = fl_sample2_bundle
03206f17
VS
166@COND_PLATFORM_MAC_1@__fl_sample3___mac_rezcmd = $(__MACOSX_RESOURCES_p_6)
167@COND_PLATFORM_MAC_1@__fl_sample3___mac_setfilecmd = \
b328fad3 168@COND_PLATFORM_MAC_1@ $(SETFILE) -a C fl_sample3$(EXEEXT)
03206f17 169@COND_PLATFORM_WIN32_1@__fl_sample3___win32rc = fl_sample3_fl_sample3_rc.o
ab892b95 170@COND_PLATFORM_MACOSX_1@__fl_sample3_bundle___depname = fl_sample3_bundle
03206f17
VS
171
172### Targets: ###
173
9d5f4fbb 174all: 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
03206f17
VS
175
176clean:
ab892b95 177 rm -rf ./.deps ./.pch
03206f17 178 rm -f ./*.o
b328fad3 179 rm -f fl_demo1$(EXEEXT)
ab892b95 180 rm -rf fl_demo1.app
b328fad3 181 rm -f fl_demo2$(EXEEXT)
ab892b95 182 rm -rf fl_demo2.app
b328fad3 183 rm -f fl_sample1$(EXEEXT)
ab892b95 184 rm -rf fl_sample1.app
b328fad3 185 rm -f fl_sample2$(EXEEXT)
ab892b95 186 rm -rf fl_sample2.app
b328fad3 187 rm -f fl_sample3$(EXEEXT)
ab892b95 188 rm -rf fl_sample3.app
03206f17 189
9d5f4fbb
VS
190data_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
03206f17 198distclean: clean
ab892b95 199 rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
03206f17 200
b328fad3 201fl_demo1$(EXEEXT): $(FL_DEMO1_OBJECTS) $(__fl_demo1___win32rc)
03206f17
VS
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)
ab892b95
VS
205 $(SAMPLES_RPATH_POSTLINK)
206
1c3a6972 207fl_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
ab892b95
VS
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/" \
75a0a7b7 215 -e "s/VERSION/$(WX_VERSION)/" \
ab892b95
VS
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
b328fad3 222 ln -f fl_demo1$(EXEEXT) fl_demo1.app/Contents/MacOS/fl_demo1
ab892b95
VS
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
1c3a6972 228@COND_PLATFORM_MACOSX_1@fl_demo1_bundle: fl_demo1.app/Contents/PkgInfo
03206f17
VS
229
230fl_demo1_fl_demo1.o: $(srcdir)/fl_demo1.cpp
b328fad3 231 $(CXXC) -c -o $@ $(FL_DEMO1_CXXFLAGS) $<
03206f17
VS
232
233fl_demo1_fl_demo1_rc.o: $(srcdir)/fl_demo1.rc
75a0a7b7 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/"
03206f17 235
b328fad3 236fl_demo2$(EXEEXT): $(FL_DEMO2_OBJECTS) $(__fl_demo2___win32rc)
03206f17
VS
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)
ab892b95
VS
240 $(SAMPLES_RPATH_POSTLINK)
241
1c3a6972 242fl_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
ab892b95
VS
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/" \
75a0a7b7 250 -e "s/VERSION/$(WX_VERSION)/" \
ab892b95
VS
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
b328fad3 257 ln -f fl_demo2$(EXEEXT) fl_demo2.app/Contents/MacOS/fl_demo2
ab892b95
VS
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
1c3a6972 263@COND_PLATFORM_MACOSX_1@fl_demo2_bundle: fl_demo2.app/Contents/PkgInfo
03206f17
VS
264
265fl_demo2_fl_demo2.o: $(srcdir)/fl_demo2.cpp
b328fad3 266 $(CXXC) -c -o $@ $(FL_DEMO2_CXXFLAGS) $<
03206f17
VS
267
268fl_demo2_fl_demo2_rc.o: $(srcdir)/fl_demo2.rc
75a0a7b7 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/"
592cae95 270
b328fad3 271fl_sample1$(EXEEXT): $(FL_SAMPLE1_OBJECTS) $(__fl_sample1___win32rc)
03206f17
VS
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)
ab892b95
VS
275 $(SAMPLES_RPATH_POSTLINK)
276
1c3a6972 277fl_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
ab892b95
VS
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/" \
75a0a7b7 285 -e "s/VERSION/$(WX_VERSION)/" \
ab892b95
VS
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
b328fad3 292 ln -f fl_sample1$(EXEEXT) fl_sample1.app/Contents/MacOS/fl_sample1
ab892b95
VS
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
1c3a6972 298@COND_PLATFORM_MACOSX_1@fl_sample1_bundle: fl_sample1.app/Contents/PkgInfo
03206f17
VS
299
300fl_sample1_fl_sample1.o: $(srcdir)/fl_sample1.cpp
b328fad3 301 $(CXXC) -c -o $@ $(FL_SAMPLE1_CXXFLAGS) $<
03206f17
VS
302
303fl_sample1_fl_sample1_rc.o: $(srcdir)/fl_sample1.rc
75a0a7b7 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/"
592cae95 305
b328fad3 306fl_sample2$(EXEEXT): $(FL_SAMPLE2_OBJECTS) $(__fl_sample2___win32rc)
03206f17
VS
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)
ab892b95
VS
310 $(SAMPLES_RPATH_POSTLINK)
311
1c3a6972 312fl_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
ab892b95
VS
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/" \
75a0a7b7 320 -e "s/VERSION/$(WX_VERSION)/" \
ab892b95
VS
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
b328fad3 327 ln -f fl_sample2$(EXEEXT) fl_sample2.app/Contents/MacOS/fl_sample2
ab892b95
VS
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
1c3a6972 333@COND_PLATFORM_MACOSX_1@fl_sample2_bundle: fl_sample2.app/Contents/PkgInfo
03206f17
VS
334
335fl_sample2_fl_sample2.o: $(srcdir)/fl_sample2.cpp
b328fad3 336 $(CXXC) -c -o $@ $(FL_SAMPLE2_CXXFLAGS) $<
03206f17
VS
337
338fl_sample2_fl_sample2_rc.o: $(srcdir)/fl_sample2.rc
75a0a7b7 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/"
03206f17 340
b328fad3 341fl_sample3$(EXEEXT): $(FL_SAMPLE3_OBJECTS) $(__fl_sample3___win32rc)
03206f17
VS
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)
ab892b95
VS
345 $(SAMPLES_RPATH_POSTLINK)
346
1c3a6972 347fl_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
ab892b95
VS
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/" \
75a0a7b7 355 -e "s/VERSION/$(WX_VERSION)/" \
ab892b95
VS
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
b328fad3 362 ln -f fl_sample3$(EXEEXT) fl_sample3.app/Contents/MacOS/fl_sample3
ab892b95
VS
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
1c3a6972 368@COND_PLATFORM_MACOSX_1@fl_sample3_bundle: fl_sample3.app/Contents/PkgInfo
03206f17
VS
369
370fl_sample3_fl_sample3.o: $(srcdir)/fl_sample3.cpp
b328fad3 371 $(CXXC) -c -o $@ $(FL_SAMPLE3_CXXFLAGS) $<
03206f17
VS
372
373fl_sample3_fl_sample3_rc.o: $(srcdir)/fl_sample3.rc
75a0a7b7 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/"
592cae95 375
03206f17
VS
376install: all
377
378install-strip: install
379
380uninstall:
381
382
383# Include dependency info, if present:
384@IF_GNU_MAKE@-include .deps/*.d
385
9d5f4fbb 386.PHONY: all clean data_files distclean fl_demo1_bundle fl_demo2_bundle fl_sample1_bundle fl_sample2_bundle fl_sample3_bundle install uninstall