]> git.saurik.com Git - wxWidgets.git/blame_incremental - samples/opengl/penguin/Makefile.in
Fix previous change in case somebody is still using
[wxWidgets.git] / samples / opengl / penguin / Makefile.in
... / ...
CommitLineData
1# =========================================================================
2# This makefile was generated by
3# Bakefile 0.1.8 (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@
21CC = @CC@
22CXX = @CXX@
23CFLAGS = @CFLAGS@
24CXXFLAGS = @CXXFLAGS@
25CPPFLAGS = @CPPFLAGS@
26LDFLAGS = @LDFLAGS@
27WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@
28TOOLKIT = @TOOLKIT@
29TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
30TOOLKIT_VERSION = @TOOLKIT_VERSION@
31TOOLCHAIN_NAME = @TOOLCHAIN_NAME@
32EXTRALIBS = @EXTRALIBS@
33EXTRALIBS_GUI = @EXTRALIBS_GUI@
34EXTRALIBS_OPENGL = @EXTRALIBS_OPENGL@
35HOST_SUFFIX = @HOST_SUFFIX@
36SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
37SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@
38
39### Variables: ###
40
41DESTDIR =
42WX_RELEASE = 2.6
43WX_VERSION = $(WX_RELEASE).0
44LIBDIRNAME = $(top_builddir)lib
45PENGUIN_CFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
46 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
47 -I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../../../samples $(CPPFLAGS) \
48 $(CFLAGS)
49PENGUIN_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
50 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
51 -I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../../../samples $(CPPFLAGS) \
52 $(CXXFLAGS)
53PENGUIN_OBJECTS = \
54 $(__penguin_os2_lib_res) \
55 penguin_penguin.o \
56 penguin_lw.o \
57 penguin_trackball.o \
58 $(__penguin___win32rc)
59
60### Conditionally set variables: ###
61
62@COND_DEPS_TRACKING_0@CCC = $(CC)
63@COND_DEPS_TRACKING_1@CCC = $(top_builddir)./bk-deps $(CC)
64@COND_DEPS_TRACKING_0@CXXC = $(CXX)
65@COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX)
66@COND_USE_GUI_0@PORTNAME = base
67@COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
68@COND_TOOLKIT_MAC@WXBASEPORT = _carbon
69@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d
70@COND_DEBUG_FLAG_1@WXDEBUGFLAG = d
71@COND_UNICODE_1@WXUNICODEFLAG = u
72@COND_WXUNIV_1@WXUNIVNAME = univ
73@COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS)
74@COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) $(EXTRALIBS_GUI)
75@COND_MONOLITHIC_0@EXTRALIBS_FOR_GUI = $(EXTRALIBS_GUI)
76@COND_MONOLITHIC_1@EXTRALIBS_FOR_GUI =
77@COND_USE_OPENGL_1@__penguin___depname = penguin$(EXEEXT)
78@COND_PLATFORM_MAC_1@__penguin___mac_setfilecmd = \
79@COND_PLATFORM_MAC_1@ $(SETFILE) -a C penguin$(EXEEXT)
80@COND_PLATFORM_MAC_1@__penguin___mac_rezcmd = $(__MACOSX_RESOURCES_p_1)
81@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
82@COND_WXUNIV_1@__WXUNIV_DEFINE_p_1 = -d __WXUNIVERSAL__
83@COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__
84@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
85@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_1 = -d wxNO_EXCEPTIONS
86@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_2 = --define wxNO_EXCEPTIONS
87@COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI
88@COND_USE_RTTI_0@__RTTI_DEFINE_p_1 = -d wxNO_RTTI
89@COND_USE_RTTI_0@__RTTI_DEFINE_p_2 = --define wxNO_RTTI
90@COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS
91@COND_USE_THREADS_0@__THREAD_DEFINE_p_1 = -d wxNO_THREADS
92@COND_USE_THREADS_0@__THREAD_DEFINE_p_2 = --define wxNO_THREADS
93@COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
94@COND_SHARED_1@__DLLFLAG_p_1 = -d WXUSINGDLL
95@COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL
96COND_PLATFORM_OS2_1___penguin___os2_emxbindcmd = $(NM) penguin$(EXEEXT) | if \
97 grep -q pmwin.763 ; then emxbind -ep penguin$(EXEEXT) ; fi
98@COND_PLATFORM_OS2_1@__penguin___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___penguin___os2_emxbindcmd)
99@COND_PLATFORM_OS2_1@__penguin_os2_lib_res = \
100@COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res
101@COND_PLATFORM_MACOSX_1@__penguin_bundle___depname = penguin_bundle
102@COND_TOOLKIT_COCOA@____penguin_BUNDLE_TGT_REF_DEP = \
103@COND_TOOLKIT_COCOA@ penguin.app/Contents/PkgInfo
104@COND_TOOLKIT_MAC@____penguin_BUNDLE_TGT_REF_DEP = \
105@COND_TOOLKIT_MAC@ penguin.app/Contents/PkgInfo
106COND_MONOLITHIC_0___WXLIB_CORE_p = \
107 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX)
108@COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
109COND_MONOLITHIC_0___WXLIB_BASE_p = \
110 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
111@COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p)
112@COND_PLATFORM_WIN32_1@__penguin___win32rc = penguin_penguin_rc.o
113COND_MONOLITHIC_1___WXLIB_MONO_p = \
114 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
115@COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
116@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
117@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
118@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
119@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
120@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
121@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
122@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
123@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
124@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
125@COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
126@COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
127@COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
128@COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
129COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p = \
130 -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
131@COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = $(COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p)
132@COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
133@COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
134COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
135 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) \
136 $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) -i $(srcdir) $(__DLLFLAG_p_1) -i \
137 $(srcdir)/../../../samples -i $(top_srcdir)/include -o penguin$(EXEEXT) \
138 Carbon.r $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.r sample.r
139@COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1)
140
141### Targets: ###
142
143all: $(__penguin___depname) $(__penguin_bundle___depname) data
144
145install: all
146
147uninstall:
148
149install-strip: install
150
151clean:
152 rm -rf ./.deps ./.pch
153 rm -f ./*.o
154 rm -f penguin$(EXEEXT)
155 rm -rf penguin.app
156
157distclean: clean
158 rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
159
160@COND_USE_OPENGL_1@penguin$(EXEEXT): $(PENGUIN_OBJECTS) $(__penguin___win32rc)
161@COND_USE_OPENGL_1@ $(CXX) -o $@ $(PENGUIN_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(SAMPLES_RPATH_FLAG) -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_gl-$(WX_RELEASE)$(HOST_SUFFIX) $(EXTRALIBS_OPENGL) $(__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)
162@COND_USE_OPENGL_1@ $(__penguin___mac_rezcmd)
163@COND_USE_OPENGL_1@ $(__penguin___mac_setfilecmd)
164@COND_USE_OPENGL_1@ $(__penguin___os2_emxbindcmd)
165@COND_USE_OPENGL_1@ $(SAMPLES_RPATH_POSTLINK)
166
167penguin.app/Contents/PkgInfo: $(__penguin___depname) $(top_srcdir)/src/mac/carbon/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.rsrc $(top_srcdir)/src/mac/carbon/wxmac.icns
168 mkdir -p penguin.app/Contents
169 mkdir -p penguin.app/Contents/MacOS
170 mkdir -p penguin.app/Contents/Resources
171
172
173 sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
174 -e "s/EXECUTABLE/penguin/" \
175 -e "s/VERSION/$(WX_VERSION)/" \
176 $(top_srcdir)/src/mac/carbon/Info.plist.in >penguin.app/Contents/Info.plist
177
178
179 echo -n "APPL????" >penguin.app/Contents/PkgInfo
180
181
182 ln -f penguin$(EXEEXT) penguin.app/Contents/MacOS/penguin
183
184
185 cp -f $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.rsrc penguin.app/Contents/Resources/penguin.rsrc
186 cp -f $(top_srcdir)/src/mac/carbon/wxmac.icns penguin.app/Contents/Resources/wxmac.icns
187
188@COND_PLATFORM_MACOSX_1@penguin_bundle: $(____penguin_BUNDLE_TGT_REF_DEP)
189
190data:
191 @mkdir -p .
192 @for f in penguin.lwo; do \
193 if test ! -e ./$$f ; \
194 then x=yep ; \
195 else x=`find $(srcdir)/$$f -newer ./$$f -print` ; \
196 fi; \
197 case "$$x" in ?*) \
198 cp -pRf $(srcdir)/$$f . ;; \
199 esac; \
200 done
201
202penguin_penguin.o: $(srcdir)/penguin.cpp
203 $(CXXC) -c -o $@ $(PENGUIN_CXXFLAGS) $(srcdir)/penguin.cpp
204
205penguin_lw.o: $(srcdir)/lw.cpp
206 $(CXXC) -c -o $@ $(PENGUIN_CXXFLAGS) $(srcdir)/lw.cpp
207
208penguin_trackball.o: $(srcdir)/trackball.c
209 $(CCC) -c -o $@ $(PENGUIN_CFLAGS) $(srcdir)/trackball.c
210
211penguin_penguin_rc.o: $(srcdir)/penguin.rc
212 $(RESCOMP) -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 --include-dir $(top_srcdir)/include
213
214
215# Include dependency info, if present:
216@IF_GNU_MAKE@-include .deps/*.d
217
218.PHONY: all install uninstall clean distclean penguin_bundle data