]> git.saurik.com Git - wxWidgets.git/blame - contrib/samples/ogl/studio/Makefile.in
blind fix for Unicode key handling (patch 1615989)
[wxWidgets.git] / contrib / samples / ogl / studio / Makefile.in
CommitLineData
592cae95
VS
1# =========================================================================
2# This makefile was generated by
25bb1412 3# Bakefile 0.2.1 (http://bakefile.sourceforge.net)
592cae95
VS
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@
b17c1746 13EXEEXT = @EXEEXT@
8ced02f6
DE
14WINDRES = @WINDRES@
15REZ = @REZ@
b17c1746
DE
16SETFILE = @SETFILE@
17NM = @NM@
69199aad 18BK_DEPS = @BK_DEPS@
b17c1746
DE
19srcdir = @srcdir@
20top_srcdir = @top_srcdir@
69199aad 21LIBS = @LIBS@
b17c1746 22LDFLAGS_GUI = @LDFLAGS_GUI@
592cae95
VS
23CXX = @CXX@
24CXXFLAGS = @CXXFLAGS@
b17c1746
DE
25CPPFLAGS = @CPPFLAGS@
26LDFLAGS = @LDFLAGS@
589e20d0 27WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@
b17c1746
DE
28TOOLKIT = @TOOLKIT@
29TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
30TOOLKIT_VERSION = @TOOLKIT_VERSION@
8ced02f6 31TOOLCHAIN_FULLNAME = @TOOLCHAIN_FULLNAME@
592cae95 32EXTRALIBS = @EXTRALIBS@
ebef1625 33EXTRALIBS_XML = @EXTRALIBS_XML@
4bc89de6 34EXTRALIBS_HTML = @EXTRALIBS_HTML@
b17c1746 35EXTRALIBS_GUI = @EXTRALIBS_GUI@
078c7a59 36EXTRALIBS_SDL = @EXTRALIBS_SDL@
592cae95 37HOST_SUFFIX = @HOST_SUFFIX@
592cae95 38SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
ab892b95 39SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@
69199aad 40wx_top_builddir = @wx_top_builddir@
f6bcfd97 41
592cae95 42### Variables: ###
f6bcfd97 43
a4ad36cd 44DESTDIR =
ae4ccf12 45WX_RELEASE = 2.9
25bb1412 46WX_VERSION = $(WX_RELEASE).0
69199aad 47LIBDIRNAME = $(wx_top_builddir)/lib
8c9f8f91
JS
48STUDIO_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 \
9bfe7ad9 51 -I$(srcdir)/../../../include $(CPPFLAGS) $(CXXFLAGS)
34f7e40f 52STUDIO_OBJECTS = \
a4ad36cd 53 $(__studio_os2_lib_res) \
34f7e40f
JS
54 studio_studio.o \
55 studio_doc.o \
56 studio_shapes.o \
57 studio_symbols.o \
58 studio_view.o \
59 studio_cspalette.o \
60 studio_mainfrm.o \
61 studio_project.o \
62 studio_dialogs.o \
63 studio_csprint.o \
64 $(__studio___win32rc)
f6bcfd97 65
592cae95 66### Conditionally set variables: ###
f6bcfd97 67
b328fad3 68@COND_DEPS_TRACKING_0@CXXC = $(CXX)
69199aad 69@COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX)
94acd38e 70@COND_USE_PLUGINS_0@PLUGIN_ADV_EXTRALIBS = $(EXTRALIBS_SDL)
592cae95
VS
71@COND_USE_GUI_0@PORTNAME = base
72@COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
73@COND_TOOLKIT_MAC@WXBASEPORT = _carbon
74@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d
75@COND_DEBUG_FLAG_1@WXDEBUGFLAG = d
76@COND_UNICODE_1@WXUNICODEFLAG = u
77@COND_WXUNIV_1@WXUNIVNAME = univ
0e3165d7
DE
78@COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS)
79@COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) $(EXTRALIBS_GUI)
80@COND_MONOLITHIC_0@EXTRALIBS_FOR_GUI = $(EXTRALIBS_GUI)
81@COND_MONOLITHIC_1@EXTRALIBS_FOR_GUI =
b17c1746
DE
82@COND_PLATFORM_MAC_1@__studio___mac_setfilecmd = \
83@COND_PLATFORM_MAC_1@ $(SETFILE) -a C studio$(EXEEXT)
84@COND_PLATFORM_MAC_1@__studio___mac_rezcmd = $(__MACOSX_RESOURCES_p_1)
85@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
86@COND_WXUNIV_1@__WXUNIV_DEFINE_p_1 = -d __WXUNIVERSAL__
87@COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__
8c9f8f91
JS
88@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
89@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_1 = -d wxNO_EXCEPTIONS
90@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_2 = --define wxNO_EXCEPTIONS
91@COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI
92@COND_USE_RTTI_0@__RTTI_DEFINE_p_1 = -d wxNO_RTTI
93@COND_USE_RTTI_0@__RTTI_DEFINE_p_2 = --define wxNO_RTTI
94@COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS
95@COND_USE_THREADS_0@__THREAD_DEFINE_p_1 = -d wxNO_THREADS
96@COND_USE_THREADS_0@__THREAD_DEFINE_p_2 = --define wxNO_THREADS
592cae95
VS
97@COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
98@COND_SHARED_1@__DLLFLAG_p_1 = -d WXUSINGDLL
99@COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL
b17c1746
DE
100COND_PLATFORM_OS2_1___studio___os2_emxbindcmd = $(NM) studio$(EXEEXT) | if grep \
101 -q pmwin.763 ; then emxbind -ep studio$(EXEEXT) ; fi
102@COND_PLATFORM_OS2_1@__studio___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___studio___os2_emxbindcmd)
8ced02f6
DE
103@COND_TOOLKIT_MSW@__RCDEFDIR_p = -i \
104@COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME)
105@COND_TOOLKIT_MSW@__RCDEFDIR_p_1 = --include-dir \
106@COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME)
b17c1746
DE
107@COND_PLATFORM_OS2_1@__studio_os2_lib_res = \
108@COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res
109@COND_PLATFORM_MACOSX_1@__studio_bundle___depname = studio_bundle
c4839ccf
JS
110@COND_TOOLKIT_COCOA@____studio_BUNDLE_TGT_REF_DEP = \
111@COND_TOOLKIT_COCOA@ studio.app/Contents/PkgInfo
112@COND_TOOLKIT_MAC@____studio_BUNDLE_TGT_REF_DEP = \
113@COND_TOOLKIT_MAC@ studio.app/Contents/PkgInfo
b17c1746 114COND_MONOLITHIC_0___WXLIB_ADV_p = \
a1bf307a 115 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746
DE
116@COND_MONOLITHIC_0@__WXLIB_ADV_p = $(COND_MONOLITHIC_0___WXLIB_ADV_p)
117COND_MONOLITHIC_0___WXLIB_HTML_p = \
a1bf307a 118 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746 119@COND_MONOLITHIC_0@__WXLIB_HTML_p = $(COND_MONOLITHIC_0___WXLIB_HTML_p)
ebef1625
MW
120COND_MONOLITHIC_0___WXLIB_XML_p = \
121 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml-$(WX_RELEASE)$(HOST_SUFFIX)
122@COND_MONOLITHIC_0@__WXLIB_XML_p = $(COND_MONOLITHIC_0___WXLIB_XML_p)
b17c1746 123COND_MONOLITHIC_0___WXLIB_CORE_p = \
a1bf307a 124 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746 125@COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
ceec2216 126COND_MONOLITHIC_0___WXLIB_BASE_p = \
a1bf307a 127 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
ceec2216 128@COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p)
b17c1746
DE
129@COND_PLATFORM_WIN32_1@__studio___win32rc = studio_studio_rc.o
130COND_MONOLITHIC_1___WXLIB_MONO_p = \
a1bf307a 131 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746
DE
132@COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
133@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
134@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
ceec2216 135@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
592cae95
VS
136@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
137@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
ceec2216 138@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
592cae95
VS
139@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
140@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
ceec2216 141@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
592cae95 142@COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
ceec2216 143@COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
b17c1746 144@COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
7714864e 145@COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
ceec2216
RL
146COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p = \
147 -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
148@COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = $(COND_WXUSE_REGEX_BUILTIN___LIB_REGEX_p)
b17c1746 149@COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
ceec2216 150@COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
8ced02f6 151COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(REZ) -d __DARWIN__ -t APPL -d \
8c9f8f91
JS
152 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) \
153 $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) -i $(srcdir) $(__DLLFLAG_p_1) -i \
8ced02f6 154 $(srcdir)/../../../../samples $(__RCDEFDIR_p) -i $(top_srcdir)/include -i \
d391f667 155 $(srcdir)/../../../include -o studio$(EXEEXT) Carbon.r sample.r
592cae95 156@COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1)
592cae95
VS
157
158### Targets: ###
159
b328fad3 160all: studio$(EXEEXT) $(__studio_bundle___depname) data
592cae95 161
b17c1746
DE
162install: all
163
164uninstall:
165
166install-strip: install
167
592cae95 168clean:
ab892b95 169 rm -rf ./.deps ./.pch
592cae95 170 rm -f ./*.o
b328fad3 171 rm -f studio$(EXEEXT)
34f7e40f 172 rm -rf studio.app
592cae95 173
592cae95 174distclean: clean
b14abf14 175 rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
592cae95 176
b328fad3 177studio$(EXEEXT): $(STUDIO_OBJECTS) $(__studio___win32rc)
69199aad 178 $(CXX) -o $@ $(STUDIO_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(SAMPLES_RPATH_FLAG) $(LIBS) -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_ogl-$(WX_RELEASE)$(HOST_SUFFIX) -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_deprecated-$(WX_RELEASE)$(HOST_SUFFIX) $(__WXLIB_ADV_p) $(PLUGIN_ADV_EXTRALIBS) $(__WXLIB_HTML_p) $(EXTRALIBS_HTML) $(__WXLIB_XML_p) $(EXTRALIBS_XML) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(EXTRALIBS_FOR_GUI) $(__LIB_ZLIB_p) $(__LIB_ODBC_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE)
34f7e40f
JS
179 $(__studio___mac_rezcmd)
180 $(__studio___mac_setfilecmd)
ec08d395 181 $(__studio___os2_emxbindcmd)
ab892b95
VS
182 $(SAMPLES_RPATH_POSTLINK)
183
d391f667 184studio.app/Contents/PkgInfo: studio$(EXEEXT) $(top_srcdir)/src/mac/carbon/Info.plist.in $(top_srcdir)/src/mac/carbon/wxmac.icns
34f7e40f
JS
185 mkdir -p studio.app/Contents
186 mkdir -p studio.app/Contents/MacOS
187 mkdir -p studio.app/Contents/Resources
ab892b95
VS
188
189
190 sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
34f7e40f 191 -e "s/EXECUTABLE/studio/" \
75a0a7b7 192 -e "s/VERSION/$(WX_VERSION)/" \
13462421 193 $(top_srcdir)/src/mac/carbon/Info.plist.in >studio.app/Contents/Info.plist
ab892b95
VS
194
195
34f7e40f 196 echo -n "APPL????" >studio.app/Contents/PkgInfo
ab892b95
VS
197
198
b328fad3 199 ln -f studio$(EXEEXT) studio.app/Contents/MacOS/studio
ab892b95
VS
200
201
c4839ccf 202 cp -f $(top_srcdir)/src/mac/carbon/wxmac.icns studio.app/Contents/Resources/wxmac.icns
ab892b95 203
c4839ccf 204@COND_PLATFORM_MACOSX_1@studio_bundle: $(____studio_BUNDLE_TGT_REF_DEP)
592cae95 205
b17c1746
DE
206data:
207 @mkdir -p .
208 @for f in studio_resources.wxr; do \
0d90d6ea 209 if test ! -f ./$$f -a ! -d ./$$f ; \
b14abf14
JS
210 then x=yep ; \
211 else x=`find $(srcdir)/$$f -newer ./$$f -print` ; \
b17c1746 212 fi; \
b14abf14
JS
213 case "$$x" in ?*) \
214 cp -pRf $(srcdir)/$$f . ;; \
215 esac; \
b17c1746 216 done
592cae95 217
b17c1746 218studio_studio.o: $(srcdir)/studio.cpp
b14abf14 219 $(CXXC) -c -o $@ $(STUDIO_CXXFLAGS) $(srcdir)/studio.cpp
592cae95 220
b17c1746 221studio_doc.o: $(srcdir)/doc.cpp
b14abf14 222 $(CXXC) -c -o $@ $(STUDIO_CXXFLAGS) $(srcdir)/doc.cpp
592cae95 223
b17c1746 224studio_shapes.o: $(srcdir)/shapes.cpp
b14abf14 225 $(CXXC) -c -o $@ $(STUDIO_CXXFLAGS) $(srcdir)/shapes.cpp
592cae95 226
b17c1746 227studio_symbols.o: $(srcdir)/symbols.cpp
b14abf14 228 $(CXXC) -c -o $@ $(STUDIO_CXXFLAGS) $(srcdir)/symbols.cpp
592cae95 229
b17c1746 230studio_view.o: $(srcdir)/view.cpp
b14abf14 231 $(CXXC) -c -o $@ $(STUDIO_CXXFLAGS) $(srcdir)/view.cpp
592cae95 232
b17c1746 233studio_cspalette.o: $(srcdir)/cspalette.cpp
b14abf14 234 $(CXXC) -c -o $@ $(STUDIO_CXXFLAGS) $(srcdir)/cspalette.cpp
592cae95 235
b17c1746 236studio_mainfrm.o: $(srcdir)/mainfrm.cpp
b14abf14 237 $(CXXC) -c -o $@ $(STUDIO_CXXFLAGS) $(srcdir)/mainfrm.cpp
592cae95 238
b17c1746 239studio_project.o: $(srcdir)/project.cpp
b14abf14 240 $(CXXC) -c -o $@ $(STUDIO_CXXFLAGS) $(srcdir)/project.cpp
592cae95 241
b17c1746 242studio_dialogs.o: $(srcdir)/dialogs.cpp
b14abf14 243 $(CXXC) -c -o $@ $(STUDIO_CXXFLAGS) $(srcdir)/dialogs.cpp
592cae95 244
b17c1746 245studio_csprint.o: $(srcdir)/csprint.cpp
b14abf14 246 $(CXXC) -c -o $@ $(STUDIO_CXXFLAGS) $(srcdir)/csprint.cpp
592cae95 247
b17c1746 248studio_studio_rc.o: $(srcdir)/studio.rc
8ced02f6 249 $(WINDRES) -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 $(__RCDEFDIR_p_1) --include-dir $(top_srcdir)/include --include-dir $(srcdir)/../../../include
592cae95
VS
250
251
252# Include dependency info, if present:
253@IF_GNU_MAKE@-include .deps/*.d
254
b17c1746 255.PHONY: all install uninstall clean distclean studio_bundle data