]>
Commit | Line | Data |
---|---|---|
03206f17 VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
b17c1746 | 3 | # Bakefile 0.1.2 (http://bakefile.sourceforge.net) |
03206f17 VS |
4 | # Do not modify, all changes will be overwritten! |
5 | # ========================================================================= | |
8e08b761 | 6 | |
8e08b761 | 7 | |
03206f17 | 8 | @MAKE_SET@ |
8e08b761 | 9 | |
03206f17 VS |
10 | prefix = @prefix@ |
11 | exec_prefix = @exec_prefix@ | |
12 | INSTALL = @INSTALL@ | |
b17c1746 DE |
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@ | |
03206f17 VS |
21 | CXX = @CXX@ |
22 | CXXFLAGS = @CXXFLAGS@ | |
b17c1746 DE |
23 | CPPFLAGS = @CPPFLAGS@ |
24 | LDFLAGS = @LDFLAGS@ | |
25 | TOOLKIT = @TOOLKIT@ | |
26 | TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@ | |
27 | TOOLKIT_VERSION = @TOOLKIT_VERSION@ | |
28 | TOOLCHAIN_NAME = @TOOLCHAIN_NAME@ | |
03206f17 VS |
29 | EXTRALIBS = @EXTRALIBS@ |
30 | EXTRALIBS_GUI = @EXTRALIBS_GUI@ | |
31 | HOST_SUFFIX = @HOST_SUFFIX@ | |
03206f17 | 32 | SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@ |
ab892b95 | 33 | SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@ |
8e08b761 | 34 | |
03206f17 VS |
35 | ### Variables: ### |
36 | ||
a4ad36cd | 37 | DESTDIR = |
b17c1746 DE |
38 | WX_VERSION = 2.5.1 |
39 | LIBDIRNAME = $(top_builddir)lib | |
9bfe7ad9 VS |
40 | FL_DEMO1_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir) \ |
41 | $(__DLLFLAG_p) -I$(srcdir)/../../../samples -I$(srcdir)/../../include \ | |
e1a098d1 | 42 | -DBMP_DIR=\"bitmaps/\" $(CPPFLAGS) $(CXXFLAGS) |
03206f17 | 43 | FL_DEMO1_OBJECTS = \ |
a4ad36cd | 44 | $(__fl) \ |
03206f17 VS |
45 | fl_demo1_fl_demo1.o \ |
46 | $(__fl_demo1___win32rc) | |
9bfe7ad9 VS |
47 | FL_DEMO2_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir) \ |
48 | $(__DLLFLAG_p) -I$(srcdir)/../../../samples -I$(srcdir)/../../include \ | |
e1a098d1 | 49 | -DBMP_DIR=\"bitmaps/\" $(CPPFLAGS) $(CXXFLAGS) |
03206f17 | 50 | FL_DEMO2_OBJECTS = \ |
a4ad36cd | 51 | $(__fl) \ |
03206f17 VS |
52 | fl_demo2_fl_demo2.o \ |
53 | $(__fl_demo2___win32rc) | |
9bfe7ad9 VS |
54 | FL_SAMPLE1_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir) \ |
55 | $(__DLLFLAG_p) -I$(srcdir)/../../../samples -I$(srcdir)/../../include \ | |
e1a098d1 | 56 | -DBMP_DIR=\"bitmaps/\" $(CPPFLAGS) $(CXXFLAGS) |
03206f17 | 57 | FL_SAMPLE1_OBJECTS = \ |
a4ad36cd | 58 | $(__fl) \ |
03206f17 VS |
59 | fl_sample1_fl_sample1.o \ |
60 | $(__fl_sample1___win32rc) | |
9bfe7ad9 VS |
61 | FL_SAMPLE2_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir) \ |
62 | $(__DLLFLAG_p) -I$(srcdir)/../../../samples -I$(srcdir)/../../include \ | |
e1a098d1 | 63 | -DBMP_DIR=\"bitmaps/\" $(CPPFLAGS) $(CXXFLAGS) |
03206f17 | 64 | FL_SAMPLE2_OBJECTS = \ |
a4ad36cd | 65 | $(__fl) \ |
03206f17 VS |
66 | fl_sample2_fl_sample2.o \ |
67 | $(__fl_sample2___win32rc) | |
9bfe7ad9 VS |
68 | FL_SAMPLE3_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir) \ |
69 | $(__DLLFLAG_p) -I$(srcdir)/../../../samples -I$(srcdir)/../../include \ | |
e1a098d1 | 70 | -DBMP_DIR=\"bitmaps/\" $(CPPFLAGS) $(CXXFLAGS) |
03206f17 | 71 | FL_SAMPLE3_OBJECTS = \ |
a4ad36cd | 72 | $(__fl) \ |
03206f17 VS |
73 | fl_sample3_fl_sample3.o \ |
74 | $(__fl_sample3___win32rc) | |
03206f17 VS |
75 | |
76 | ### Conditionally set variables: ### | |
77 | ||
b328fad3 VS |
78 | @COND_DEPS_TRACKING_0@CXXC = $(CXX) |
79 | @COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX) | |
03206f17 VS |
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 | |
b328fad3 VS |
87 | @COND_PLATFORM_MAC_1@__fl_demo1___mac_setfilecmd = \ |
88 | @COND_PLATFORM_MAC_1@ $(SETFILE) -a C fl_demo1$(EXEEXT) | |
b17c1746 | 89 | @COND_PLATFORM_MAC_1@__fl_demo1___mac_rezcmd = $(__MACOSX_RESOURCES_p_5) |
ec08d395 JS |
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) | |
ab892b95 | 93 | @COND_PLATFORM_MACOSX_1@__fl_demo1_bundle___depname = fl_demo1_bundle |
b17c1746 | 94 | @COND_PLATFORM_WIN32_1@__fl_demo1___win32rc = fl_demo1_fl_demo1_rc.o |
b328fad3 VS |
95 | @COND_PLATFORM_MAC_1@__fl_demo2___mac_setfilecmd = \ |
96 | @COND_PLATFORM_MAC_1@ $(SETFILE) -a C fl_demo2$(EXEEXT) | |
b17c1746 | 97 | @COND_PLATFORM_MAC_1@__fl_demo2___mac_rezcmd = $(__MACOSX_RESOURCES_p_6) |
ec08d395 JS |
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) | |
ab892b95 | 101 | @COND_PLATFORM_MACOSX_1@__fl_demo2_bundle___depname = fl_demo2_bundle |
b17c1746 | 102 | @COND_PLATFORM_WIN32_1@__fl_demo2___win32rc = fl_demo2_fl_demo2_rc.o |
03206f17 | 103 | @COND_PLATFORM_MAC_1@__fl_sample1___mac_setfilecmd = \ |
b328fad3 | 104 | @COND_PLATFORM_MAC_1@ $(SETFILE) -a C fl_sample1$(EXEEXT) |
b17c1746 | 105 | @COND_PLATFORM_MAC_1@__fl_sample1___mac_rezcmd = $(__MACOSX_RESOURCES_p_7) |
ec08d395 JS |
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) | |
ab892b95 | 109 | @COND_PLATFORM_MACOSX_1@__fl_sample1_bundle___depname = fl_sample1_bundle |
b17c1746 | 110 | @COND_PLATFORM_WIN32_1@__fl_sample1___win32rc = fl_sample1_fl_sample1_rc.o |
03206f17 | 111 | @COND_PLATFORM_MAC_1@__fl_sample2___mac_setfilecmd = \ |
b328fad3 | 112 | @COND_PLATFORM_MAC_1@ $(SETFILE) -a C fl_sample2$(EXEEXT) |
b17c1746 | 113 | @COND_PLATFORM_MAC_1@__fl_sample2___mac_rezcmd = $(__MACOSX_RESOURCES_p_8) |
ec08d395 JS |
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) | |
ab892b95 | 117 | @COND_PLATFORM_MACOSX_1@__fl_sample2_bundle___depname = fl_sample2_bundle |
b17c1746 | 118 | @COND_PLATFORM_WIN32_1@__fl_sample2___win32rc = fl_sample2_fl_sample2_rc.o |
03206f17 | 119 | @COND_PLATFORM_MAC_1@__fl_sample3___mac_setfilecmd = \ |
b328fad3 | 120 | @COND_PLATFORM_MAC_1@ $(SETFILE) -a C fl_sample3$(EXEEXT) |
b17c1746 | 121 | @COND_PLATFORM_MAC_1@__fl_sample3___mac_rezcmd = $(__MACOSX_RESOURCES_p_9) |
ec08d395 JS |
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) | |
ab892b95 | 125 | @COND_PLATFORM_MACOSX_1@__fl_sample3_bundle___depname = fl_sample3_bundle |
b17c1746 DE |
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) | |
03206f17 VS |
189 | |
190 | ### Targets: ### | |
191 | ||
9d5f4fbb | 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 |
03206f17 | 193 | |
b17c1746 DE |
194 | install: all |
195 | ||
196 | uninstall: | |
197 | ||
198 | install-strip: install | |
199 | ||
03206f17 | 200 | clean: |
ab892b95 | 201 | rm -rf ./.deps ./.pch |
03206f17 | 202 | rm -f ./*.o |
b328fad3 | 203 | rm -f fl_demo1$(EXEEXT) |
ab892b95 | 204 | rm -rf fl_demo1.app |
b328fad3 | 205 | rm -f fl_demo2$(EXEEXT) |
ab892b95 | 206 | rm -rf fl_demo2.app |
b328fad3 | 207 | rm -f fl_sample1$(EXEEXT) |
ab892b95 | 208 | rm -rf fl_sample1.app |
b328fad3 | 209 | rm -f fl_sample2$(EXEEXT) |
ab892b95 | 210 | rm -rf fl_sample2.app |
b328fad3 | 211 | rm -f fl_sample3$(EXEEXT) |
ab892b95 | 212 | rm -rf fl_sample3.app |
03206f17 VS |
213 | |
214 | distclean: clean | |
ab892b95 | 215 | rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile |
03206f17 | 216 | |
b328fad3 | 217 | fl_demo1$(EXEEXT): $(FL_DEMO1_OBJECTS) $(__fl_demo1___win32rc) |
ec08d395 | 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) |
03206f17 VS |
219 | $(__fl_demo1___mac_rezcmd) |
220 | $(__fl_demo1___mac_setfilecmd) | |
ec08d395 | 221 | $(__fl_demo1___os2_emxbindcmd) |
ab892b95 VS |
222 | $(SAMPLES_RPATH_POSTLINK) |
223 | ||
ec08d395 | 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 |
ab892b95 VS |
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/" \ | |
75a0a7b7 | 232 | -e "s/VERSION/$(WX_VERSION)/" \ |
ab892b95 VS |
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 | ||
b328fad3 | 239 | ln -f fl_demo1$(EXEEXT) fl_demo1.app/Contents/MacOS/fl_demo1 |
ab892b95 VS |
240 | |
241 | ||
a4ad36cd VS |
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 | |
ab892b95 | 244 | |
1c3a6972 | 245 | @COND_PLATFORM_MACOSX_1@fl_demo1_bundle: fl_demo1.app/Contents/PkgInfo |
03206f17 | 246 | |
b328fad3 | 247 | fl_demo2$(EXEEXT): $(FL_DEMO2_OBJECTS) $(__fl_demo2___win32rc) |
ec08d395 | 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) |
03206f17 VS |
249 | $(__fl_demo2___mac_rezcmd) |
250 | $(__fl_demo2___mac_setfilecmd) | |
ec08d395 | 251 | $(__fl_demo2___os2_emxbindcmd) |
ab892b95 VS |
252 | $(SAMPLES_RPATH_POSTLINK) |
253 | ||
ec08d395 | 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 |
ab892b95 VS |
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/" \ | |
75a0a7b7 | 262 | -e "s/VERSION/$(WX_VERSION)/" \ |
ab892b95 VS |
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 | ||
b328fad3 | 269 | ln -f fl_demo2$(EXEEXT) fl_demo2.app/Contents/MacOS/fl_demo2 |
ab892b95 VS |
270 | |
271 | ||
a4ad36cd VS |
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 | |
ab892b95 | 274 | |
1c3a6972 | 275 | @COND_PLATFORM_MACOSX_1@fl_demo2_bundle: fl_demo2.app/Contents/PkgInfo |
03206f17 | 276 | |
b328fad3 | 277 | fl_sample1$(EXEEXT): $(FL_SAMPLE1_OBJECTS) $(__fl_sample1___win32rc) |
ec08d395 | 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) |
03206f17 VS |
279 | $(__fl_sample1___mac_rezcmd) |
280 | $(__fl_sample1___mac_setfilecmd) | |
ec08d395 | 281 | $(__fl_sample1___os2_emxbindcmd) |
ab892b95 VS |
282 | $(SAMPLES_RPATH_POSTLINK) |
283 | ||
ec08d395 | 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 |
ab892b95 VS |
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/" \ | |
75a0a7b7 | 292 | -e "s/VERSION/$(WX_VERSION)/" \ |
ab892b95 VS |
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 | ||
b328fad3 | 299 | ln -f fl_sample1$(EXEEXT) fl_sample1.app/Contents/MacOS/fl_sample1 |
ab892b95 VS |
300 | |
301 | ||
a4ad36cd VS |
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 | |
ab892b95 | 304 | |
1c3a6972 | 305 | @COND_PLATFORM_MACOSX_1@fl_sample1_bundle: fl_sample1.app/Contents/PkgInfo |
03206f17 | 306 | |
b328fad3 | 307 | fl_sample2$(EXEEXT): $(FL_SAMPLE2_OBJECTS) $(__fl_sample2___win32rc) |
ec08d395 | 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) |
03206f17 VS |
309 | $(__fl_sample2___mac_rezcmd) |
310 | $(__fl_sample2___mac_setfilecmd) | |
ec08d395 | 311 | $(__fl_sample2___os2_emxbindcmd) |
ab892b95 VS |
312 | $(SAMPLES_RPATH_POSTLINK) |
313 | ||
ec08d395 | 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 |
ab892b95 VS |
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/" \ | |
75a0a7b7 | 322 | -e "s/VERSION/$(WX_VERSION)/" \ |
ab892b95 VS |
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 | ||
b328fad3 | 329 | ln -f fl_sample2$(EXEEXT) fl_sample2.app/Contents/MacOS/fl_sample2 |
ab892b95 VS |
330 | |
331 | ||
a4ad36cd VS |
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 | |
ab892b95 | 334 | |
1c3a6972 | 335 | @COND_PLATFORM_MACOSX_1@fl_sample2_bundle: fl_sample2.app/Contents/PkgInfo |
03206f17 | 336 | |
b328fad3 | 337 | fl_sample3$(EXEEXT): $(FL_SAMPLE3_OBJECTS) $(__fl_sample3___win32rc) |
ec08d395 | 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) |
03206f17 VS |
339 | $(__fl_sample3___mac_rezcmd) |
340 | $(__fl_sample3___mac_setfilecmd) | |
ec08d395 | 341 | $(__fl_sample3___os2_emxbindcmd) |
ab892b95 VS |
342 | $(SAMPLES_RPATH_POSTLINK) |
343 | ||
ec08d395 | 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 |
ab892b95 VS |
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/" \ | |
75a0a7b7 | 352 | -e "s/VERSION/$(WX_VERSION)/" \ |
ab892b95 VS |
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 | ||
b328fad3 | 359 | ln -f fl_sample3$(EXEEXT) fl_sample3.app/Contents/MacOS/fl_sample3 |
ab892b95 VS |
360 | |
361 | ||
a4ad36cd VS |
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 | |
ab892b95 | 364 | |
1c3a6972 | 365 | @COND_PLATFORM_MACOSX_1@fl_sample3_bundle: fl_sample3.app/Contents/PkgInfo |
03206f17 | 366 | |
b17c1746 DE |
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 | |
03206f17 | 374 | |
b17c1746 DE |
375 | fl_demo1_fl_demo1.o: $(srcdir)/fl_demo1.cpp |
376 | $(CXXC) -c -o $@ $(FL_DEMO1_CXXFLAGS) $< | |
592cae95 | 377 | |
b17c1746 DE |
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/" | |
03206f17 | 380 | |
b17c1746 DE |
381 | fl_demo2_fl_demo2.o: $(srcdir)/fl_demo2.cpp |
382 | $(CXXC) -c -o $@ $(FL_DEMO2_CXXFLAGS) $< | |
03206f17 | 383 | |
b17c1746 DE |
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/" | |
03206f17 VS |
404 | |
405 | ||
406 | # Include dependency info, if present: | |
407 | @IF_GNU_MAKE@-include .deps/*.d | |
408 | ||
b17c1746 | 409 | .PHONY: all install uninstall clean distclean fl_demo1_bundle fl_demo2_bundle fl_sample1_bundle fl_sample2_bundle fl_sample3_bundle data_files |