]> git.saurik.com Git - wxWidgets.git/blame_incremental - samples/docview/Makefile.in
WinCE doesn't have GetMessageTime
[wxWidgets.git] / samples / docview / Makefile.in
... / ...
CommitLineData
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
10prefix = @prefix@
11exec_prefix = @exec_prefix@
12INSTALL = @INSTALL@
13CPPFLAGS = @CPPFLAGS@
14CXX = @CXX@
15CXXFLAGS = @CXXFLAGS@
16EXEEXT = @EXEEXT@
17EXTRALIBS = @EXTRALIBS@
18EXTRALIBS_GUI = @EXTRALIBS_GUI@
19HOST_SUFFIX = @HOST_SUFFIX@
20LDFLAGS = @LDFLAGS@
21LDFLAGS_GUI = @LDFLAGS_GUI@
22NM = @NM@
23RESCOMP = @RESCOMP@
24SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
25SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@
26SETFILE = @SETFILE@
27TOOLCHAIN_NAME = @TOOLCHAIN_NAME@
28TOOLKIT = @TOOLKIT@
29TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@
30TOOLKIT_VERSION = @TOOLKIT_VERSION@
31srcdir = @srcdir@
32top_builddir = @top_builddir@
33top_srcdir = @top_srcdir@
34
35### Variables: ###
36
37DOCVIEW_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \
38 -I$(top_srcdir)/include -I$(srcdir) $(__DLLFLAG_p) \
39 -I$(srcdir)/../../samples $(CXXFLAGS)
40DOCVIEW_OBJECTS = \
41 docview_docview.o \
42 docview_doc.o \
43 docview_view.o \
44 $(__docview___win32rc)
45LIBDIRNAME = $(top_builddir)lib
46WX_VERSION = 2.5.1
47
48### Conditionally set variables: ###
49
50@COND_DEPS_TRACKING_0@CXXC = $(CXX)
51@COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX)
52@COND_TOOLKIT_MAC@MACOSX_RESOURCES = Carbon.r \
53@COND_TOOLKIT_MAC@ $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.r sample.r
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_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL
62@COND_SHARED_1@__DLLFLAG_p_1 = -d WXUSINGDLL
63@COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL
64@COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \
65@COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX)
66@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \
67@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \
68@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(HOST_SUFFIX)
69@COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \
70@COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX)
71@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \
72@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \
73@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(HOST_SUFFIX)
74@COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = \
75@COND_WXUSE_REGEX_BUILTIN@ -lwxregex$(WXDEBUGFLAG)$(HOST_SUFFIX)
76@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \
77@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \
78@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX)
79@COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \
80@COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX)
81@COND_MONOLITHIC_0@__WXLIB_BASE_p = \
82@COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
83COND_MONOLITHIC_0___WXLIB_CORE_p = \
84 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core-2.5$(HOST_SUFFIX)
85@COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p)
86COND_MONOLITHIC_1___WXLIB_MONO_p = \
87 -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX)
88@COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p)
89@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
90@COND_WXUNIV_1@__WXUNIV_DEFINE_p_1 = -d __WXUNIVERSAL__
91@COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__
92COND_PLATFORM_MAC_1___docview___mac_rezcmd = $(RESCOMP) -d __DARWIN__ -t APPL -d \
93 __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) -i $(top_srcdir)/include -i $(srcdir) \
94 $(__DLLFLAG_p_1) -i $(srcdir)/../../samples -o docview$(EXEEXT) \
95 $(MACOSX_RESOURCES) chart.r doc.r docview.r mondrian.r
96@COND_PLATFORM_MAC_1@__docview___mac_rezcmd = $(COND_PLATFORM_MAC_1___docview___mac_rezcmd)
97@COND_PLATFORM_MAC_1@__docview___mac_setfilecmd = \
98@COND_PLATFORM_MAC_1@ $(SETFILE) -a C docview$(EXEEXT)
99COND_PLATFORM_OS2_1___docview___os2_emxbindcmd = $(NM) docview$(EXEEXT) | if \
100 grep -q pmwin.763 ; then emxbind -ep docview$(EXEEXT) ; fi
101@COND_PLATFORM_OS2_1@__docview___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___docview___os2_emxbindcmd)
102@COND_PLATFORM_WIN32_1@__docview___win32rc = docview_docview_rc.o
103@COND_PLATFORM_MACOSX_1@__docview_bundle___depname = docview_bundle
104
105### Targets: ###
106
107all: docview$(EXEEXT) $(__docview_bundle___depname)
108
109clean:
110 rm -rf ./.deps ./.pch
111 rm -f ./*.o
112 rm -f docview$(EXEEXT)
113 rm -rf docview.app
114
115distclean: clean
116 rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
117
118docview$(EXEEXT): $(DOCVIEW_OBJECTS) $(__docview___win32rc)
119 $(CXX) -o $@ $(DOCVIEW_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)
120 $(__docview___mac_rezcmd)
121 $(__docview___mac_setfilecmd)
122 $(__docview___os2_emxbindcmd)
123 $(SAMPLES_RPATH_POSTLINK)
124
125docview.app/Contents/PkgInfo: docview$(EXEEXT) $(top_srcdir)/src/mac/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.rsrc $(top_srcdir)/src/mac/wxmac.icns
126 mkdir -p docview.app/Contents
127 mkdir -p docview.app/Contents/MacOS
128 mkdir -p docview.app/Contents/Resources
129
130
131 sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \
132 -e "s/EXECUTABLE/docview/" \
133 -e "s/VERSION/$(WX_VERSION)/" \
134 $(top_srcdir)/src/mac/Info.plist.in >docview.app/Contents/Info.plist
135
136
137 echo -n "APPL????" >docview.app/Contents/PkgInfo
138
139
140 ln -f docview$(EXEEXT) docview.app/Contents/MacOS/docview
141
142
143 ln -f $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).1.rsrc docview.app/Contents/Resources/docview.rsrc
144 ln -f $(top_srcdir)/src/mac/wxmac.icns docview.app/Contents/Resources/wxmac.icns
145
146@COND_PLATFORM_MACOSX_1@docview_bundle: docview.app/Contents/PkgInfo
147
148docview_doc.o: $(srcdir)/doc.cpp
149 $(CXXC) -c -o $@ $(DOCVIEW_CXXFLAGS) $<
150
151docview_docview.o: $(srcdir)/docview.cpp
152 $(CXXC) -c -o $@ $(DOCVIEW_CXXFLAGS) $<
153
154docview_docview_rc.o: $(srcdir)/docview.rc
155 $(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
156
157docview_view.o: $(srcdir)/view.cpp
158 $(CXXC) -c -o $@ $(DOCVIEW_CXXFLAGS) $<
159
160install: all
161
162install-strip: install
163
164uninstall:
165
166
167# Include dependency info, if present:
168@IF_GNU_MAKE@-include .deps/*.d
169
170.PHONY: all clean distclean docview_bundle install uninstall