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