]> git.saurik.com Git - wxWidgets.git/blame - samples/opengl/penguin/Makefile.in
Removed very out of date files in docs/msw
[wxWidgets.git] / samples / opengl / penguin / Makefile.in
CommitLineData
e93c6860
VS
1# =========================================================================
2# This makefile was generated by
8c9f8f91 3# Bakefile 0.1.8 (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@
589e20d0 27WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@
b17c1746
DE
28TOOLKIT = @TOOLKIT@
29TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
30TOOLKIT_VERSION = @TOOLKIT_VERSION@
31TOOLCHAIN_NAME = @TOOLCHAIN_NAME@
e93c6860
VS
32EXTRALIBS = @EXTRALIBS@
33EXTRALIBS_GUI = @EXTRALIBS_GUI@
22cef566 34EXTRALIBS_OPENGL = @EXTRALIBS_OPENGL@
e93c6860 35HOST_SUFFIX = @HOST_SUFFIX@
e93c6860 36SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
ab892b95 37SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@
335258dc 38
e93c6860 39### Variables: ###
335258dc 40
b71531ad 41DESTDIR =
ceec2216 42WX_RELEASE = 2.5
8c9f8f91 43WX_VERSION = $(WX_RELEASE).5
e93c6860 44LIBDIRNAME = $(top_builddir)lib
8c9f8f91
JS
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)
e93c6860 53PENGUIN_OBJECTS = \
a4ad36cd 54 $(__penguin_os2_lib_res) \
e93c6860
VS
55 penguin_penguin.o \
56 penguin_lw.o \
57 penguin_trackball.o \
58 $(__penguin___win32rc)
335258dc 59
e93c6860 60### Conditionally set variables: ###
335258dc 61
b328fad3
VS
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)
e93c6860
VS
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
0e3165d7
DE
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)
b17c1746
DE
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__
8c9f8f91
JS
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
e93c6860
VS
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
b17c1746
DE
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
c4839ccf
JS
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
b17c1746 106COND_MONOLITHIC_0___WXLIB_CORE_p = \
a1bf307a 107 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746 108@COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
ceec2216 109COND_MONOLITHIC_0___WXLIB_BASE_p = \
a1bf307a 110 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
ceec2216 111@COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p)
b17c1746
DE
112@COND_PLATFORM_WIN32_1@__penguin___win32rc = penguin_penguin_rc.o
113COND_MONOLITHIC_1___WXLIB_MONO_p = \
a1bf307a 114 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746
DE
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@ = \
ceec2216 118@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
e93c6860
VS
119@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
120@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
ceec2216 121@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
e93c6860
VS
122@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
123@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
ceec2216 124@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
e93c6860 125@COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
ceec2216 126@COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746 127@COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
7714864e 128@COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
ceec2216
RL
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)
b17c1746 132@COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
ceec2216 133@COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
e93c6860 134COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
8c9f8f91
JS
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 \
c3255f5f 137 $(srcdir)/../../../samples -i $(top_srcdir)/include -o penguin$(EXEEXT) \
8c9f8f91 138 Carbon.r $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).5.r sample.r
e93c6860 139@COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1)
e93c6860
VS
140
141### Targets: ###
142
0e3165d7 143all: $(__penguin___depname) $(__penguin_bundle___depname) data
e93c6860 144
b17c1746
DE
145install: all
146
147uninstall:
148
149install-strip: install
150
e93c6860 151clean:
ab892b95 152 rm -rf ./.deps ./.pch
e93c6860 153 rm -f ./*.o
b328fad3 154 rm -f penguin$(EXEEXT)
ab892b95 155 rm -rf penguin.app
e93c6860 156
e93c6860 157distclean: clean
b14abf14 158 rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
e93c6860 159
0e3165d7
DE
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)
ab892b95 166
8c9f8f91 167penguin.app/Contents/PkgInfo: $(__penguin___depname) $(top_srcdir)/src/mac/carbon/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).5.rsrc $(top_srcdir)/src/mac/carbon/wxmac.icns
ab892b95
VS
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/" \
75a0a7b7 175 -e "s/VERSION/$(WX_VERSION)/" \
0b0efa9a 176 $(top_srcdir)/src/mac/carbon/Info.plist.in >penguin.app/Contents/Info.plist
ab892b95
VS
177
178
179 echo -n "APPL????" >penguin.app/Contents/PkgInfo
180
181
b328fad3 182 ln -f penguin$(EXEEXT) penguin.app/Contents/MacOS/penguin
ab892b95
VS
183
184
8c9f8f91 185 cp -f $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).5.rsrc penguin.app/Contents/Resources/penguin.rsrc
c4839ccf 186 cp -f $(top_srcdir)/src/mac/carbon/wxmac.icns penguin.app/Contents/Resources/wxmac.icns
ab892b95 187
c4839ccf 188@COND_PLATFORM_MACOSX_1@penguin_bundle: $(____penguin_BUNDLE_TGT_REF_DEP)
e93c6860 189
b17c1746
DE
190data:
191 @mkdir -p .
192 @for f in penguin.lwo; do \
b14abf14
JS
193 if test ! -e ./$$f ; \
194 then x=yep ; \
195 else x=`find $(srcdir)/$$f -newer ./$$f -print` ; \
b17c1746 196 fi; \
b14abf14
JS
197 case "$$x" in ?*) \
198 cp -pRf $(srcdir)/$$f . ;; \
199 esac; \
b17c1746 200 done
e93c6860
VS
201
202penguin_penguin.o: $(srcdir)/penguin.cpp
b14abf14 203 $(CXXC) -c -o $@ $(PENGUIN_CXXFLAGS) $(srcdir)/penguin.cpp
e93c6860 204
b17c1746 205penguin_lw.o: $(srcdir)/lw.cpp
b14abf14 206 $(CXXC) -c -o $@ $(PENGUIN_CXXFLAGS) $(srcdir)/lw.cpp
e93c6860
VS
207
208penguin_trackball.o: $(srcdir)/trackball.c
b14abf14 209 $(CCC) -c -o $@ $(PENGUIN_CFLAGS) $(srcdir)/trackball.c
e93c6860 210
b17c1746 211penguin_penguin_rc.o: $(srcdir)/penguin.rc
8c9f8f91 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
e93c6860
VS
213
214
215# Include dependency info, if present:
216@IF_GNU_MAKE@-include .deps/*.d
217
b17c1746 218.PHONY: all install uninstall clean distclean penguin_bundle data