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