]> git.saurik.com Git - wxWidgets.git/blob - demos/forty/Makefile.in
Artwork updates
[wxWidgets.git] / demos / forty / Makefile.in
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.8 (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 WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@
26 TOOLKIT = @TOOLKIT@
27 TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
28 TOOLKIT_VERSION = @TOOLKIT_VERSION@
29 EXTRALIBS = @EXTRALIBS@
30 EXTRALIBS_HTML = @EXTRALIBS_HTML@
31 EXTRALIBS_GUI = @EXTRALIBS_GUI@
32 EXTRALIBS_SDL = @EXTRALIBS_SDL@
33 HOST_SUFFIX = @HOST_SUFFIX@
34 SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
35 SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@
36
37 ### Variables: ###
38
39 DESTDIR =
40 WX_RELEASE = 2.6
41 WX_VERSION = $(WX_RELEASE).0
42 LIBDIRNAME = $(top_builddir)lib
43 FORTY_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
44 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
45 -I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../../samples $(CPPFLAGS) $(CXXFLAGS)
46 FORTY_OBJECTS = \
47 $(__forty_os2_lib_res) \
48 forty_forty.o \
49 forty_canvas.o \
50 forty_card.o \
51 forty_game.o \
52 forty_pile.o \
53 forty_playerdg.o \
54 forty_scoredg.o \
55 forty_scorefil.o \
56 $(__forty___win32rc)
57
58 ### Conditionally set variables: ###
59
60 @COND_DEPS_TRACKING_0@CXXC = $(CXX)
61 @COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX)
62 @COND_USE_PLUGINS_0@PLUGIN_ADV_EXTRALIBS = $(EXTRALIBS_SDL)
63 @COND_USE_GUI_0@PORTNAME = base
64 @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
65 @COND_TOOLKIT_MAC@WXBASEPORT = _carbon
66 @COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d
67 @COND_DEBUG_FLAG_1@WXDEBUGFLAG = d
68 @COND_UNICODE_1@WXUNICODEFLAG = u
69 @COND_WXUNIV_1@WXUNIVNAME = univ
70 @COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS)
71 @COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) $(EXTRALIBS_GUI)
72 @COND_MONOLITHIC_0@EXTRALIBS_FOR_GUI = $(EXTRALIBS_GUI)
73 @COND_MONOLITHIC_1@EXTRALIBS_FOR_GUI =
74 @COND_PLATFORM_MAC_1@__forty___mac_setfilecmd = \
75 @COND_PLATFORM_MAC_1@ $(SETFILE) -a C forty$(EXEEXT)
76 @COND_PLATFORM_MAC_1@__forty___mac_rezcmd = $(__MACOSX_RESOURCES_p_1)
77 @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
78 @COND_WXUNIV_1@__WXUNIV_DEFINE_p_1 = -d __WXUNIVERSAL__
79 @COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__
80 @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
81 @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_1 = -d wxNO_EXCEPTIONS
82 @COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_2 = --define wxNO_EXCEPTIONS
83 @COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI
84 @COND_USE_RTTI_0@__RTTI_DEFINE_p_1 = -d wxNO_RTTI
85 @COND_USE_RTTI_0@__RTTI_DEFINE_p_2 = --define wxNO_RTTI
86 @COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS
87 @COND_USE_THREADS_0@__THREAD_DEFINE_p_1 = -d wxNO_THREADS
88 @COND_USE_THREADS_0@__THREAD_DEFINE_p_2 = --define wxNO_THREADS
89 @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
90 @COND_SHARED_1@__DLLFLAG_p_1 = -d WXUSINGDLL
91 @COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL
92 COND_PLATFORM_OS2_1___forty___os2_emxbindcmd = $(NM) forty$(EXEEXT) | if grep -q \
93 pmwin.763 ; then emxbind -ep forty$(EXEEXT) ; fi
94 @COND_PLATFORM_OS2_1@__forty___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___forty___os2_emxbindcmd)
95 @COND_PLATFORM_OS2_1@__forty_os2_lib_res = \
96 @COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res
97 @COND_PLATFORM_MACOSX_1@__forty_bundle___depname = forty_bundle
98 @COND_TOOLKIT_COCOA@____forty_BUNDLE_TGT_REF_DEP = \
99 @COND_TOOLKIT_COCOA@ forty.app/Contents/PkgInfo
100 @COND_TOOLKIT_MAC@____forty_BUNDLE_TGT_REF_DEP = forty.app/Contents/PkgInfo
101 COND_MONOLITHIC_0___WXLIB_HTML_p = \
102 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html-$(WX_RELEASE)$(HOST_SUFFIX)
103 @COND_MONOLITHIC_0@__WXLIB_HTML_p = $(COND_MONOLITHIC_0___WXLIB_HTML_p)
104 COND_MONOLITHIC_0___WXLIB_ADV_p = \
105 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv-$(WX_RELEASE)$(HOST_SUFFIX)
106 @COND_MONOLITHIC_0@__WXLIB_ADV_p = $(COND_MONOLITHIC_0___WXLIB_ADV_p)
107 COND_MONOLITHIC_0___WXLIB_CORE_p = \
108 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX)
109 @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
110 COND_MONOLITHIC_0___WXLIB_BASE_p = \
111 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
112 @COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p)
113 @COND_PLATFORM_WIN32_1@__forty___win32rc = forty_forty_rc.o
114 COND_MONOLITHIC_1___WXLIB_MONO_p = \
115 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
116 @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
117 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
118 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
119 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
120 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
121 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
122 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
123 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
124 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
125 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
126 @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
127 @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
128 @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
129 @COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
130 COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p = \
131 -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
132 @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = $(COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p)
133 @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
134 @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
135 COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
136 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) \
137 $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) -i $(srcdir) $(__DLLFLAG_p_1) -i \
138 $(srcdir)/../../samples -i $(top_srcdir)/include -o forty$(EXEEXT) Carbon.r \
139 sample.r
140 @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1)
141
142 ### Targets: ###
143
144 all: forty$(EXEEXT) $(__forty_bundle___depname) data
145
146 install: all
147
148 uninstall:
149
150 install-strip: install
151
152 clean:
153 rm -rf ./.deps ./.pch
154 rm -f ./*.o
155 rm -f forty$(EXEEXT)
156 rm -rf forty.app
157
158 distclean: clean
159 rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
160
161 forty$(EXEEXT): $(FORTY_OBJECTS) $(__forty___win32rc)
162 $(CXX) -o $@ $(FORTY_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(SAMPLES_RPATH_FLAG) $(__WXLIB_HTML_p) $(EXTRALIBS_HTML) $(__WXLIB_ADV_p) $(PLUGIN_ADV_EXTRALIBS) $(__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_FOR_BASE) $(EXTRALIBS_FOR_GUI)
163 $(__forty___mac_rezcmd)
164 $(__forty___mac_setfilecmd)
165 $(__forty___os2_emxbindcmd)
166 $(SAMPLES_RPATH_POSTLINK)
167
168 forty.app/Contents/PkgInfo: forty$(EXEEXT) $(top_srcdir)/src/mac/carbon/Info.plist.in $(top_srcdir)/src/mac/carbon/wxmac.icns
169 mkdir -p forty.app/Contents
170 mkdir -p forty.app/Contents/MacOS
171 mkdir -p forty.app/Contents/Resources
172
173
174 sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
175 -e "s/EXECUTABLE/forty/" \
176 -e "s/VERSION/$(WX_VERSION)/" \
177 $(top_srcdir)/src/mac/carbon/Info.plist.in >forty.app/Contents/Info.plist
178
179
180 echo -n "APPL????" >forty.app/Contents/PkgInfo
181
182
183 ln -f forty$(EXEEXT) forty.app/Contents/MacOS/forty
184
185
186 cp -f $(top_srcdir)/src/mac/carbon/wxmac.icns forty.app/Contents/Resources/wxmac.icns
187
188 @COND_PLATFORM_MACOSX_1@forty_bundle: $(____forty_BUNDLE_TGT_REF_DEP)
189
190 data:
191 @mkdir -p .
192 @for f in about.htm; do \
193 if test ! -f ./$$f ; \
194 then x=yep ; \
195 else x=`find $(srcdir)/$$f -newer ./$$f -print` ; \
196 fi; \
197 case "$$x" in ?*) \
198 cp -pRf $(srcdir)/$$f . ;; \
199 esac; \
200 done
201
202 forty_forty.o: $(srcdir)/forty.cpp
203 $(CXXC) -c -o $@ $(FORTY_CXXFLAGS) $(srcdir)/forty.cpp
204
205 forty_canvas.o: $(srcdir)/canvas.cpp
206 $(CXXC) -c -o $@ $(FORTY_CXXFLAGS) $(srcdir)/canvas.cpp
207
208 forty_card.o: $(srcdir)/card.cpp
209 $(CXXC) -c -o $@ $(FORTY_CXXFLAGS) $(srcdir)/card.cpp
210
211 forty_game.o: $(srcdir)/game.cpp
212 $(CXXC) -c -o $@ $(FORTY_CXXFLAGS) $(srcdir)/game.cpp
213
214 forty_pile.o: $(srcdir)/pile.cpp
215 $(CXXC) -c -o $@ $(FORTY_CXXFLAGS) $(srcdir)/pile.cpp
216
217 forty_playerdg.o: $(srcdir)/playerdg.cpp
218 $(CXXC) -c -o $@ $(FORTY_CXXFLAGS) $(srcdir)/playerdg.cpp
219
220 forty_scoredg.o: $(srcdir)/scoredg.cpp
221 $(CXXC) -c -o $@ $(FORTY_CXXFLAGS) $(srcdir)/scoredg.cpp
222
223 forty_scorefil.o: $(srcdir)/scorefil.cpp
224 $(CXXC) -c -o $@ $(FORTY_CXXFLAGS) $(srcdir)/scorefil.cpp
225
226 forty_forty_rc.o: $(srcdir)/forty.rc
227 $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_2) $(__EXCEPTIONS_DEFINE_p_2) $(__RTTI_DEFINE_p_2) $(__THREAD_DEFINE_p_2) --include-dir $(srcdir) $(__DLLFLAG_p_2) --include-dir $(srcdir)/../../samples --include-dir $(top_srcdir)/include
228
229
230 # Include dependency info, if present:
231 @IF_GNU_MAKE@-include .deps/*.d
232
233 .PHONY: all install uninstall clean distclean forty_bundle data