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