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