]> git.saurik.com Git - wxWidgets.git/blame - demos/life/Makefile.in
first round, connecting overviews properly to main page
[wxWidgets.git] / demos / life / Makefile.in
CommitLineData
264af224
VS
1# =========================================================================
2# This makefile was generated by
6e0fbb3d 3# Bakefile 0.2.3 (http://www.bakefile.org)
264af224
VS
4# Do not modify, all changes will be overwritten!
5# =========================================================================
5a1dca12 6
5a1dca12 7
264af224 8@MAKE_SET@
4bd87101 9
264af224
VS
10prefix = @prefix@
11exec_prefix = @exec_prefix@
6e0fbb3d 12datarootdir = @datarootdir@
264af224 13INSTALL = @INSTALL@
b17c1746 14EXEEXT = @EXEEXT@
8ced02f6
DE
15WINDRES = @WINDRES@
16REZ = @REZ@
b17c1746
DE
17SETFILE = @SETFILE@
18NM = @NM@
69199aad 19BK_DEPS = @BK_DEPS@
b17c1746
DE
20srcdir = @srcdir@
21top_srcdir = @top_srcdir@
69199aad 22LIBS = @LIBS@
b17c1746 23LDFLAGS_GUI = @LDFLAGS_GUI@
264af224
VS
24CXX = @CXX@
25CXXFLAGS = @CXXFLAGS@
b17c1746
DE
26CPPFLAGS = @CPPFLAGS@
27LDFLAGS = @LDFLAGS@
589e20d0 28WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@
b17c1746
DE
29TOOLKIT = @TOOLKIT@
30TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
31TOOLKIT_VERSION = @TOOLKIT_VERSION@
8ced02f6 32TOOLCHAIN_FULLNAME = @TOOLCHAIN_FULLNAME@
264af224
VS
33EXTRALIBS = @EXTRALIBS@
34EXTRALIBS_GUI = @EXTRALIBS_GUI@
7379e476 35CXXWARNINGS = @CXXWARNINGS@
264af224 36HOST_SUFFIX = @HOST_SUFFIX@
264af224 37SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
ab892b95 38SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@
69199aad 39wx_top_builddir = @wx_top_builddir@
5a1dca12 40
264af224 41### Variables: ###
5a1dca12 42
a4ad36cd 43DESTDIR =
ae4ccf12 44WX_RELEASE = 2.9
25bb1412 45WX_VERSION = $(WX_RELEASE).0
69199aad 46LIBDIRNAME = $(wx_top_builddir)/lib
8c9f8f91
JS
47LIFE_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
48 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
7379e476
VZ
49 -I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../../samples $(CXXWARNINGS) \
50 $(CPPFLAGS) $(CXXFLAGS)
264af224 51LIFE_OBJECTS = \
a4ad36cd 52 $(__life_os2_lib_res) \
264af224
VS
53 life_life.o \
54 life_dialogs.o \
55 life_game.o \
56 life_reader.o \
57 $(__life___win32rc)
5a1dca12 58
264af224
VS
59### Conditionally set variables: ###
60
b328fad3 61@COND_DEPS_TRACKING_0@CXXC = $(CXX)
69199aad 62@COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX)
264af224
VS
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
0e3165d7
DE
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 =
6e0fbb3d 74@COND_PLATFORM_MAC_0@__life___mac_setfilecmd = @true
b17c1746
DE
75@COND_PLATFORM_MAC_1@__life___mac_setfilecmd = \
76@COND_PLATFORM_MAC_1@ $(SETFILE) -a C life$(EXEEXT)
77@COND_PLATFORM_MAC_1@__life___mac_rezcmd = $(__MACOSX_RESOURCES_p_1)
78@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
79@COND_WXUNIV_1@__WXUNIV_DEFINE_p_1 = -d __WXUNIVERSAL__
80@COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__
8c9f8f91
JS
81@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
82@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_1 = -d wxNO_EXCEPTIONS
83@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_2 = --define wxNO_EXCEPTIONS
84@COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI
85@COND_USE_RTTI_0@__RTTI_DEFINE_p_1 = -d wxNO_RTTI
86@COND_USE_RTTI_0@__RTTI_DEFINE_p_2 = --define wxNO_RTTI
87@COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS
88@COND_USE_THREADS_0@__THREAD_DEFINE_p_1 = -d wxNO_THREADS
89@COND_USE_THREADS_0@__THREAD_DEFINE_p_2 = --define wxNO_THREADS
264af224
VS
90@COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
91@COND_SHARED_1@__DLLFLAG_p_1 = -d WXUSINGDLL
92@COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL
b17c1746
DE
93COND_PLATFORM_OS2_1___life___os2_emxbindcmd = $(NM) life$(EXEEXT) | if grep -q \
94 pmwin.763 ; then emxbind -ep life$(EXEEXT) ; fi
95@COND_PLATFORM_OS2_1@__life___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___life___os2_emxbindcmd)
8ced02f6
DE
96@COND_TOOLKIT_MSW@__RCDEFDIR_p = -i \
97@COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME)
98@COND_TOOLKIT_MSW@__RCDEFDIR_p_1 = --include-dir \
99@COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME)
b17c1746
DE
100@COND_PLATFORM_OS2_1@__life_os2_lib_res = \
101@COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res
102@COND_PLATFORM_MACOSX_1@__life_bundle___depname = life_bundle
c4839ccf
JS
103@COND_TOOLKIT_COCOA@____life_BUNDLE_TGT_REF_DEP = life.app/Contents/PkgInfo
104@COND_TOOLKIT_MAC@____life_BUNDLE_TGT_REF_DEP = life.app/Contents/PkgInfo
b17c1746 105COND_MONOLITHIC_0___WXLIB_CORE_p = \
a1bf307a 106 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746 107@COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
ceec2216 108COND_MONOLITHIC_0___WXLIB_BASE_p = \
a1bf307a 109 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
ceec2216 110@COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p)
b17c1746
DE
111@COND_PLATFORM_WIN32_1@__life___win32rc = life_life_rc.o
112COND_MONOLITHIC_1___WXLIB_MONO_p = \
a1bf307a 113 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746
DE
114@COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
115@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
116@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
ceec2216 117@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
264af224
VS
118@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
119@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
ceec2216 120@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
264af224
VS
121@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
122@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
ceec2216 123@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
264af224 124@COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
ceec2216 125@COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
ceec2216
RL
126COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p = \
127 -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
128@COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = $(COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p)
b17c1746 129@COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
ceec2216 130@COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
8ced02f6 131COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(REZ) -d __DARWIN__ -t APPL -d \
8c9f8f91
JS
132 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) \
133 $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) -i $(srcdir) $(__DLLFLAG_p_1) -i \
8ced02f6
DE
134 $(srcdir)/../../samples $(__RCDEFDIR_p) -i $(top_srcdir)/include -o \
135 life$(EXEEXT) Carbon.r sample.r
264af224 136@COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1)
264af224
VS
137
138### Targets: ###
139
b328fad3 140all: life$(EXEEXT) $(__life_bundle___depname) data
264af224 141
b17c1746
DE
142install: all
143
144uninstall:
145
146install-strip: install
147
264af224 148clean:
ab892b95 149 rm -rf ./.deps ./.pch
264af224 150 rm -f ./*.o
b328fad3 151 rm -f life$(EXEEXT)
ab892b95 152 rm -rf life.app
264af224 153
264af224 154distclean: clean
d3d0b8db 155 rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
264af224 156
b328fad3 157life$(EXEEXT): $(LIFE_OBJECTS) $(__life___win32rc)
7379e476 158 $(CXX) -o $@ $(LIFE_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(SAMPLES_RPATH_FLAG) $(LIBS) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(EXTRALIBS_FOR_GUI) $(__LIB_ZLIB_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE)
264af224
VS
159 $(__life___mac_rezcmd)
160 $(__life___mac_setfilecmd)
ec08d395 161 $(__life___os2_emxbindcmd)
ab892b95
VS
162 $(SAMPLES_RPATH_POSTLINK)
163
d391f667 164life.app/Contents/PkgInfo: life$(EXEEXT) $(top_srcdir)/src/mac/carbon/Info.plist.in $(top_srcdir)/src/mac/carbon/wxmac.icns
ab892b95
VS
165 mkdir -p life.app/Contents
166 mkdir -p life.app/Contents/MacOS
167 mkdir -p life.app/Contents/Resources
168
169
170 sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
171 -e "s/EXECUTABLE/life/" \
75a0a7b7 172 -e "s/VERSION/$(WX_VERSION)/" \
3fd9c298 173 $(top_srcdir)/src/mac/carbon/Info.plist.in >life.app/Contents/Info.plist
ab892b95
VS
174
175
176 echo -n "APPL????" >life.app/Contents/PkgInfo
177
178
b328fad3 179 ln -f life$(EXEEXT) life.app/Contents/MacOS/life
ab892b95
VS
180
181
c4839ccf 182 cp -f $(top_srcdir)/src/mac/carbon/wxmac.icns life.app/Contents/Resources/wxmac.icns
ab892b95 183
c4839ccf 184@COND_PLATFORM_MACOSX_1@life_bundle: $(____life_BUNDLE_TGT_REF_DEP)
264af224 185
b17c1746
DE
186data:
187 @mkdir -p .
188 @for f in breeder.lif; do \
0d90d6ea 189 if test ! -f ./$$f -a ! -d ./$$f ; \
d3d0b8db
JS
190 then x=yep ; \
191 else x=`find $(srcdir)/$$f -newer ./$$f -print` ; \
b17c1746 192 fi; \
d3d0b8db
JS
193 case "$$x" in ?*) \
194 cp -pRf $(srcdir)/$$f . ;; \
195 esac; \
b17c1746
DE
196 done
197
198life_life.o: $(srcdir)/life.cpp
d3d0b8db 199 $(CXXC) -c -o $@ $(LIFE_CXXFLAGS) $(srcdir)/life.cpp
b17c1746 200
264af224 201life_dialogs.o: $(srcdir)/dialogs.cpp
d3d0b8db 202 $(CXXC) -c -o $@ $(LIFE_CXXFLAGS) $(srcdir)/dialogs.cpp
264af224
VS
203
204life_game.o: $(srcdir)/game.cpp
d3d0b8db 205 $(CXXC) -c -o $@ $(LIFE_CXXFLAGS) $(srcdir)/game.cpp
264af224 206
b17c1746 207life_reader.o: $(srcdir)/reader.cpp
d3d0b8db 208 $(CXXC) -c -o $@ $(LIFE_CXXFLAGS) $(srcdir)/reader.cpp
264af224
VS
209
210life_life_rc.o: $(srcdir)/life.rc
7379e476 211 $(WINDRES) -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 $(__RCDEFDIR_p_1) --include-dir $(top_srcdir)/include
264af224 212
264af224
VS
213
214# Include dependency info, if present:
215@IF_GNU_MAKE@-include .deps/*.d
216
b17c1746 217.PHONY: all install uninstall clean distclean life_bundle data