]> git.saurik.com Git - wxWidgets.git/blob - contrib/samples/ogl/studio/Makefile.in
implemented IsModified() and DiscardEdits()
[wxWidgets.git] / contrib / samples / ogl / studio / 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 CPPFLAGS = @CPPFLAGS@
14 CXX = @CXX@
15 CXXFLAGS = @CXXFLAGS@
16 EXEEXT = @EXEEXT@
17 EXTRALIBS = @EXTRALIBS@
18 EXTRALIBS_GUI = @EXTRALIBS_GUI@
19 HOST_SUFFIX = @HOST_SUFFIX@
20 LDFLAGS = @LDFLAGS@
21 LDFLAGS_GUI = @LDFLAGS_GUI@
22 RESCOMP = @RESCOMP@
23 SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
24 SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@
25 SETFILE = @SETFILE@
26 TOOLCHAIN_NAME = @TOOLCHAIN_NAME@
27 TOOLKIT = @TOOLKIT@
28 TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
29 TOOLKIT_VERSION = @TOOLKIT_VERSION@
30 srcdir = @srcdir@
31 top_builddir = @top_builddir@
32 top_srcdir = @top_srcdir@
33
34 ### Variables: ###
35
36 LIBDIRNAME = $(top_builddir)lib
37 STUDIO_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
38 -I$(top_srcdir)/include -I$(srcdir) $(__DLLFLAG_p) \
39 -I$(srcdir)/../../../../samples -I$(srcdir)/../../../include $(CXXFLAGS)
40 STUDIO_OBJECTS = \
41 studio_studio.o \
42 studio_doc.o \
43 studio_shapes.o \
44 studio_symbols.o \
45 studio_view.o \
46 studio_cspalette.o \
47 studio_mainfrm.o \
48 studio_project.o \
49 studio_dialogs.o \
50 studio_csprint.o \
51 $(__studio___win32rc)
52 WX_VERSION = 2.5.0
53
54 ### Conditionally set variables: ###
55
56 @COND_DEPS_TRACKING_0@CXXC = $(CXX)
57 @COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX)
58 @COND_USE_GUI_0@PORTNAME = base
59 @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
60 @COND_TOOLKIT_MAC@WXBASEPORT = _carbon
61 @COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d
62 @COND_DEBUG_FLAG_1@WXDEBUGFLAG = d
63 @COND_UNICODE_1@WXUNICODEFLAG = u
64 @COND_WXUNIV_1@WXUNIVNAME = univ
65 @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
66 @COND_SHARED_1@__DLLFLAG_p_1 = -d WXUSINGDLL
67 @COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL
68 @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
69 @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX)
70 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
71 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
72 @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(HOST_SUFFIX)
73 @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
74 @COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX)
75 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
76 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
77 @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(HOST_SUFFIX)
78 @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = \
79 @COND_WXUSE_REGEX_BUILTIN@ -lwxregex$(WXDEBUGFLAG)$(HOST_SUFFIX)
80 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
81 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
82 @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX)
83 @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
84 @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX)
85 COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \
86 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) -i $(top_srcdir)/include -i $(srcdir) \
87 $(__DLLFLAG_p_1) -i $(srcdir)/../../../../samples -i \
88 $(srcdir)/../../../include -o studio$(EXEEXT) Carbon.r \
89 $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.r sample.r
90 @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1)
91 COND_MONOLITHIC_0___WXLIB_ADV_p = \
92 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_adv-2.5$(HOST_SUFFIX)
93 @COND_MONOLITHIC_0@__WXLIB_ADV_p = $(COND_MONOLITHIC_0___WXLIB_ADV_p)
94 @COND_MONOLITHIC_0@__WXLIB_BASE_p = \
95 @COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
96 COND_MONOLITHIC_0___WXLIB_CORE_p = \
97 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5$(HOST_SUFFIX)
98 @COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
99 COND_MONOLITHIC_1___WXLIB_MONO_p = \
100 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
101 @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
102 @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
103 @COND_WXUNIV_1@__WXUNIV_DEFINE_p_1 = -d __WXUNIVERSAL__
104 @COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__
105 @COND_PLATFORM_MAC_1@__studio___mac_rezcmd = $(__MACOSX_RESOURCES_p_1)
106 @COND_PLATFORM_MAC_1@__studio___mac_setfilecmd = \
107 @COND_PLATFORM_MAC_1@ $(SETFILE) -a C studio$(EXEEXT)
108 @COND_PLATFORM_WIN32_1@__studio___win32rc = studio_studio_rc.o
109 @COND_PLATFORM_MACOSX_1@__studio_bundle___depname = studio_bundle
110
111 ### Targets: ###
112
113 all: studio$(EXEEXT) $(__studio_bundle___depname) data
114
115 clean:
116 rm -rf ./.deps ./.pch
117 rm -f ./*.o
118 rm -f studio$(EXEEXT)
119 rm -rf studio.app
120
121 data:
122 @mkdir -p .
123 @for f in studio_resources.wxr; do \
124 if test \( ! -s ./$$f \) -o \( $(srcdir)/$$f -nt ./$$f \) ; then \
125 cp -pRf $(srcdir)/$$f . ; \
126 fi; \
127 done
128
129 distclean: clean
130 rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
131
132 install: all
133
134 install-strip: install
135
136 studio$(EXEEXT): $(STUDIO_OBJECTS) $(__studio___win32rc)
137 $(CXX) -o $@ $(STUDIO_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(SAMPLES_RPATH_FLAG) -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_ogl-2.5$(HOST_SUFFIX) -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_deprecated-2.5$(HOST_SUFFIX) $(__WXLIB_ADV_p) $(__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)
138 $(__studio___mac_rezcmd)
139 $(__studio___mac_setfilecmd)
140 $(SAMPLES_RPATH_POSTLINK)
141
142 studio.app/Contents/PkgInfo: studio$(EXEEXT) $(top_srcdir)/src/mac/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.rsrc $(top_srcdir)/src/mac/wxmac.icns
143 mkdir -p studio.app/Contents
144 mkdir -p studio.app/Contents/MacOS
145 mkdir -p studio.app/Contents/Resources
146
147
148 sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
149 -e "s/EXECUTABLE/studio/" \
150 -e "s/VERSION/$(WX_VERSION)/" \
151 $(top_srcdir)/src/mac/Info.plist.in >studio.app/Contents/Info.plist
152
153
154 echo -n "APPL????" >studio.app/Contents/PkgInfo
155
156
157 ln -f studio$(EXEEXT) studio.app/Contents/MacOS/studio
158
159
160 ln -f $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.rsrc studio.app/Contents/Resources/studio.rsrc
161 ln -f $(top_srcdir)/src/mac/wxmac.icns studio.app/Contents/Resources/wxmac.icns
162
163 @COND_PLATFORM_MACOSX_1@studio_bundle: studio.app/Contents/PkgInfo
164
165 studio_cspalette.o: $(srcdir)/cspalette.cpp
166 $(CXXC) -c -o $@ $(STUDIO_CXXFLAGS) $<
167
168 studio_csprint.o: $(srcdir)/csprint.cpp
169 $(CXXC) -c -o $@ $(STUDIO_CXXFLAGS) $<
170
171 studio_dialogs.o: $(srcdir)/dialogs.cpp
172 $(CXXC) -c -o $@ $(STUDIO_CXXFLAGS) $<
173
174 studio_doc.o: $(srcdir)/doc.cpp
175 $(CXXC) -c -o $@ $(STUDIO_CXXFLAGS) $<
176
177 studio_mainfrm.o: $(srcdir)/mainfrm.cpp
178 $(CXXC) -c -o $@ $(STUDIO_CXXFLAGS) $<
179
180 studio_project.o: $(srcdir)/project.cpp
181 $(CXXC) -c -o $@ $(STUDIO_CXXFLAGS) $<
182
183 studio_shapes.o: $(srcdir)/shapes.cpp
184 $(CXXC) -c -o $@ $(STUDIO_CXXFLAGS) $<
185
186 studio_studio.o: $(srcdir)/studio.cpp
187 $(CXXC) -c -o $@ $(STUDIO_CXXFLAGS) $<
188
189 studio_studio_rc.o: $(srcdir)/studio.rc
190 $(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 --include-dir $(srcdir)/../../../include
191
192 studio_symbols.o: $(srcdir)/symbols.cpp
193 $(CXXC) -c -o $@ $(STUDIO_CXXFLAGS) $<
194
195 studio_view.o: $(srcdir)/view.cpp
196 $(CXXC) -c -o $@ $(STUDIO_CXXFLAGS) $<
197
198 uninstall:
199
200
201 # Include dependency info, if present:
202 @IF_GNU_MAKE@-include .deps/*.d
203
204 .PHONY: all clean data distclean install studio_bundle uninstall