]> git.saurik.com Git - wxWidgets.git/blame - samples/opengl/penguin/Makefile.in
doc tweaks
[wxWidgets.git] / samples / opengl / penguin / Makefile.in
CommitLineData
e93c6860
VS
1# =========================================================================
2# This makefile was generated by
3fd9c298 3# Bakefile 0.1.4 (http://bakefile.sourceforge.net)
e93c6860
VS
4# Do not modify, all changes will be overwritten!
5# =========================================================================
335258dc 6
335258dc 7
e93c6860 8@MAKE_SET@
335258dc 9
e93c6860
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@
e93c6860 21CC = @CC@
e93c6860 22CXX = @CXX@
b17c1746 23CFLAGS = @CFLAGS@
e93c6860 24CXXFLAGS = @CXXFLAGS@
b17c1746
DE
25CPPFLAGS = @CPPFLAGS@
26LDFLAGS = @LDFLAGS@
27TOOLKIT = @TOOLKIT@
28TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
29TOOLKIT_VERSION = @TOOLKIT_VERSION@
30TOOLCHAIN_NAME = @TOOLCHAIN_NAME@
e93c6860
VS
31EXTRALIBS = @EXTRALIBS@
32EXTRALIBS_GUI = @EXTRALIBS_GUI@
22cef566 33EXTRALIBS_OPENGL = @EXTRALIBS_OPENGL@
e93c6860 34HOST_SUFFIX = @HOST_SUFFIX@
e93c6860 35SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
ab892b95 36SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@
335258dc 37
e93c6860 38### Variables: ###
335258dc 39
b71531ad 40DESTDIR =
c4839ccf 41WX_VERSION = 2.5.2
e93c6860 42LIBDIRNAME = $(top_builddir)lib
9bfe7ad9
VS
43PENGUIN_CFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir) \
44 $(__DLLFLAG_p) -I$(srcdir)/../../../samples $(CPPFLAGS) $(CFLAGS)
45PENGUIN_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) -I$(srcdir) \
46 $(__DLLFLAG_p) -I$(srcdir)/../../../samples $(CPPFLAGS) $(CXXFLAGS)
e93c6860 47PENGUIN_OBJECTS = \
a4ad36cd 48 $(__penguin_os2_lib_res) \
e93c6860
VS
49 penguin_penguin.o \
50 penguin_lw.o \
51 penguin_trackball.o \
52 $(__penguin___win32rc)
335258dc 53
e93c6860 54### Conditionally set variables: ###
335258dc 55
b328fad3
VS
56@COND_DEPS_TRACKING_0@CCC = $(CC)
57@COND_DEPS_TRACKING_1@CCC = $(top_builddir)./bk-deps $(CC)
58@COND_DEPS_TRACKING_0@CXXC = $(CXX)
59@COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX)
e93c6860
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
b17c1746
DE
67@COND_PLATFORM_MAC_1@__penguin___mac_setfilecmd = \
68@COND_PLATFORM_MAC_1@ $(SETFILE) -a C penguin$(EXEEXT)
69@COND_PLATFORM_MAC_1@__penguin___mac_rezcmd = $(__MACOSX_RESOURCES_p_1)
70@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
71@COND_WXUNIV_1@__WXUNIV_DEFINE_p_1 = -d __WXUNIVERSAL__
72@COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__
e93c6860
VS
73@COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
74@COND_SHARED_1@__DLLFLAG_p_1 = -d WXUSINGDLL
75@COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL
b17c1746
DE
76COND_PLATFORM_OS2_1___penguin___os2_emxbindcmd = $(NM) penguin$(EXEEXT) | if \
77 grep -q pmwin.763 ; then emxbind -ep penguin$(EXEEXT) ; fi
78@COND_PLATFORM_OS2_1@__penguin___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___penguin___os2_emxbindcmd)
79@COND_PLATFORM_OS2_1@__penguin_os2_lib_res = \
80@COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res
81@COND_PLATFORM_MACOSX_1@__penguin_bundle___depname = penguin_bundle
c4839ccf
JS
82@COND_TOOLKIT_COCOA@____penguin_BUNDLE_TGT_REF_DEP = \
83@COND_TOOLKIT_COCOA@ penguin.app/Contents/PkgInfo
84@COND_TOOLKIT_MAC@____penguin_BUNDLE_TGT_REF_DEP = \
85@COND_TOOLKIT_MAC@ penguin.app/Contents/PkgInfo
b17c1746
DE
86COND_MONOLITHIC_0___WXLIB_CORE_p = \
87 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5$(HOST_SUFFIX)
88@COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
89@COND_MONOLITHIC_0@__WXLIB_BASE_p = \
90@COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
91@COND_PLATFORM_WIN32_1@__penguin___win32rc = penguin_penguin_rc.o
92COND_MONOLITHIC_1___WXLIB_MONO_p = \
93 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
94@COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
95@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
96@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
97@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX)
e93c6860
VS
98@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
99@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
100@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(HOST_SUFFIX)
e93c6860
VS
101@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
102@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
103@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(HOST_SUFFIX)
e93c6860
VS
104@COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
105@COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX)
b17c1746
DE
106@COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
107@COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX)
108@COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = \
b92ca8cf 109@COND_WXUSE_REGEX_BUILTIN@ -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(HOST_SUFFIX)
b17c1746
DE
110@COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
111@COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX)
e93c6860 112COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
9bfe7ad9 113 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) -i $(srcdir) $(__DLLFLAG_p_1) -i \
c3255f5f 114 $(srcdir)/../../../samples -i $(top_srcdir)/include -o penguin$(EXEEXT) \
c4839ccf 115 Carbon.r $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).2.r sample.r
e93c6860 116@COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1)
e93c6860
VS
117
118### Targets: ###
119
b328fad3 120all: penguin$(EXEEXT) $(__penguin_bundle___depname) data
e93c6860 121
b17c1746
DE
122install: all
123
124uninstall:
125
126install-strip: install
127
e93c6860 128clean:
ab892b95 129 rm -rf ./.deps ./.pch
e93c6860 130 rm -f ./*.o
b328fad3 131 rm -f penguin$(EXEEXT)
ab892b95 132 rm -rf penguin.app
e93c6860 133
e93c6860 134distclean: clean
ab892b95 135 rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
e93c6860 136
b328fad3 137penguin$(EXEEXT): $(PENGUIN_OBJECTS) $(__penguin___win32rc)
22cef566 138 $(CXX) -o $@ $(PENGUIN_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(SAMPLES_RPATH_FLAG) -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_gl-2.5$(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) $(EXTRALIBS_GUI)
e93c6860
VS
139 $(__penguin___mac_rezcmd)
140 $(__penguin___mac_setfilecmd)
22cef566 141 $(__penguin___os2_emxbindcmd)
ab892b95
VS
142 $(SAMPLES_RPATH_POSTLINK)
143
c4839ccf 144penguin.app/Contents/PkgInfo: penguin$(EXEEXT) $(top_srcdir)/src/mac/carbon/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).2.rsrc $(top_srcdir)/src/mac/carbon/wxmac.icns
ab892b95
VS
145 mkdir -p penguin.app/Contents
146 mkdir -p penguin.app/Contents/MacOS
147 mkdir -p penguin.app/Contents/Resources
148
149
150 sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
151 -e "s/EXECUTABLE/penguin/" \
75a0a7b7 152 -e "s/VERSION/$(WX_VERSION)/" \
0b0efa9a 153 $(top_srcdir)/src/mac/carbon/Info.plist.in >penguin.app/Contents/Info.plist
ab892b95
VS
154
155
156 echo -n "APPL????" >penguin.app/Contents/PkgInfo
157
158
b328fad3 159 ln -f penguin$(EXEEXT) penguin.app/Contents/MacOS/penguin
ab892b95
VS
160
161
c4839ccf
JS
162 cp -f $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).2.rsrc penguin.app/Contents/Resources/penguin.rsrc
163 cp -f $(top_srcdir)/src/mac/carbon/wxmac.icns penguin.app/Contents/Resources/wxmac.icns
ab892b95 164
c4839ccf 165@COND_PLATFORM_MACOSX_1@penguin_bundle: $(____penguin_BUNDLE_TGT_REF_DEP)
e93c6860 166
b17c1746
DE
167data:
168 @mkdir -p .
169 @for f in penguin.lwo; do \
170 if test \( ! -s ./$$f \) -o \( $(srcdir)/$$f -nt ./$$f \) ; then \
171 cp -pRf $(srcdir)/$$f . ; \
172 fi; \
173 done
e93c6860
VS
174
175penguin_penguin.o: $(srcdir)/penguin.cpp
b328fad3 176 $(CXXC) -c -o $@ $(PENGUIN_CXXFLAGS) $<
e93c6860 177
b17c1746
DE
178penguin_lw.o: $(srcdir)/lw.cpp
179 $(CXXC) -c -o $@ $(PENGUIN_CXXFLAGS) $<
e93c6860
VS
180
181penguin_trackball.o: $(srcdir)/trackball.c
b328fad3 182 $(CCC) -c -o $@ $(PENGUIN_CFLAGS) $<
e93c6860 183
b17c1746 184penguin_penguin_rc.o: $(srcdir)/penguin.rc
c3255f5f 185 $(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
e93c6860
VS
186
187
188# Include dependency info, if present:
189@IF_GNU_MAKE@-include .deps/*.d
190
b17c1746 191.PHONY: all install uninstall clean distclean penguin_bundle data