]> git.saurik.com Git - wxWidgets.git/blame - demos/life/Makefile.in
fix for GTK assertion `info->icon_pixmap == NULL' failed, #9905
[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
e8352927
VS
102@COND_PLATFORM_MACOSX_1@__life_app_Contents_PkgInfo___depname \
103@COND_PLATFORM_MACOSX_1@ = life.app/Contents/PkgInfo
b17c1746 104@COND_PLATFORM_MACOSX_1@__life_bundle___depname = life_bundle
e8352927
VS
105@COND_TOOLKIT_COCOA@____life_BUNDLE_TGT_REF_DEP = \
106@COND_TOOLKIT_COCOA@ $(__life_app_Contents_PkgInfo___depname)
107@COND_TOOLKIT_MAC@____life_BUNDLE_TGT_REF_DEP = \
108@COND_TOOLKIT_MAC@ $(__life_app_Contents_PkgInfo___depname)
b17c1746 109COND_MONOLITHIC_0___WXLIB_CORE_p = \
a1bf307a 110 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746 111@COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
ceec2216 112COND_MONOLITHIC_0___WXLIB_BASE_p = \
a1bf307a 113 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
ceec2216 114@COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p)
b17c1746
DE
115@COND_PLATFORM_WIN32_1@__life___win32rc = life_life_rc.o
116COND_MONOLITHIC_1___WXLIB_MONO_p = \
a1bf307a 117 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746
DE
118@COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
119@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
120@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
ceec2216 121@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
264af224
VS
122@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
123@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
ceec2216 124@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
264af224
VS
125@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
126@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
ceec2216 127@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
264af224 128@COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
ceec2216 129@COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
ceec2216
RL
130COND_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)
b17c1746 133@COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
ceec2216 134@COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
8ced02f6 135COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(REZ) -d __DARWIN__ -t APPL -d \
8c9f8f91
JS
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 \
8ced02f6
DE
138 $(srcdir)/../../samples $(__RCDEFDIR_p) -i $(top_srcdir)/include -o \
139 life$(EXEEXT) Carbon.r sample.r
264af224 140@COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1)
264af224
VS
141
142### Targets: ###
143
b328fad3 144all: life$(EXEEXT) $(__life_bundle___depname) data
264af224 145
b17c1746
DE
146install: all
147
148uninstall:
149
150install-strip: install
151
264af224 152clean:
ab892b95 153 rm -rf ./.deps ./.pch
264af224 154 rm -f ./*.o
b328fad3 155 rm -f life$(EXEEXT)
ab892b95 156 rm -rf life.app
264af224 157
264af224 158distclean: clean
d3d0b8db 159 rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
264af224 160
b328fad3 161life$(EXEEXT): $(LIFE_OBJECTS) $(__life___win32rc)
7379e476 162 $(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
163 $(__life___mac_rezcmd)
164 $(__life___mac_setfilecmd)
ec08d395 165 $(__life___os2_emxbindcmd)
ab892b95
VS
166 $(SAMPLES_RPATH_POSTLINK)
167
3201a104 168@COND_PLATFORM_MACOSX_1@life.app/Contents/PkgInfo: life$(EXEEXT) $(top_srcdir)/src/osx/carbon/Info.plist.in $(top_srcdir)/src/osx/carbon/wxmac.icns
e8352927
VS
169@COND_PLATFORM_MACOSX_1@ mkdir -p life.app/Contents
170@COND_PLATFORM_MACOSX_1@ mkdir -p life.app/Contents/MacOS
171@COND_PLATFORM_MACOSX_1@ mkdir -p life.app/Contents/Resources
172@COND_PLATFORM_MACOSX_1@
173@COND_PLATFORM_MACOSX_1@
174@COND_PLATFORM_MACOSX_1@ sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
175@COND_PLATFORM_MACOSX_1@ -e "s/EXECUTABLE/life/" \
176@COND_PLATFORM_MACOSX_1@ -e "s/VERSION/$(WX_VERSION)/" \
3201a104 177@COND_PLATFORM_MACOSX_1@ $(top_srcdir)/src/osx/carbon/Info.plist.in >life.app/Contents/Info.plist
e8352927
VS
178@COND_PLATFORM_MACOSX_1@
179@COND_PLATFORM_MACOSX_1@
180@COND_PLATFORM_MACOSX_1@ echo -n "APPL????" >life.app/Contents/PkgInfo
181@COND_PLATFORM_MACOSX_1@
182@COND_PLATFORM_MACOSX_1@
183@COND_PLATFORM_MACOSX_1@ ln -f life$(EXEEXT) life.app/Contents/MacOS/life
184@COND_PLATFORM_MACOSX_1@
185@COND_PLATFORM_MACOSX_1@
3201a104 186@COND_PLATFORM_MACOSX_1@ cp -f $(top_srcdir)/src/osx/carbon/wxmac.icns life.app/Contents/Resources/wxmac.icns
ab892b95 187
c4839ccf 188@COND_PLATFORM_MACOSX_1@life_bundle: $(____life_BUNDLE_TGT_REF_DEP)
264af224 189
b17c1746
DE
190data:
191 @mkdir -p .
192 @for f in breeder.lif; do \
0d90d6ea 193 if test ! -f ./$$f -a ! -d ./$$f ; \
d3d0b8db
JS
194 then x=yep ; \
195 else x=`find $(srcdir)/$$f -newer ./$$f -print` ; \
b17c1746 196 fi; \
d3d0b8db
JS
197 case "$$x" in ?*) \
198 cp -pRf $(srcdir)/$$f . ;; \
199 esac; \
b17c1746
DE
200 done
201
202life_life.o: $(srcdir)/life.cpp
d3d0b8db 203 $(CXXC) -c -o $@ $(LIFE_CXXFLAGS) $(srcdir)/life.cpp
b17c1746 204
264af224 205life_dialogs.o: $(srcdir)/dialogs.cpp
d3d0b8db 206 $(CXXC) -c -o $@ $(LIFE_CXXFLAGS) $(srcdir)/dialogs.cpp
264af224
VS
207
208life_game.o: $(srcdir)/game.cpp
d3d0b8db 209 $(CXXC) -c -o $@ $(LIFE_CXXFLAGS) $(srcdir)/game.cpp
264af224 210
b17c1746 211life_reader.o: $(srcdir)/reader.cpp
d3d0b8db 212 $(CXXC) -c -o $@ $(LIFE_CXXFLAGS) $(srcdir)/reader.cpp
264af224
VS
213
214life_life_rc.o: $(srcdir)/life.rc
7379e476 215 $(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 216
264af224
VS
217
218# Include dependency info, if present:
219@IF_GNU_MAKE@-include .deps/*.d
220
b17c1746 221.PHONY: all install uninstall clean distclean life_bundle data