]> git.saurik.com Git - wxWidgets.git/blame - utils/screenshotgen/src/Makefile.in
Implement wxGetHostName() for Windows CE.
[wxWidgets.git] / utils / screenshotgen / src / Makefile.in
CommitLineData
0d5eda9c
FM
1# =========================================================================
2# This makefile was generated by
ab5c51e5 3# Bakefile 0.2.6 (http://www.bakefile.org)
0d5eda9c
FM
4# Do not modify, all changes will be overwritten!
5# =========================================================================
6
7
8@MAKE_SET@
9
10prefix = @prefix@
11exec_prefix = @exec_prefix@
12datarootdir = @datarootdir@
13INSTALL = @INSTALL@
14EXEEXT = @EXEEXT@
15WINDRES = @WINDRES@
16SETFILE = @SETFILE@
17STRIP = @STRIP@
18NM = @NM@
19INSTALL_PROGRAM = @INSTALL_PROGRAM@
20INSTALL_DIR = @INSTALL_DIR@
21BK_DEPS = @BK_DEPS@
22srcdir = @srcdir@
23top_srcdir = @top_srcdir@
24bindir = @bindir@
25LIBS = @LIBS@
26LDFLAGS_GUI = @LDFLAGS_GUI@
27CXX = @CXX@
28CXXFLAGS = @CXXFLAGS@
29CPPFLAGS = @CPPFLAGS@
30LDFLAGS = @LDFLAGS@
31WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@
32TOOLKIT = @TOOLKIT@
33TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
34TOOLKIT_VERSION = @TOOLKIT_VERSION@
35TOOLCHAIN_FULLNAME = @TOOLCHAIN_FULLNAME@
36EXTRALIBS = @EXTRALIBS@
37EXTRALIBS_XML = @EXTRALIBS_XML@
38EXTRALIBS_HTML = @EXTRALIBS_HTML@
39EXTRALIBS_GUI = @EXTRALIBS_GUI@
40EXTRALIBS_SDL = @EXTRALIBS_SDL@
41CXXWARNINGS = @CXXWARNINGS@
42HOST_SUFFIX = @HOST_SUFFIX@
43SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
516cf181 44HEADER_PAD_OPTION = @HEADER_PAD_OPTION@
0d5eda9c
FM
45wx_top_builddir = @wx_top_builddir@
46
47### Variables: ###
48
49DESTDIR =
50WX_RELEASE = 2.9
51WX_VERSION = $(WX_RELEASE).0
52LIBDIRNAME = $(wx_top_builddir)/lib
53SCREENSHOTGEN_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
54 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
55 -I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../../../samples $(CXXWARNINGS) \
56 $(CPPFLAGS) $(CXXFLAGS)
57SCREENSHOTGEN_OBJECTS = \
58 $(__screenshotgen_os2_lib_res) \
59 screenshotgen_screenshot_app.o \
60 screenshotgen_screenshot_main.o \
61 screenshotgen_guiframe.o \
0d5eda9c
FM
62 screenshotgen_customcombo.o \
63 screenshotgen_autocapture.o \
64 $(__screenshotgen___win32rc)
65
66### Conditionally set variables: ###
67
68@COND_DEPS_TRACKING_0@CXXC = $(CXX)
69@COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX)
70@COND_USE_PLUGINS_0@PLUGIN_ADV_EXTRALIBS = $(EXTRALIBS_SDL)
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
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 =
82@COND_PLATFORM_MAC_0@__screenshotgen___mac_setfilecmd = @true
83@COND_PLATFORM_MAC_1@__screenshotgen___mac_setfilecmd \
84@COND_PLATFORM_MAC_1@ = $(SETFILE) -t APPL screenshotgen$(EXEEXT)
85@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
86@COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__
87@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
88@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_2 = --define wxNO_EXCEPTIONS
89@COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI
90@COND_USE_RTTI_0@__RTTI_DEFINE_p_2 = --define wxNO_RTTI
91@COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS
92@COND_USE_THREADS_0@__THREAD_DEFINE_p_2 = --define wxNO_THREADS
93@COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
94@COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL
95COND_PLATFORM_OS2_1___screenshotgen___os2_emxbindcmd = $(NM) \
96 screenshotgen$(EXEEXT) | if grep -q pmwin.763 ; then emxbind -ep \
97 screenshotgen$(EXEEXT) ; fi
98@COND_PLATFORM_OS2_1@__screenshotgen___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___screenshotgen___os2_emxbindcmd)
99@COND_TOOLKIT_MSW@__RCDEFDIR_p_1 = --include-dir \
100@COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME)
101@COND_PLATFORM_OS2_1@__screenshotgen_os2_lib_res = \
102@COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res
103@COND_PLATFORM_MACOSX_1@__screenshotgen_app_Contents_PkgInfo___depname \
104@COND_PLATFORM_MACOSX_1@ = screenshotgen.app/Contents/PkgInfo
105@COND_PLATFORM_MACOSX_1@__screenshotgen_bundle___depname \
106@COND_PLATFORM_MACOSX_1@ = screenshotgen_bundle
107@COND_TOOLKIT_MAC@____screenshotgen_BUNDLE_TGT_REF_DEP = \
108@COND_TOOLKIT_MAC@ $(__screenshotgen_app_Contents_PkgInfo___depname)
109@COND_TOOLKIT_OSX_CARBON@____screenshotgen_BUNDLE_TGT_REF_DEP \
110@COND_TOOLKIT_OSX_CARBON@ = \
111@COND_TOOLKIT_OSX_CARBON@ $(__screenshotgen_app_Contents_PkgInfo___depname)
112@COND_TOOLKIT_OSX_COCOA@____screenshotgen_BUNDLE_TGT_REF_DEP \
113@COND_TOOLKIT_OSX_COCOA@ = \
114@COND_TOOLKIT_OSX_COCOA@ $(__screenshotgen_app_Contents_PkgInfo___depname)
115@COND_TOOLKIT_OSX_IPHONE@____screenshotgen_BUNDLE_TGT_REF_DEP \
116@COND_TOOLKIT_OSX_IPHONE@ = \
117@COND_TOOLKIT_OSX_IPHONE@ $(__screenshotgen_app_Contents_PkgInfo___depname)
118@COND_TOOLKIT_COCOA@____screenshotgen_BUNDLE_TGT_REF_DEP \
119@COND_TOOLKIT_COCOA@ = $(__screenshotgen_app_Contents_PkgInfo___depname)
120COND_MONOLITHIC_0___WXLIB_AUI_p = \
121 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_aui-$(WX_RELEASE)$(HOST_SUFFIX)
122@COND_MONOLITHIC_0@__WXLIB_AUI_p = $(COND_MONOLITHIC_0___WXLIB_AUI_p)
123COND_MONOLITHIC_0___WXLIB_ADV_p = \
124 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv-$(WX_RELEASE)$(HOST_SUFFIX)
125@COND_MONOLITHIC_0@__WXLIB_ADV_p = $(COND_MONOLITHIC_0___WXLIB_ADV_p)
126COND_MONOLITHIC_0___WXLIB_RICHTEXT_p = \
127 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_richtext-$(WX_RELEASE)$(HOST_SUFFIX)
128@COND_MONOLITHIC_0@__WXLIB_RICHTEXT_p = $(COND_MONOLITHIC_0___WXLIB_RICHTEXT_p)
129COND_MONOLITHIC_0___WXLIB_HTML_p = \
130 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html-$(WX_RELEASE)$(HOST_SUFFIX)
131@COND_MONOLITHIC_0@__WXLIB_HTML_p = $(COND_MONOLITHIC_0___WXLIB_HTML_p)
132COND_MONOLITHIC_0___WXLIB_XML_p = \
133 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_xml-$(WX_RELEASE)$(HOST_SUFFIX)
134@COND_MONOLITHIC_0@__WXLIB_XML_p = $(COND_MONOLITHIC_0___WXLIB_XML_p)
135COND_MONOLITHIC_0___WXLIB_CORE_p = \
136 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX)
137@COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
138COND_MONOLITHIC_0___WXLIB_BASE_p = \
139 -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
140@COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p)
141@COND_PLATFORM_WIN32_1@__screenshotgen___win32rc = \
142@COND_PLATFORM_WIN32_1@ screenshotgen_screenshotgen_rc.o
143COND_MONOLITHIC_1___WXLIB_MONO_p = \
144 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
145@COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
146@COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@__LIB_TIFF_p \
147@COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ = \
148@COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
149@COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@__LIB_JPEG_p \
150@COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ = \
151@COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
152@COND_USE_GUI_1_wxUSE_LIBPNG_builtin@__LIB_PNG_p \
153@COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ = \
154@COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
155@COND_wxUSE_ZLIB_builtin@__LIB_ZLIB_p = \
156@COND_wxUSE_ZLIB_builtin@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
157COND_wxUSE_REGEX_builtin___LIB_REGEX_p = \
158 -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
159@COND_wxUSE_REGEX_builtin@__LIB_REGEX_p = $(COND_wxUSE_REGEX_builtin___LIB_REGEX_p)
160@COND_wxUSE_EXPAT_builtin@__LIB_EXPAT_p = \
161@COND_wxUSE_EXPAT_builtin@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)
162
163### Targets: ###
164
d0aff302 165all: screenshotgen$(EXEEXT) $(__screenshotgen_bundle___depname) bitmaps xml
0d5eda9c
FM
166
167install: install_screenshotgen
168
169uninstall: uninstall_screenshotgen
170
171install-strip: install
172 $(STRIP) $(DESTDIR)$(bindir)/screenshotgen$(EXEEXT)
173
174clean:
175 rm -rf ./.deps ./.pch
176 rm -f ./*.o
177 rm -f screenshotgen$(EXEEXT)
178 rm -rf screenshotgen.app
179
180distclean: clean
181 rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
182
183screenshotgen$(EXEEXT): $(SCREENSHOTGEN_OBJECTS) $(__screenshotgen___win32rc)
516cf181 184 $(CXX) -o $@ $(SCREENSHOTGEN_OBJECTS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(HEADER_PAD_OPTION) $(SAMPLES_RPATH_FLAG) $(LDFLAGS) $(__WXLIB_AUI_p) $(__WXLIB_ADV_p) $(PLUGIN_ADV_EXTRALIBS) $(__WXLIB_RICHTEXT_p) $(__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_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) $(LIBS)
0d5eda9c
FM
185
186 $(__screenshotgen___mac_setfilecmd)
187 $(__screenshotgen___os2_emxbindcmd)
0d5eda9c
FM
188
189@COND_PLATFORM_MACOSX_1@screenshotgen.app/Contents/PkgInfo: screenshotgen$(EXEEXT) $(top_srcdir)/src/osx/carbon/Info.plist.in $(top_srcdir)/src/osx/carbon/wxmac.icns
190@COND_PLATFORM_MACOSX_1@ mkdir -p screenshotgen.app/Contents
191@COND_PLATFORM_MACOSX_1@ mkdir -p screenshotgen.app/Contents/MacOS
192@COND_PLATFORM_MACOSX_1@ mkdir -p screenshotgen.app/Contents/Resources
193@COND_PLATFORM_MACOSX_1@
194@COND_PLATFORM_MACOSX_1@
195@COND_PLATFORM_MACOSX_1@ sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
196@COND_PLATFORM_MACOSX_1@ -e "s/EXECUTABLE/screenshotgen/" \
197@COND_PLATFORM_MACOSX_1@ -e "s/VERSION/$(WX_VERSION)/" \
198@COND_PLATFORM_MACOSX_1@ $(top_srcdir)/src/osx/carbon/Info.plist.in >screenshotgen.app/Contents/Info.plist
199@COND_PLATFORM_MACOSX_1@
200@COND_PLATFORM_MACOSX_1@
201@COND_PLATFORM_MACOSX_1@ echo -n "APPL????" >screenshotgen.app/Contents/PkgInfo
202@COND_PLATFORM_MACOSX_1@
203@COND_PLATFORM_MACOSX_1@
23513e07 204@COND_PLATFORM_MACOSX_1@ ln -f screenshotgen$(EXEEXT) screenshotgen.app/Contents/MacOS/screenshotgen
0d5eda9c
FM
205@COND_PLATFORM_MACOSX_1@
206@COND_PLATFORM_MACOSX_1@
207@COND_PLATFORM_MACOSX_1@ cp -f $(top_srcdir)/src/osx/carbon/wxmac.icns screenshotgen.app/Contents/Resources/wxmac.icns
208
209@COND_PLATFORM_MACOSX_1@screenshotgen_bundle: $(____screenshotgen_BUNDLE_TGT_REF_DEP)
210
211install_screenshotgen: screenshotgen$(EXEEXT)
212 $(INSTALL_DIR) $(DESTDIR)$(bindir)
213 $(INSTALL_PROGRAM) screenshotgen$(EXEEXT) $(DESTDIR)$(bindir)
214
215uninstall_screenshotgen:
216 rm -f $(DESTDIR)$(bindir)/screenshotgen$(EXEEXT)
217
d0aff302
FM
218bitmaps:
219 @mkdir -p ./bitmaps
220 @for f in wxwin32x32.png bell.png sound.png dropbuth.png dropbutn.png dropbutp.png throbber.gif; do \
221 if test ! -f ./bitmaps/$$f -a ! -d ./bitmaps/$$f ; \
222 then x=yep ; \
223 else x=`find $(srcdir)/bitmaps/$$f -newer ./bitmaps/$$f -print` ; \
224 fi; \
225 case "$$x" in ?*) \
226 cp -pRf $(srcdir)/bitmaps/$$f ./bitmaps ;; \
227 esac; \
228 done
229
230xml:
0d5eda9c 231 @mkdir -p .
d0aff302 232 @for f in richtext.xml; do \
0d5eda9c
FM
233 if test ! -f ./$$f -a ! -d ./$$f ; \
234 then x=yep ; \
235 else x=`find $(srcdir)/$$f -newer ./$$f -print` ; \
236 fi; \
237 case "$$x" in ?*) \
238 cp -pRf $(srcdir)/$$f . ;; \
239 esac; \
240 done
241
242screenshotgen_screenshot_app.o: $(srcdir)/screenshot_app.cpp
243 $(CXXC) -c -o $@ $(SCREENSHOTGEN_CXXFLAGS) $(srcdir)/screenshot_app.cpp
244
245screenshotgen_screenshot_main.o: $(srcdir)/screenshot_main.cpp
246 $(CXXC) -c -o $@ $(SCREENSHOTGEN_CXXFLAGS) $(srcdir)/screenshot_main.cpp
247
248screenshotgen_guiframe.o: $(srcdir)/guiframe.cpp
249 $(CXXC) -c -o $@ $(SCREENSHOTGEN_CXXFLAGS) $(srcdir)/guiframe.cpp
250
0d5eda9c
FM
251screenshotgen_customcombo.o: $(srcdir)/customcombo.cpp
252 $(CXXC) -c -o $@ $(SCREENSHOTGEN_CXXFLAGS) $(srcdir)/customcombo.cpp
253
254screenshotgen_autocapture.o: $(srcdir)/autocapture.cpp
255 $(CXXC) -c -o $@ $(SCREENSHOTGEN_CXXFLAGS) $(srcdir)/autocapture.cpp
256
257screenshotgen_screenshotgen_rc.o: $(srcdir)/screenshotgen.rc
258 $(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
259
260
0d5eda9c
FM
261# Include dependency info, if present:
262@IF_GNU_MAKE@-include ./.deps/*.d
263
264.PHONY: all install uninstall clean distclean screenshotgen_bundle \
d0aff302 265 install_screenshotgen uninstall_screenshotgen bitmaps xml