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