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