]> git.saurik.com Git - wxWidgets.git/blame - samples/opengl/cube/Makefile.in
regenerated with DESTDIR fixes
[wxWidgets.git] / samples / opengl / cube / Makefile.in
CommitLineData
250700e4
RD
1# =========================================================================
2# This makefile was generated by
bdc408c4 3# Bakefile 0.1.1 (http://bakefile.sourceforge.net)
250700e4
RD
4# Do not modify, all changes will be overwritten!
5# =========================================================================
335258dc 6
335258dc 7
250700e4 8@MAKE_SET@
335258dc 9
250700e4
RD
10prefix = @prefix@
11exec_prefix = @exec_prefix@
12INSTALL = @INSTALL@
13CPPFLAGS = @CPPFLAGS@
14CXX = @CXX@
15CXXFLAGS = @CXXFLAGS@
b328fad3 16EXEEXT = @EXEEXT@
250700e4
RD
17EXTRALIBS = @EXTRALIBS@
18EXTRALIBS_GUI = @EXTRALIBS_GUI@
22cef566 19EXTRALIBS_OPENGL = @EXTRALIBS_OPENGL@
250700e4
RD
20HOST_SUFFIX = @HOST_SUFFIX@
21LDFLAGS = @LDFLAGS@
22LDFLAGS_GUI = @LDFLAGS_GUI@
ec08d395 23NM = @NM@
250700e4
RD
24RESCOMP = @RESCOMP@
25SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
ab892b95 26SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@
250700e4
RD
27SETFILE = @SETFILE@
28TOOLCHAIN_NAME = @TOOLCHAIN_NAME@
29TOOLKIT = @TOOLKIT@
30TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
31TOOLKIT_VERSION = @TOOLKIT_VERSION@
32srcdir = @srcdir@
33top_builddir = @top_builddir@
34top_srcdir = @top_srcdir@
335258dc 35
250700e4 36### Variables: ###
335258dc 37
250700e4 38CUBE_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
75a0a7b7
VS
39 -I$(top_srcdir)/include -I$(srcdir) $(__DLLFLAG_p) \
40 -I$(srcdir)/../../../samples $(CXXFLAGS)
67757ff7
VS
41CUBE_OBJECTS = \
42 cube_cube.o \
43 $(__cube___win32rc)
b71531ad 44DESTDIR =
67757ff7 45LIBDIRNAME = $(top_builddir)lib
ec08d395 46WX_VERSION = 2.5.1
335258dc 47
250700e4
RD
48### Conditionally set variables: ###
49
b328fad3
VS
50@COND_DEPS_TRACKING_0@CXXC = $(CXX)
51@COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX)
250700e4
RD
52@COND_USE_GUI_0@PORTNAME = base
53@COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
54@COND_TOOLKIT_MAC@WXBASEPORT = _carbon
67757ff7
VS
55@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d
56@COND_DEBUG_FLAG_1@WXDEBUGFLAG = d
250700e4
RD
57@COND_UNICODE_1@WXUNICODEFLAG = u
58@COND_WXUNIV_1@WXUNIVNAME = univ
59@COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
60@COND_SHARED_1@__DLLFLAG_p_1 = -d WXUSINGDLL
61@COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL
bdc408c4
VS
62@COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
63@COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX)
67757ff7
VS
64@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
65@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
66@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(HOST_SUFFIX)
250700e4
RD
67@COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
68@COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX)
67757ff7
VS
69@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
70@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
71@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(HOST_SUFFIX)
250700e4
RD
72@COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = \
73@COND_WXUSE_REGEX_BUILTIN@ -lwxregex$(WXDEBUGFLAG)$(HOST_SUFFIX)
67757ff7
VS
74@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
75@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
76@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX)
250700e4
RD
77@COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
78@COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX)
67757ff7 79COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
75a0a7b7 80 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) -i $(top_srcdir)/include -i $(srcdir) \
b328fad3 81 $(__DLLFLAG_p_1) -i $(srcdir)/../../../samples -o cube$(EXEEXT) Carbon.r \
ec08d395 82 $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.r sample.r
67757ff7 83@COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1)
250700e4
RD
84@COND_MONOLITHIC_0@__WXLIB_BASE_p = \
85@COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
67757ff7
VS
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)
89COND_MONOLITHIC_1___WXLIB_MONO_p = \
90 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
91@COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
250700e4
RD
92@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
93@COND_WXUNIV_1@__WXUNIV_DEFINE_p_1 = -d __WXUNIVERSAL__
94@COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__
95@COND_PLATFORM_MAC_1@__cube___mac_rezcmd = $(__MACOSX_RESOURCES_p_1)
b328fad3
VS
96@COND_PLATFORM_MAC_1@__cube___mac_setfilecmd = \
97@COND_PLATFORM_MAC_1@ $(SETFILE) -a C cube$(EXEEXT)
ec08d395
JS
98COND_PLATFORM_OS2_1___cube___os2_emxbindcmd = $(NM) cube$(EXEEXT) | if grep -q \
99 pmwin.763 ; then emxbind -ep cube$(EXEEXT) ; fi
100@COND_PLATFORM_OS2_1@__cube___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___cube___os2_emxbindcmd)
250700e4 101@COND_PLATFORM_WIN32_1@__cube___win32rc = cube_cube_rc.o
ab892b95 102@COND_PLATFORM_MACOSX_1@__cube_bundle___depname = cube_bundle
250700e4
RD
103
104### Targets: ###
105
b328fad3 106all: cube$(EXEEXT) $(__cube_bundle___depname)
250700e4
RD
107
108clean:
ab892b95 109 rm -rf ./.deps ./.pch
67757ff7 110 rm -f ./*.o
b328fad3 111 rm -f cube$(EXEEXT)
ab892b95 112 rm -rf cube.app
250700e4 113
b328fad3 114cube$(EXEEXT): $(CUBE_OBJECTS) $(__cube___win32rc)
22cef566 115 $(CXX) -o $@ $(CUBE_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)
250700e4
RD
116 $(__cube___mac_rezcmd)
117 $(__cube___mac_setfilecmd)
22cef566 118 $(__cube___os2_emxbindcmd)
ab892b95
VS
119 $(SAMPLES_RPATH_POSTLINK)
120
ec08d395 121cube.app/Contents/PkgInfo: cube$(EXEEXT) $(top_srcdir)/src/mac/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.rsrc $(top_srcdir)/src/mac/wxmac.icns
ab892b95
VS
122 mkdir -p cube.app/Contents
123 mkdir -p cube.app/Contents/MacOS
124 mkdir -p cube.app/Contents/Resources
125
126
127 sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
128 -e "s/EXECUTABLE/cube/" \
75a0a7b7 129 -e "s/VERSION/$(WX_VERSION)/" \
ab892b95
VS
130 $(top_srcdir)/src/mac/Info.plist.in >cube.app/Contents/Info.plist
131
132
133 echo -n "APPL????" >cube.app/Contents/PkgInfo
134
135
b328fad3 136 ln -f cube$(EXEEXT) cube.app/Contents/MacOS/cube
ab892b95
VS
137
138
ec08d395 139 ln -f $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.rsrc cube.app/Contents/Resources/cube.rsrc
ab892b95
VS
140 ln -f $(top_srcdir)/src/mac/wxmac.icns cube.app/Contents/Resources/wxmac.icns
141
1c3a6972 142@COND_PLATFORM_MACOSX_1@cube_bundle: cube.app/Contents/PkgInfo
250700e4
RD
143
144cube_cube.o: $(srcdir)/cube.cpp
b328fad3 145 $(CXXC) -c -o $@ $(CUBE_CXXFLAGS) $<
250700e4
RD
146
147cube_cube_rc.o: $(srcdir)/cube.rc
ec08d395 148 $(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
250700e4
RD
149
150distclean: clean
ab892b95 151 rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
250700e4
RD
152
153install: all
154
155install-strip: install
156
157uninstall:
158
159
160# Include dependency info, if present:
161@IF_GNU_MAKE@-include .deps/*.d
162
ab892b95 163.PHONY: all clean cube_bundle distclean install uninstall