]>
Commit | Line | Data |
---|---|---|
b1169abb VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
bdc408c4 | 3 | # Bakefile 0.1.1 (http://bakefile.sourceforge.net) |
b1169abb VS |
4 | # Do not modify, all changes will be overwritten! |
5 | # ========================================================================= | |
b1683d38 | 6 | |
b1683d38 | 7 | |
b1169abb | 8 | @MAKE_SET@ |
b1683d38 | 9 | |
b1169abb VS |
10 | prefix = @prefix@ |
11 | exec_prefix = @exec_prefix@ | |
12 | INSTALL = @INSTALL@ | |
13 | CPPFLAGS = @CPPFLAGS@ | |
14 | CXX = @CXX@ | |
15 | CXXFLAGS = @CXXFLAGS@ | |
b328fad3 | 16 | EXEEXT = @EXEEXT@ |
b1169abb | 17 | EXTRALIBS = @EXTRALIBS@ |
6c974d0b | 18 | EXTRALIBS_GUI = @EXTRALIBS_GUI@ |
250700e4 | 19 | HOST_SUFFIX = @HOST_SUFFIX@ |
b1169abb VS |
20 | LDFLAGS = @LDFLAGS@ |
21 | LDFLAGS_GUI = @LDFLAGS_GUI@ | |
22 | RESCOMP = @RESCOMP@ | |
23 | SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@ | |
ab892b95 | 24 | SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@ |
b1169abb | 25 | SETFILE = @SETFILE@ |
250700e4 | 26 | TOOLCHAIN_NAME = @TOOLCHAIN_NAME@ |
b1169abb VS |
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@ | |
b1683d38 | 33 | |
b1169abb | 34 | ### Variables: ### |
b1683d38 | 35 | |
076f10e0 | 36 | LIBDIRNAME = $(top_builddir)lib |
250700e4 | 37 | PRINTING_CXXFLAGS = $(CPPFLAGS) -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \ |
75a0a7b7 VS |
38 | -I$(top_srcdir)/include -I$(srcdir) $(__DLLFLAG_p) \ |
39 | -I$(srcdir)/../../../samples $(CXXFLAGS) | |
076f10e0 VS |
40 | PRINTING_OBJECTS = \ |
41 | printing_printing.o \ | |
42 | $(__printing___win32rc) | |
75a0a7b7 | 43 | WX_VERSION = 2.5.0 |
b1683d38 | 44 | |
b1169abb VS |
45 | ### Conditionally set variables: ### |
46 | ||
b328fad3 VS |
47 | @COND_DEPS_TRACKING_0@CXXC = $(CXX) |
48 | @COND_DEPS_TRACKING_1@CXXC = $(top_builddir)./bk-deps $(CXX) | |
b1169abb VS |
49 | @COND_USE_GUI_0@PORTNAME = base |
50 | @COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) | |
51 | @COND_TOOLKIT_MAC@WXBASEPORT = _carbon | |
076f10e0 VS |
52 | @COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@WXDEBUGFLAG = d |
53 | @COND_DEBUG_FLAG_1@WXDEBUGFLAG = d | |
b1169abb VS |
54 | @COND_UNICODE_1@WXUNICODEFLAG = u |
55 | @COND_WXUNIV_1@WXUNIVNAME = univ | |
56 | @COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL | |
57 | @COND_SHARED_1@__DLLFLAG_p_1 = -d WXUSINGDLL | |
58 | @COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL | |
bdc408c4 VS |
59 | @COND_WXUSE_EXPAT_BUILTIN@__LIB_EXPAT_p = \ |
60 | @COND_WXUSE_EXPAT_BUILTIN@ -lwxexpat$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
076f10e0 VS |
61 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@__LIB_JPEG_p \ |
62 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ = \ | |
63 | @COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@ -lwxjpeg$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
250700e4 RD |
64 | @COND_WXUSE_ODBC_BUILTIN@__LIB_ODBC_p = \ |
65 | @COND_WXUSE_ODBC_BUILTIN@ -lwxodbc$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
076f10e0 VS |
66 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@__LIB_PNG_p \ |
67 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ = \ | |
68 | @COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@ -lwxpng$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
250700e4 RD |
69 | @COND_WXUSE_REGEX_BUILTIN@__LIB_REGEX_p = \ |
70 | @COND_WXUSE_REGEX_BUILTIN@ -lwxregex$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
076f10e0 VS |
71 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@__LIB_TIFF_p \ |
72 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ = \ | |
73 | @COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@ -lwxtiff$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
250700e4 RD |
74 | @COND_WXUSE_ZLIB_BUILTIN@__LIB_ZLIB_p = \ |
75 | @COND_WXUSE_ZLIB_BUILTIN@ -lwxzlib$(WXDEBUGFLAG)$(HOST_SUFFIX) | |
076f10e0 | 76 | COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1 = $(RESCOMP) -d __DARWIN__ -t APPL -d \ |
75a0a7b7 | 77 | __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_1) -i $(top_srcdir)/include -i $(srcdir) \ |
b328fad3 | 78 | $(__DLLFLAG_p_1) -i $(srcdir)/../../../samples -o printing$(EXEEXT) Carbon.r \ |
ab892b95 | 79 | $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.r sample.r |
076f10e0 | 80 | @COND_TOOLKIT_MAC@__MACOSX_RESOURCES_p_1 = $(COND_TOOLKIT_MAC___MACOSX_RESOURCES_p_1) |
250700e4 RD |
81 | @COND_MONOLITHIC_0@__WXLIB_BASE_p = \ |
82 | @COND_MONOLITHIC_0@ -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX) | |
076f10e0 VS |
83 | COND_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) | |
86 | COND_MONOLITHIC_0___WXLIB_HTML_p = \ | |
87 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html-2.5$(HOST_SUFFIX) | |
88 | @COND_MONOLITHIC_0@__WXLIB_HTML_p = $(COND_MONOLITHIC_0___WXLIB_HTML_p) | |
89 | COND_MONOLITHIC_1___WXLIB_MONO_p = \ | |
90 | -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-2.5$(HOST_SUFFIX) | |
91 | @COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p) | |
b1169abb VS |
92 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ |
93 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_1 = -d __WXUNIVERSAL__ | |
94 | @COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__ | |
95 | @COND_PLATFORM_MAC_1@__printing___mac_rezcmd = $(__MACOSX_RESOURCES_p_1) | |
b328fad3 VS |
96 | @COND_PLATFORM_MAC_1@__printing___mac_setfilecmd = \ |
97 | @COND_PLATFORM_MAC_1@ $(SETFILE) -a C printing$(EXEEXT) | |
b1169abb | 98 | @COND_PLATFORM_WIN32_1@__printing___win32rc = printing_printing_rc.o |
ab892b95 | 99 | @COND_PLATFORM_MACOSX_1@__printing_bundle___depname = printing_bundle |
b1169abb VS |
100 | |
101 | ### Targets: ### | |
102 | ||
b328fad3 | 103 | all: printing$(EXEEXT) $(__printing_bundle___depname) data |
b1169abb VS |
104 | |
105 | clean: | |
ab892b95 | 106 | rm -rf ./.deps ./.pch |
076f10e0 | 107 | rm -f ./*.o |
b328fad3 | 108 | rm -f printing$(EXEEXT) |
ab892b95 | 109 | rm -rf printing.app |
b1169abb VS |
110 | |
111 | data: | |
112 | @mkdir -p . | |
113 | @for f in logo6.gif test.htm; do \ | |
114 | if test \( ! -s ./$$f \) -o \( $(srcdir)/$$f -nt ./$$f \) ; then \ | |
115 | cp -pRf $(srcdir)/$$f . ; \ | |
116 | fi; \ | |
117 | done | |
118 | ||
119 | distclean: clean | |
ab892b95 | 120 | rm -f configure config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile |
b1169abb VS |
121 | |
122 | install: all | |
123 | ||
124 | install-strip: install | |
125 | ||
b328fad3 | 126 | printing$(EXEEXT): $(PRINTING_OBJECTS) $(__printing___win32rc) |
076f10e0 | 127 | $(CXX) -o $@ $(PRINTING_OBJECTS) $(LDFLAGS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(SAMPLES_RPATH_FLAG) $(__WXLIB_HTML_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) |
b1169abb VS |
128 | $(__printing___mac_rezcmd) |
129 | $(__printing___mac_setfilecmd) | |
ab892b95 VS |
130 | $(SAMPLES_RPATH_POSTLINK) |
131 | ||
1c3a6972 | 132 | printing.app/Contents/PkgInfo: printing$(EXEEXT) $(top_srcdir)/src/mac/Info.plist.in $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.rsrc $(top_srcdir)/src/mac/wxmac.icns |
ab892b95 VS |
133 | mkdir -p printing.app/Contents |
134 | mkdir -p printing.app/Contents/MacOS | |
135 | mkdir -p printing.app/Contents/Resources | |
136 | ||
137 | ||
138 | sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \ | |
139 | -e "s/EXECUTABLE/printing/" \ | |
75a0a7b7 | 140 | -e "s/VERSION/$(WX_VERSION)/" \ |
ab892b95 VS |
141 | $(top_srcdir)/src/mac/Info.plist.in >printing.app/Contents/Info.plist |
142 | ||
143 | ||
144 | echo -n "APPL????" >printing.app/Contents/PkgInfo | |
145 | ||
146 | ||
b328fad3 | 147 | ln -f printing$(EXEEXT) printing.app/Contents/MacOS/printing |
ab892b95 VS |
148 | |
149 | ||
150 | ln -f $(LIBDIRNAME)/libwx_$(TOOLCHAIN_NAME).0.rsrc printing.app/Contents/Resources/printing.rsrc | |
151 | ln -f $(top_srcdir)/src/mac/wxmac.icns printing.app/Contents/Resources/wxmac.icns | |
152 | ||
1c3a6972 | 153 | @COND_PLATFORM_MACOSX_1@printing_bundle: printing.app/Contents/PkgInfo |
b1169abb VS |
154 | |
155 | printing_printing.o: $(srcdir)/printing.cpp | |
b328fad3 | 156 | $(CXXC) -c -o $@ $(PRINTING_CXXFLAGS) $< |
b1169abb VS |
157 | |
158 | printing_printing_rc.o: $(srcdir)/printing.rc | |
75a0a7b7 | 159 | $(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 |
b1169abb VS |
160 | |
161 | uninstall: | |
162 | ||
163 | ||
164 | # Include dependency info, if present: | |
165 | @IF_GNU_MAKE@-include .deps/*.d | |
166 | ||
ab892b95 | 167 | .PHONY: all clean data distclean install printing_bundle uninstall |