]> git.saurik.com Git - wxWidgets.git/blame - demos/forty/Makefile.in
Minor decorations.
[wxWidgets.git] / demos / forty / Makefile.in
CommitLineData
264af224
VS
1# =========================================================================
2# This makefile was generated by
3fd9c298 3# Bakefile 0.1.4 (http://bakefile.sourceforge.net)
264af224
VS
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@
b17c1746
DE
13EXEEXT = @EXEEXT@
14RESCOMP = @RESCOMP@
15SETFILE = @SETFILE@
16NM = @NM@
17srcdir = @srcdir@
18top_srcdir = @top_srcdir@
19top_builddir = @top_builddir@
20LDFLAGS_GUI = @LDFLAGS_GUI@
264af224
VS
21CXX = @CXX@
22CXXFLAGS = @CXXFLAGS@
b17c1746
DE
23CPPFLAGS = @CPPFLAGS@
24LDFLAGS = @LDFLAGS@
589e20d0 25WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@
b17c1746
DE
26TOOLKIT = @TOOLKIT@
27TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
28TOOLKIT_VERSION = @TOOLKIT_VERSION@
29TOOLCHAIN_NAME = @TOOLCHAIN_NAME@
264af224 30EXTRALIBS = @EXTRALIBS@
4bc89de6 31EXTRALIBS_HTML = @EXTRALIBS_HTML@
b17c1746 32EXTRALIBS_GUI = @EXTRALIBS_GUI@
3fd9c298 33EXTRALIBS_SDL = @EXTRALIBS_SDL@
17a7bf57 34EXTRALIBS_GNOMEPRINT = @EXTRALIBS_GNOMEPRINT@
264af224 35HOST_SUFFIX = @HOST_SUFFIX@
264af224 36SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
ab892b95 37SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@
79144b8a 38
264af224 39### Variables: ###
79144b8a 40
a4ad36cd 41DESTDIR =
ceec2216 42WX_RELEASE = 2.5
7714864e 43WX_VERSION = $(WX_RELEASE).3
b17c1746 44LIBDIRNAME = $(top_builddir)lib
9bfe7ad9
VS
45FORTY_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir) \
46 $(__DLLFLAG_p) -I$(srcdir)/../../samples $(CPPFLAGS) $(CXXFLAGS)
264af224 47FORTY_OBJECTS = \
a4ad36cd 48 $(__forty_os2_lib_res) \
264af224
VS
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)
264af224
VS
58
59### Conditionally set variables: ###
60
b328fad3
VS
61@COND_DEPS_TRACKING_0@CXXC = $(CXX)
62@COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX)
17a7bf57
RL
63@COND_USE_PLUGINS_0@PLUGIN_ADV_EXTRALIBS = \
64@COND_USE_PLUGINS_0@ $(EXTRALIBS_SDL) $(EXTRALIBS_GNOMEPRINT)
264af224
VS
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
0e3165d7
DE
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 =
b17c1746
DE
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__
264af224
VS
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
b17c1746
DE
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
c4839ccf
JS
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
b17c1746 94COND_MONOLITHIC_0___WXLIB_HTML_p = \
a1bf307a 95 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746 96@COND_MONOLITHIC_0@__WXLIB_HTML_p = $(COND_MONOLITHIC_0___WXLIB_HTML_p)
3fd9c298 97COND_MONOLITHIC_0___WXLIB_ADV_p = \
a1bf307a 98 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv-$(WX_RELEASE)$(HOST_SUFFIX)
3fd9c298 99@COND_MONOLITHIC_0@__WXLIB_ADV_p = $(COND_MONOLITHIC_0___WXLIB_ADV_p)
b17c1746 100COND_MONOLITHIC_0___WXLIB_CORE_p = \
a1bf307a 101 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746 102@COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
ceec2216 103COND_MONOLITHIC_0___WXLIB_BASE_p = \
a1bf307a 104 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
ceec2216 105@COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p)
b17c1746
DE
106@COND_PLATFORM_WIN32_1@__forty___win32rc = forty_forty_rc.o
107COND_MONOLITHIC_1___WXLIB_MONO_p = \
a1bf307a 108 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746
DE
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@ = \
ceec2216 112@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
264af224
VS
113@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
114@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
ceec2216 115@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
264af224
VS
116@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
117@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
ceec2216 118@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
264af224 119@COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
ceec2216 120@COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746 121@COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
7714864e 122@COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
ceec2216
RL
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)
b17c1746 126@COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
ceec2216 127@COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
264af224 128COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
9bfe7ad9 129 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) -i $(srcdir) $(__DLLFLAG_p_1) -i \
c3255f5f 130 $(srcdir)/../../samples -i $(top_srcdir)/include -o forty$(EXEEXT) Carbon.r \
7714864e 131 $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).3.r sample.r
264af224 132@COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1)
264af224
VS
133
134### Targets: ###
135
154fd1e4 136all: forty$(EXEEXT) $(__forty_bundle___depname) data
264af224 137
b17c1746
DE
138install: all
139
140uninstall:
141
142install-strip: install
143
264af224 144clean:
ab892b95 145 rm -rf ./.deps ./.pch
264af224 146 rm -f ./*.o
b328fad3 147 rm -f forty$(EXEEXT)
ab892b95 148 rm -rf forty.app
264af224
VS
149
150distclean: clean
ab892b95 151 rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
264af224 152
b328fad3 153forty$(EXEEXT): $(FORTY_OBJECTS) $(__forty___win32rc)
0e3165d7 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)
264af224
VS
155 $(__forty___mac_rezcmd)
156 $(__forty___mac_setfilecmd)
ec08d395 157 $(__forty___os2_emxbindcmd)
ab892b95
VS
158 $(SAMPLES_RPATH_POSTLINK)
159
7714864e 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
ab892b95
VS
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/" \
75a0a7b7 168 -e "s/VERSION/$(WX_VERSION)/" \
3fd9c298 169 $(top_srcdir)/src/mac/carbon/Info.plist.in >forty.app/Contents/Info.plist
ab892b95
VS
170
171
172 echo -n "APPL????" >forty.app/Contents/PkgInfo
173
174
b328fad3 175 ln -f forty$(EXEEXT) forty.app/Contents/MacOS/forty
ab892b95
VS
176
177
7714864e 178 cp -f $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).3.rsrc forty.app/Contents/Resources/forty.rsrc
c4839ccf 179 cp -f $(top_srcdir)/src/mac/carbon/wxmac.icns forty.app/Contents/Resources/wxmac.icns
ab892b95 180
c4839ccf 181@COND_PLATFORM_MACOSX_1@forty_bundle: $(____forty_BUNDLE_TGT_REF_DEP)
264af224 182
154fd1e4
WS
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
b17c1746 191forty_forty.o: $(srcdir)/forty.cpp
b328fad3 192 $(CXXC) -c -o $@ $(FORTY_CXXFLAGS) $<
264af224 193
b17c1746 194forty_canvas.o: $(srcdir)/canvas.cpp
b328fad3 195 $(CXXC) -c -o $@ $(FORTY_CXXFLAGS) $<
264af224 196
b17c1746 197forty_card.o: $(srcdir)/card.cpp
b328fad3 198 $(CXXC) -c -o $@ $(FORTY_CXXFLAGS) $<
264af224 199
264af224 200forty_game.o: $(srcdir)/game.cpp
b328fad3 201 $(CXXC) -c -o $@ $(FORTY_CXXFLAGS) $<
264af224
VS
202
203forty_pile.o: $(srcdir)/pile.cpp
b328fad3 204 $(CXXC) -c -o $@ $(FORTY_CXXFLAGS) $<
264af224
VS
205
206forty_playerdg.o: $(srcdir)/playerdg.cpp
b328fad3 207 $(CXXC) -c -o $@ $(FORTY_CXXFLAGS) $<
264af224
VS
208
209forty_scoredg.o: $(srcdir)/scoredg.cpp
b328fad3 210 $(CXXC) -c -o $@ $(FORTY_CXXFLAGS) $<
264af224
VS
211
212forty_scorefil.o: $(srcdir)/scorefil.cpp
b328fad3 213 $(CXXC) -c -o $@ $(FORTY_CXXFLAGS) $<
264af224 214
b17c1746 215forty_forty_rc.o: $(srcdir)/forty.rc
c3255f5f 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
264af224
VS
217
218
219# Include dependency info, if present:
220@IF_GNU_MAKE@-include .deps/*.d
221
154fd1e4 222.PHONY: all install uninstall clean distclean forty_bundle data