]>
Commit | Line | Data |
---|---|---|
4b53b013 VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
94acd38e | 3 | # Bakefile 0.1.7 (http://bakefile.sourceforge.net) |
4b53b013 VS |
4 | # Do not modify, all changes will be overwritten! |
5 | # ========================================================================= | |
af1337b0 JS |
6 | |
7 | ||
4b53b013 VS |
8 | @MAKE_SET@ |
9 | ||
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@ | |
4b53b013 VS |
21 | CXX = @CXX@ |
22 | CXXFLAGS = @CXXFLAGS@ | |
b17c1746 DE |
23 | CPPFLAGS = @CPPFLAGS@ |
24 | LDFLAGS = @LDFLAGS@ | |
589e20d0 | 25 | WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@ |
b17c1746 DE |
26 | TOOLKIT = @TOOLKIT@ |
27 | TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@ | |
28 | TOOLKIT_VERSION = @TOOLKIT_VERSION@ | |
29 | TOOLCHAIN_NAME = @TOOLCHAIN_NAME@ | |
4b53b013 | 30 | EXTRALIBS = @EXTRALIBS@ |
9fd04dde | 31 | EXTRALIBS_XML = @EXTRALIBS_XML@ |
b17c1746 DE |
32 | EXTRALIBS_HTML = @EXTRALIBS_HTML@ |
33 | EXTRALIBS_GUI = @EXTRALIBS_GUI@ | |
078c7a59 | 34 | EXTRALIBS_SDL = @EXTRALIBS_SDL@ |
250700e4 | 35 | HOST_SUFFIX = @HOST_SUFFIX@ |
4b53b013 | 36 | SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@ |
ab892b95 | 37 | SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@ |
4b53b013 VS |
38 | |
39 | ### Variables: ### | |
40 | ||
a4ad36cd | 41 | DESTDIR = |
ceec2216 | 42 | WX_RELEASE = 2.5 |
b14abf14 | 43 | WX_VERSION = $(WX_RELEASE).4 |
b17c1746 | 44 | LIBDIRNAME = $(top_builddir)lib |
9bfe7ad9 | 45 | XRCDEMO_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir) \ |
ceec2216 | 46 | $(__DLLFLAG_p) -I$(srcdir)/../../samples $(CPPFLAGS) $(CXXFLAGS) |
3f55f5b8 | 47 | XRCDEMO_OBJECTS = \ |
a4ad36cd | 48 | $(__xrcdemo_os2_lib_res) \ |
3f55f5b8 VS |
49 | xrcdemo_xrcdemo.o \ |
50 | xrcdemo_myframe.o \ | |
51 | xrcdemo_derivdlg.o \ | |
52 | xrcdemo_custclas.o \ | |
53 | $(__xrcdemo___win32rc) | |
4b53b013 VS |
54 | |
55 | ### Conditionally set variables: ### | |
56 | ||
b328fad3 VS |
57 | @COND_DEPS_TRACKING_0@CXXC = $(CXX) |
58 | @COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX) | |
94acd38e | 59 | @COND_USE_PLUGINS_0@PLUGIN_ADV_EXTRALIBS = $(EXTRALIBS_SDL) |
4b53b013 VS |
60 | @COND_USE_GUI_0@PORTNAME = base |
61 | @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) | |
62 | @COND_TOOLKIT_MAC@WXBASEPORT = _carbon | |
3f55f5b8 VS |
63 | @COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d |
64 | @COND_DEBUG_FLAG_1@WXDEBUGFLAG = d | |
4b53b013 VS |
65 | @COND_UNICODE_1@WXUNICODEFLAG = u |
66 | @COND_WXUNIV_1@WXUNIVNAME = univ | |
0e3165d7 DE |
67 | @COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS) |
68 | @COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) $(EXTRALIBS_GUI) | |
69 | @COND_MONOLITHIC_0@EXTRALIBS_FOR_GUI = $(EXTRALIBS_GUI) | |
70 | @COND_MONOLITHIC_1@EXTRALIBS_FOR_GUI = | |
b17c1746 DE |
71 | @COND_PLATFORM_MAC_1@__xrcdemo___mac_setfilecmd = \ |
72 | @COND_PLATFORM_MAC_1@ $(SETFILE) -a C xrcdemo$(EXEEXT) | |
73 | @COND_PLATFORM_MAC_1@__xrcdemo___mac_rezcmd = $(__MACOSX_RESOURCES_p_1) | |
74 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ | |
75 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_1 = -d __WXUNIVERSAL__ | |
76 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__ | |
4b53b013 VS |
77 | @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL |
78 | @COND_SHARED_1@__DLLFLAG_p_1 = -d WXUSINGDLL | |
250700e4 | 79 | @COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL |
b17c1746 DE |
80 | COND_PLATFORM_OS2_1___xrcdemo___os2_emxbindcmd = $(NM) xrcdemo$(EXEEXT) | if \ |
81 | grep -q pmwin.763 ; then emxbind -ep xrcdemo$(EXEEXT) ; fi | |
82 | @COND_PLATFORM_OS2_1@__xrcdemo___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___xrcdemo___os2_emxbindcmd) | |
83 | @COND_PLATFORM_OS2_1@__xrcdemo_os2_lib_res = \ | |
84 | @COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res | |
85 | @COND_PLATFORM_MACOSX_1@__xrcdemo_bundle___depname = xrcdemo_bundle | |
c4839ccf JS |
86 | @COND_TOOLKIT_COCOA@____xrcdemo_BUNDLE_TGT_REF_DEP = \ |
87 | @COND_TOOLKIT_COCOA@ xrcdemo.app/Contents/PkgInfo | |
88 | @COND_TOOLKIT_MAC@____xrcdemo_BUNDLE_TGT_REF_DEP = \ | |
89 | @COND_TOOLKIT_MAC@ xrcdemo.app/Contents/PkgInfo | |
ceec2216 | 90 | COND_MONOLITHIC_0___WXLIB_XRC_p = \ |
a1bf307a | 91 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xrc-$(WX_RELEASE)$(HOST_SUFFIX) |
ceec2216 | 92 | @COND_MONOLITHIC_0@__WXLIB_XRC_p = $(COND_MONOLITHIC_0___WXLIB_XRC_p) |
b17c1746 | 93 | COND_MONOLITHIC_0___WXLIB_HTML_p = \ |
a1bf307a | 94 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html-$(WX_RELEASE)$(HOST_SUFFIX) |
b17c1746 DE |
95 | @COND_MONOLITHIC_0@__WXLIB_HTML_p = $(COND_MONOLITHIC_0___WXLIB_HTML_p) |
96 | COND_MONOLITHIC_0___WXLIB_ADV_p = \ | |
a1bf307a | 97 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv-$(WX_RELEASE)$(HOST_SUFFIX) |
b17c1746 DE |
98 | @COND_MONOLITHIC_0@__WXLIB_ADV_p = $(COND_MONOLITHIC_0___WXLIB_ADV_p) |
99 | COND_MONOLITHIC_0___WXLIB_CORE_p = \ | |
a1bf307a | 100 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX) |
b17c1746 | 101 | @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p) |
ceec2216 | 102 | COND_MONOLITHIC_0___WXLIB_XML_p = \ |
a1bf307a | 103 | -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml-$(WX_RELEASE)$(HOST_SUFFIX) |
ceec2216 RL |
104 | @COND_MONOLITHIC_0@__WXLIB_XML_p = $(COND_MONOLITHIC_0___WXLIB_XML_p) |
105 | COND_MONOLITHIC_0___WXLIB_BASE_p = \ | |
a1bf307a | 106 | -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
ceec2216 | 107 | @COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p) |
b17c1746 DE |
108 | @COND_PLATFORM_WIN32_1@__xrcdemo___win32rc = xrcdemo_xrcdemo_rc.o |
109 | COND_MONOLITHIC_1___WXLIB_MONO_p = \ | |
a1bf307a | 110 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
b17c1746 DE |
111 | @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p) |
112 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \ | |
113 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \ | |
ceec2216 | 114 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
3f55f5b8 VS |
115 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \ |
116 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \ | |
ceec2216 | 117 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
3f55f5b8 VS |
118 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \ |
119 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \ | |
ceec2216 | 120 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
250700e4 | 121 | @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \ |
ceec2216 | 122 | @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
b17c1746 | 123 | @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \ |
7714864e | 124 | @COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
ceec2216 RL |
125 | COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p = \ |
126 | -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) | |
127 | @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = $(COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p) | |
b17c1746 | 128 | @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \ |
ceec2216 | 129 | @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) |
3f55f5b8 | 130 | COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \ |
9bfe7ad9 | 131 | __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) -i $(srcdir) $(__DLLFLAG_p_1) -i \ |
ceec2216 | 132 | $(srcdir)/../../samples -i $(top_srcdir)/include -o xrcdemo$(EXEEXT) Carbon.r \ |
b14abf14 | 133 | $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).4.r sample.r |
3f55f5b8 | 134 | @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1) |
4b53b013 VS |
135 | |
136 | ### Targets: ### | |
137 | ||
b328fad3 | 138 | all: xrcdemo$(EXEEXT) $(__xrcdemo_bundle___depname) data |
4b53b013 | 139 | |
b17c1746 DE |
140 | install: all |
141 | ||
142 | uninstall: | |
143 | ||
144 | install-strip: install | |
145 | ||
4b53b013 | 146 | clean: |
ab892b95 | 147 | rm -rf ./.deps ./.pch |
3f55f5b8 | 148 | rm -f ./*.o |
b328fad3 | 149 | rm -f xrcdemo$(EXEEXT) |
ab892b95 | 150 | rm -rf xrcdemo.app |
4b53b013 | 151 | |
4b53b013 | 152 | distclean: clean |
b14abf14 | 153 | rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile |
4b53b013 | 154 | |
b328fad3 | 155 | xrcdemo$(EXEEXT): $(XRCDEMO_OBJECTS) $(__xrcdemo___win32rc) |
0e3165d7 | 156 | $(CXX) -o $@ $(XRCDEMO_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(SAMPLES_RPATH_FLAG) $(__WXLIB_XRC_p) $(__WXLIB_HTML_p) $(EXTRALIBS_HTML) $(__WXLIB_ADV_p) $(PLUGIN_ADV_EXTRALIBS) $(__WXLIB_CORE_p) $(__WXLIB_XML_p) $(EXTRALIBS_XML) $(__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_FOR_BASE) $(EXTRALIBS_FOR_GUI) |
4b53b013 VS |
157 | $(__xrcdemo___mac_rezcmd) |
158 | $(__xrcdemo___mac_setfilecmd) | |
ec08d395 | 159 | $(__xrcdemo___os2_emxbindcmd) |
ab892b95 VS |
160 | $(SAMPLES_RPATH_POSTLINK) |
161 | ||
b14abf14 | 162 | xrcdemo.app/Contents/PkgInfo: xrcdemo$(EXEEXT) $(top_srcdir)/src/mac/carbon/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).4.rsrc $(top_srcdir)/src/mac/carbon/wxmac.icns |
ab892b95 VS |
163 | mkdir -p xrcdemo.app/Contents |
164 | mkdir -p xrcdemo.app/Contents/MacOS | |
165 | mkdir -p xrcdemo.app/Contents/Resources | |
166 | ||
167 | ||
168 | sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \ | |
169 | -e "s/EXECUTABLE/xrcdemo/" \ | |
75a0a7b7 | 170 | -e "s/VERSION/$(WX_VERSION)/" \ |
13462421 | 171 | $(top_srcdir)/src/mac/carbon/Info.plist.in >xrcdemo.app/Contents/Info.plist |
ab892b95 VS |
172 | |
173 | ||
174 | echo -n "APPL????" >xrcdemo.app/Contents/PkgInfo | |
175 | ||
176 | ||
b328fad3 | 177 | ln -f xrcdemo$(EXEEXT) xrcdemo.app/Contents/MacOS/xrcdemo |
ab892b95 VS |
178 | |
179 | ||
b14abf14 | 180 | cp -f $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).4.rsrc xrcdemo.app/Contents/Resources/xrcdemo.rsrc |
c4839ccf | 181 | cp -f $(top_srcdir)/src/mac/carbon/wxmac.icns xrcdemo.app/Contents/Resources/wxmac.icns |
ab892b95 | 182 | |
c4839ccf | 183 | @COND_PLATFORM_MACOSX_1@xrcdemo_bundle: $(____xrcdemo_BUNDLE_TGT_REF_DEP) |
4b53b013 | 184 | |
b17c1746 DE |
185 | data: |
186 | @mkdir -p ./rc | |
187 | @for f in appicon.ico appicon.xpm artprov.xpm artprov.xrc basicdlg.xpm basicdlg.xrc controls.xpm controls.xrc custclas.xpm custclas.xrc derivdlg.xpm derivdlg.xrc fileopen.gif filesave.gif frame.xrc fuzzy.gif menu.xrc platform.xpm platform.xrc quotes.gif resource.xrc scanning.gif sppicon.ico toolbar.xrc uncenter.xpm uncenter.xrc update.gif variable.xpm variable.xrc; do \ | |
b14abf14 JS |
188 | if test ! -e ./rc/$$f ; \ |
189 | then x=yep ; \ | |
190 | else x=`find $(srcdir)/rc/$$f -newer ./rc/$$f -print` ; \ | |
b17c1746 | 191 | fi; \ |
b14abf14 JS |
192 | case "$$x" in ?*) \ |
193 | cp -pRf $(srcdir)/rc/$$f ./rc ;; \ | |
194 | esac; \ | |
b17c1746 | 195 | done |
4b53b013 | 196 | |
b17c1746 | 197 | xrcdemo_xrcdemo.o: $(srcdir)/xrcdemo.cpp |
b14abf14 | 198 | $(CXXC) -c -o $@ $(XRCDEMO_CXXFLAGS) $(srcdir)/xrcdemo.cpp |
4b53b013 VS |
199 | |
200 | xrcdemo_myframe.o: $(srcdir)/myframe.cpp | |
b14abf14 | 201 | $(CXXC) -c -o $@ $(XRCDEMO_CXXFLAGS) $(srcdir)/myframe.cpp |
4b53b013 | 202 | |
b17c1746 | 203 | xrcdemo_derivdlg.o: $(srcdir)/derivdlg.cpp |
b14abf14 | 204 | $(CXXC) -c -o $@ $(XRCDEMO_CXXFLAGS) $(srcdir)/derivdlg.cpp |
b17c1746 DE |
205 | |
206 | xrcdemo_custclas.o: $(srcdir)/custclas.cpp | |
b14abf14 | 207 | $(CXXC) -c -o $@ $(XRCDEMO_CXXFLAGS) $(srcdir)/custclas.cpp |
4b53b013 | 208 | |
250700e4 | 209 | xrcdemo_xrcdemo_rc.o: $(srcdir)/xrcdemo.rc |
b14abf14 | 210 | $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_2) --include-dir $(srcdir) $(__DLLFLAG_p_2) --include-dir $(srcdir)/../../samples --include-dir $(top_srcdir)/include |
250700e4 | 211 | |
4b53b013 VS |
212 | |
213 | # Include dependency info, if present: | |
214 | @IF_GNU_MAKE@-include .deps/*.d | |
215 | ||
b17c1746 | 216 | .PHONY: all install uninstall clean distclean xrcdemo_bundle data |