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