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