]> git.saurik.com Git - wxWidgets.git/blame - contrib/samples/ogl/studio/Makefile.in
make wxrc installable
[wxWidgets.git] / contrib / samples / ogl / studio / Makefile.in
CommitLineData
592cae95
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# =========================================================================
f6bcfd97 6
f6bcfd97 7
592cae95 8@MAKE_SET@
f6bcfd97 9
592cae95
VS
10prefix = @prefix@
11exec_prefix = @exec_prefix@
12INSTALL = @INSTALL@
13CPPFLAGS = @CPPFLAGS@
14CXX = @CXX@
15CXXFLAGS = @CXXFLAGS@
16EXEEXT = @EXEEXT@
17EXTRALIBS = @EXTRALIBS@
18EXTRALIBS_GUI = @EXTRALIBS_GUI@
19HOST_SUFFIX = @HOST_SUFFIX@
20LDFLAGS = @LDFLAGS@
21LDFLAGS_GUI = @LDFLAGS_GUI@
22RESCOMP = @RESCOMP@
23SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
ab892b95 24SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@
592cae95
VS
25SETFILE = @SETFILE@
26TOOLCHAIN_NAME = @TOOLCHAIN_NAME@
27TOOLKIT = @TOOLKIT@
28TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
29TOOLKIT_VERSION = @TOOLKIT_VERSION@
30srcdir = @srcdir@
31top_builddir = @top_builddir@
32top_srcdir = @top_srcdir@
f6bcfd97 33
592cae95 34### Variables: ###
f6bcfd97 35
592cae95
VS
36LIBDIRNAME = $(top_builddir)lib
37OGLEDIT_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
38 -I$(top_srcdir)/include $(__INC_TIFF_p) $(__INC_JPEG_p) $(__INC_PNG_p) \
39 $(__INC_ZLIB_p) $(__INC_ODBC_p) $(__INC_REGEX_p) $(__INC_EXPAT_p) \
ab892b95 40 -I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../../../../samples \
2265a2d5 41 -I$(srcdir)/../../../include $(CXXFLAGS)
592cae95 42OGLEDIT_OBJECTS = \
592cae95
VS
43 ogledit_studio.o \
44 ogledit_doc.o \
45 ogledit_shapes.o \
46 ogledit_symbols.o \
47 ogledit_view.o \
48 ogledit_cspalette.o \
49 ogledit_mainfrm.o \
50 ogledit_project.o \
51 ogledit_dialogs.o \
52 ogledit_csprint.o \
53 $(__ogledit___win32rc)
f6bcfd97 54
592cae95 55### Conditionally set variables: ###
f6bcfd97 56
592cae95
VS
57@COND_DEPS_TRACKING_0@CXXC = $(CXX)
58@COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX)
59@COND_USE_GUI_0@PORTNAME = base
60@COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
61@COND_TOOLKIT_MAC@WXBASEPORT = _carbon
62@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d
63@COND_DEBUG_FLAG_1@WXDEBUGFLAG = d
64@COND_UNICODE_1@WXUNICODEFLAG = u
65@COND_WXUNIV_1@WXUNIVNAME = univ
66@COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
67@COND_SHARED_1@__DLLFLAG_p_1 = -d WXUSINGDLL
68@COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL
69@COND_WXUSE_EXPAT_BUILTIN@__INC_EXPAT_p = -I$(top_srcdir)/src/expat/lib
70@COND_WXUSE_EXPAT_BUILTIN@__INC_EXPAT_p_1 = -i $(top_srcdir)/src/expat/lib
71@COND_WXUSE_EXPAT_BUILTIN@__INC_EXPAT_p_2 = \
72@COND_WXUSE_EXPAT_BUILTIN@ --include-dir $(top_srcdir)/src/expat/lib
73@COND_WXUSE_LIBJPEG_BUILTIN@__INC_JPEG_p = -I$(top_srcdir)/src/jpeg
74@COND_WXUSE_LIBJPEG_BUILTIN@__INC_JPEG_p_1 = -i $(top_srcdir)/src/jpeg
75@COND_WXUSE_LIBJPEG_BUILTIN@__INC_JPEG_p_2 = \
76@COND_WXUSE_LIBJPEG_BUILTIN@ --include-dir $(top_srcdir)/src/jpeg
77@COND_WXUSE_ODBC_BUILTIN@__INC_ODBC_p = -I$(top_srcdir)/src/odbc
78@COND_WXUSE_ODBC_BUILTIN@__INC_ODBC_p_1 = -i $(top_srcdir)/src/odbc
79@COND_WXUSE_ODBC_BUILTIN@__INC_ODBC_p_2 = \
80@COND_WXUSE_ODBC_BUILTIN@ --include-dir $(top_srcdir)/src/odbc
81@COND_WXUSE_LIBPNG_BUILTIN@__INC_PNG_p = -I$(top_srcdir)/src/png
82@COND_WXUSE_LIBPNG_BUILTIN@__INC_PNG_p_1 = -i $(top_srcdir)/src/png
83@COND_WXUSE_LIBPNG_BUILTIN@__INC_PNG_p_2 = \
84@COND_WXUSE_LIBPNG_BUILTIN@ --include-dir $(top_srcdir)/src/png
85@COND_WXUSE_REGEX_BUILTIN@__INC_REGEX_p = -I$(top_srcdir)/src/regex
86@COND_WXUSE_REGEX_BUILTIN@__INC_REGEX_p_1 = -i $(top_srcdir)/src/regex
87@COND_WXUSE_REGEX_BUILTIN@__INC_REGEX_p_2 = \
88@COND_WXUSE_REGEX_BUILTIN@ --include-dir $(top_srcdir)/src/regex
89@COND_WXUSE_LIBTIFF_BUILTIN@__INC_TIFF_p = -I$(top_srcdir)/src/tiff
90@COND_WXUSE_LIBTIFF_BUILTIN@__INC_TIFF_p_1 = -i $(top_srcdir)/src/tiff
91@COND_WXUSE_LIBTIFF_BUILTIN@__INC_TIFF_p_2 = \
92@COND_WXUSE_LIBTIFF_BUILTIN@ --include-dir $(top_srcdir)/src/tiff
93@COND_WXUSE_ZLIB_BUILTIN@__INC_ZLIB_p = -I$(top_srcdir)/src/zlib
94@COND_WXUSE_ZLIB_BUILTIN@__INC_ZLIB_p_1 = -i $(top_srcdir)/src/zlib
95@COND_WXUSE_ZLIB_BUILTIN@__INC_ZLIB_p_2 = \
96@COND_WXUSE_ZLIB_BUILTIN@ --include-dir $(top_srcdir)/src/zlib
97@COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
98@COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX)
99@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
100@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
101@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(HOST_SUFFIX)
102@COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
103@COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX)
104@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
105@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
106@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(HOST_SUFFIX)
107@COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = \
108@COND_WXUSE_REGEX_BUILTIN@ -lwxregex$(WXDEBUGFLAG)$(HOST_SUFFIX)
109@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
110@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
111@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX)
112@COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
113@COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX)
114COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
115 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) -i $(top_srcdir)/include \
116 $(__INC_TIFF_p_1) $(__INC_JPEG_p_1) $(__INC_PNG_p_1) $(__INC_ZLIB_p_1) \
117 $(__INC_ODBC_p_1) $(__INC_REGEX_p_1) $(__INC_EXPAT_p_1) -i $(srcdir) \
ab892b95
VS
118 $(__DLLFLAG_p_1) -i $(srcdir)/../../../../samples -i \
119 $(srcdir)/../../../include -o ogledit$(EXEEXT) Carbon.r \
120 $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.r sample.r
592cae95
VS
121@COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1)
122@COND_MONOLITHIC_0@__WXLIB_BASE_p = \
123@COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
124COND_MONOLITHIC_0___WXLIB_CORE_p = \
125 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5$(HOST_SUFFIX)
126@COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
127COND_MONOLITHIC_1___WXLIB_MONO_p = \
128 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
129@COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
130@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
131@COND_WXUNIV_1@__WXUNIV_DEFINE_p_1 = -d __WXUNIVERSAL__
132@COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__
133@COND_PLATFORM_MAC_1@__ogledit___mac_rezcmd = $(__MACOSX_RESOURCES_p_1)
134@COND_PLATFORM_MAC_1@__ogledit___mac_setfilecmd = \
135@COND_PLATFORM_MAC_1@ $(SETFILE) -a C ogledit$(EXEEXT)
592cae95 136@COND_PLATFORM_WIN32_1@__ogledit___win32rc = ogledit_studio_rc.o
ab892b95 137@COND_PLATFORM_MACOSX_1@__ogledit_bundle___depname = ogledit_bundle
592cae95
VS
138
139### Targets: ###
140
ab892b95 141all: ogledit$(EXEEXT) $(__ogledit_bundle___depname) data
592cae95
VS
142
143clean:
ab892b95 144 rm -rf ./.deps ./.pch
592cae95
VS
145 rm -f ./*.o
146 rm -f ogledit$(EXEEXT)
ab892b95 147 rm -rf ogledit.app
592cae95
VS
148
149data:
150 @mkdir -p .
151 @for f in studio_resources.wxr; do \
152 if test \( ! -s ./$$f \) -o \( $(srcdir)/$$f -nt ./$$f \) ; then \
153 cp -pRf $(srcdir)/$$f . ; \
154 fi; \
155 done
156
157distclean: clean
ab892b95 158 rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
592cae95
VS
159
160install: all
161
162install-strip: install
163
fd9f42b6 164ogledit$(EXEEXT): $(OGLEDIT_OBJECTS) $(__ogledit___win32rc)
592cae95
VS
165 $(CXX) -o $@ $(OGLEDIT_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(SAMPLES_RPATH_FLAG) -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl-2.5$(HOST_SUFFIX) $(__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)
166 $(__ogledit___mac_rezcmd)
167 $(__ogledit___mac_setfilecmd)
ab892b95
VS
168 $(SAMPLES_RPATH_POSTLINK)
169
170ogledit.app/Contents: ogledit$(EXEEXT) $(top_srcdir)/src/mac/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.rsrc $(top_srcdir)/src/mac/wxmac.icns
171 mkdir -p ogledit.app/Contents
172 mkdir -p ogledit.app/Contents/MacOS
173 mkdir -p ogledit.app/Contents/Resources
174
175
176 sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
177 -e "s/EXECUTABLE/ogledit/" \
178 -e "s/VERSION/2.5.0/" \
179 $(top_srcdir)/src/mac/Info.plist.in >ogledit.app/Contents/Info.plist
180
181
182 echo -n "APPL????" >ogledit.app/Contents/PkgInfo
183
184
185 ln -f ogledit$(EXEEXT) ogledit.app/Contents/MacOS/ogledit
186
187
188 ln -f $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.rsrc ogledit.app/Contents/Resources/ogledit.rsrc
189 ln -f $(top_srcdir)/src/mac/wxmac.icns ogledit.app/Contents/Resources/wxmac.icns
190
191@COND_PLATFORM_MACOSX_1@ogledit_bundle: ogledit.app/Contents
592cae95
VS
192
193ogledit_cspalette.o: $(srcdir)/cspalette.cpp
194 $(CXXC) -c -o $@ $(OGLEDIT_CXXFLAGS) $<
195
196ogledit_csprint.o: $(srcdir)/csprint.cpp
197 $(CXXC) -c -o $@ $(OGLEDIT_CXXFLAGS) $<
198
199ogledit_dialogs.o: $(srcdir)/dialogs.cpp
200 $(CXXC) -c -o $@ $(OGLEDIT_CXXFLAGS) $<
201
202ogledit_doc.o: $(srcdir)/doc.cpp
203 $(CXXC) -c -o $@ $(OGLEDIT_CXXFLAGS) $<
204
205ogledit_mainfrm.o: $(srcdir)/mainfrm.cpp
206 $(CXXC) -c -o $@ $(OGLEDIT_CXXFLAGS) $<
207
208ogledit_project.o: $(srcdir)/project.cpp
209 $(CXXC) -c -o $@ $(OGLEDIT_CXXFLAGS) $<
210
592cae95
VS
211ogledit_shapes.o: $(srcdir)/shapes.cpp
212 $(CXXC) -c -o $@ $(OGLEDIT_CXXFLAGS) $<
213
214ogledit_studio.o: $(srcdir)/studio.cpp
215 $(CXXC) -c -o $@ $(OGLEDIT_CXXFLAGS) $<
216
217ogledit_studio_rc.o: $(srcdir)/studio.rc
ab892b95 218 $(RESCOMP) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_2) --include-dir $(top_srcdir)/include $(__INC_TIFF_p_2) $(__INC_JPEG_p_2) $(__INC_PNG_p_2) $(__INC_ZLIB_p_2) $(__INC_ODBC_p_2) $(__INC_REGEX_p_2) $(__INC_EXPAT_p_2) --include-dir $(srcdir) $(__DLLFLAG_p_2) --include-dir $(srcdir)/../../../../samples --include-dir $(srcdir)/../../../include
592cae95
VS
219
220ogledit_symbols.o: $(srcdir)/symbols.cpp
221 $(CXXC) -c -o $@ $(OGLEDIT_CXXFLAGS) $<
222
223ogledit_view.o: $(srcdir)/view.cpp
224 $(CXXC) -c -o $@ $(OGLEDIT_CXXFLAGS) $<
225
226uninstall:
227
228
229# Include dependency info, if present:
230@IF_GNU_MAKE@-include .deps/*.d
231
ab892b95 232.PHONY: all clean data distclean install ogledit_bundle uninstall