mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 1 | # Makefile.in generated by automake 1.6.3 from Makefile.am. |
| 2 | # @configure_input@ |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 3 | |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 4 | # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 5 | # Free Software Foundation, Inc. |
| 6 | # This Makefile.in is free software; the Free Software Foundation |
| 7 | # gives unlimited permission to copy and/or distribute it, |
| 8 | # with or without modifications, as long as this notice is preserved. |
| 9 | |
| 10 | # This program is distributed in the hope that it will be useful, |
| 11 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
| 12 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
| 13 | # PARTICULAR PURPOSE. |
| 14 | |
| 15 | @SET_MAKE@ |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 16 | SHELL = @SHELL@ |
| 17 | |
| 18 | srcdir = @srcdir@ |
| 19 | top_srcdir = @top_srcdir@ |
| 20 | VPATH = @srcdir@ |
| 21 | prefix = @prefix@ |
| 22 | exec_prefix = @exec_prefix@ |
| 23 | |
| 24 | bindir = @bindir@ |
| 25 | sbindir = @sbindir@ |
| 26 | libexecdir = @libexecdir@ |
| 27 | datadir = @datadir@ |
| 28 | sysconfdir = @sysconfdir@ |
| 29 | sharedstatedir = @sharedstatedir@ |
| 30 | localstatedir = @localstatedir@ |
| 31 | libdir = @libdir@ |
| 32 | infodir = @infodir@ |
| 33 | mandir = @mandir@ |
| 34 | includedir = @includedir@ |
| 35 | oldincludedir = /usr/include |
| 36 | pkgdatadir = $(datadir)/@PACKAGE@ |
| 37 | pkglibdir = $(libdir)/@PACKAGE@ |
| 38 | pkgincludedir = $(includedir)/@PACKAGE@ |
| 39 | top_builddir = . |
| 40 | |
| 41 | ACLOCAL = @ACLOCAL@ |
| 42 | AUTOCONF = @AUTOCONF@ |
| 43 | AUTOMAKE = @AUTOMAKE@ |
| 44 | AUTOHEADER = @AUTOHEADER@ |
| 45 | |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 46 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 47 | INSTALL = @INSTALL@ |
| 48 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
| 49 | INSTALL_DATA = @INSTALL_DATA@ |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 50 | install_sh_DATA = $(install_sh) -c -m 644 |
| 51 | install_sh_PROGRAM = $(install_sh) -c |
| 52 | install_sh_SCRIPT = $(install_sh) -c |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 53 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
| 54 | INSTALL_HEADER = $(INSTALL_DATA) |
| 55 | transform = @program_transform_name@ |
| 56 | NORMAL_INSTALL = : |
| 57 | PRE_INSTALL = : |
| 58 | POST_INSTALL = : |
| 59 | NORMAL_UNINSTALL = : |
| 60 | PRE_UNINSTALL = : |
| 61 | POST_UNINSTALL = : |
| 62 | build_alias = @build_alias@ |
| 63 | build_triplet = @build@ |
| 64 | host_alias = @host_alias@ |
| 65 | host_triplet = @host@ |
| 66 | target_alias = @target_alias@ |
| 67 | target_triplet = @target@ |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 68 | |
| 69 | EXEEXT = @EXEEXT@ |
| 70 | OBJEXT = @OBJEXT@ |
| 71 | PATH_SEPARATOR = @PATH_SEPARATOR@ |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 72 | AMTAR = @AMTAR@ |
hp.com!davidm | 2c9be97 | 2003-11-22 06:08:20 +0000 | [diff] [blame] | 73 | AR = @AR@ |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 74 | ARCH = @ARCH@ |
| 75 | AS = @AS@ |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 76 | AWK = @AWK@ |
| 77 | CC = @CC@ |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 78 | CCAS = @CCAS@ |
| 79 | CCASFLAGS = @CCASFLAGS@ |
mostang.com!davidm | 4f17bce | 2003-03-28 07:43:22 +0000 | [diff] [blame] | 80 | CXX = @CXX@ |
hp.com!davidm | 2c9be97 | 2003-11-22 06:08:20 +0000 | [diff] [blame] | 81 | CXXCPP = @CXXCPP@ |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 82 | DEPDIR = @DEPDIR@ |
| 83 | DLLTOOL = @DLLTOOL@ |
mostang.com!davidm | 0440c53 | 2003-01-17 18:12:55 +0000 | [diff] [blame] | 84 | ECHO = @ECHO@ |
hp.com!davidm | 2c9be97 | 2003-11-22 06:08:20 +0000 | [diff] [blame] | 85 | EGREP = @EGREP@ |
| 86 | F77 = @F77@ |
| 87 | GCJ = @GCJ@ |
| 88 | GCJFLAGS = @GCJFLAGS@ |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 89 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
| 90 | LIBTOOL = @LIBTOOL@ |
| 91 | LN_S = @LN_S@ |
| 92 | MAINT = @MAINT@ |
| 93 | OBJDUMP = @OBJDUMP@ |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 94 | PACKAGE = @PACKAGE@ |
| 95 | RANLIB = @RANLIB@ |
hp.com!davidm | 2c9be97 | 2003-11-22 06:08:20 +0000 | [diff] [blame] | 96 | RC = @RC@ |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 97 | STRIP = @STRIP@ |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 98 | VERSION = @VERSION@ |
| 99 | am__include = @am__include@ |
| 100 | am__quote = @am__quote@ |
| 101 | arch = @arch@ |
| 102 | install_sh = @install_sh@ |
mostang.com!davidm | 0440c53 | 2003-01-17 18:12:55 +0000 | [diff] [blame] | 103 | @ARCH_HPPA_FALSE@@ARCH_IA64_FALSE@@ARCH_X86_TRUE@include_HEADERS_tdep = include/libunwind-x86.h |
| 104 | @ARCH_HPPA_TRUE@@ARCH_IA64_FALSE@include_HEADERS_tdep = include/libunwind-hppa.h |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 105 | @ARCH_IA64_TRUE@include_HEADERS_tdep = include/libunwind-ia64.h |
| 106 | |
mostang.com!davidm | 51e4d34 | 2002-12-12 09:17:41 +0000 | [diff] [blame] | 107 | include_HEADERS_common = $(include_HEADERS_tdep) include/libunwind-common.h \ |
| 108 | include/libunwind-dynamic.h |
| 109 | |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 110 | |
| 111 | @REMOTE_ONLY_TRUE@include_HEADERS = $(include_HEADERS_common) |
| 112 | @REMOTE_ONLY_FALSE@include_HEADERS = $(include_HEADERS_common) include/libunwind.h |
| 113 | |
| 114 | SUBDIRS = src tests doc |
| 115 | |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 116 | EXTRA_DIST = include/internal.h include/mempool.h \ |
mostang.com!davidm | 0440c53 | 2003-01-17 18:12:55 +0000 | [diff] [blame] | 117 | include/libunwind-ia64.h include/tdep-ia64.h include/ia64/script.h \ |
| 118 | include/libunwind-hppa.h include/tdep-hppa.h \ |
| 119 | include/libunwind-x86.h include/tdep-x86.h |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 120 | |
mostang.com!davidm | c7aaa68 | 2003-03-19 19:25:18 +0000 | [diff] [blame] | 121 | |
| 122 | DISTCLEANFILES = include/libunwind.h include/tdep.h |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 123 | subdir = . |
| 124 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
| 125 | mkinstalldirs = $(SHELL) $(top_srcdir)/aux/mkinstalldirs |
| 126 | CONFIG_HEADER = $(top_builddir)/include/config.h |
| 127 | CONFIG_CLEAN_FILES = |
| 128 | DIST_SOURCES = |
| 129 | HEADERS = $(include_HEADERS) |
| 130 | |
| 131 | |
| 132 | RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \ |
| 133 | uninstall-info-recursive all-recursive install-data-recursive \ |
| 134 | install-exec-recursive installdirs-recursive install-recursive \ |
| 135 | uninstall-recursive check-recursive installcheck-recursive |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 136 | DIST_COMMON = README $(include_HEADERS) ./include/config.h.in AUTHORS \ |
mostang.com!davidm | a8db0b3 | 2003-02-08 10:10:59 +0000 | [diff] [blame] | 137 | COPYING ChangeLog INSTALL Makefile.am Makefile.in NEWS TODO \ |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 138 | acinclude.m4 aclocal.m4 aux/config.guess aux/config.sub \ |
mostang.com!davidm | 0440c53 | 2003-01-17 18:12:55 +0000 | [diff] [blame] | 139 | aux/depcomp aux/install-sh aux/ltmain.sh aux/missing \ |
| 140 | aux/mkinstalldirs configure configure.in |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 141 | DIST_SUBDIRS = $(SUBDIRS) |
| 142 | all: all-recursive |
| 143 | |
| 144 | .SUFFIXES: |
| 145 | |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 146 | am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ |
| 147 | configure.lineno |
| 148 | $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) |
| 149 | cd $(top_srcdir) && \ |
| 150 | $(AUTOMAKE) --gnu Makefile |
| 151 | Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status |
| 152 | cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe) |
| 153 | |
| 154 | $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
| 155 | $(SHELL) ./config.status --recheck |
| 156 | $(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) |
| 157 | cd $(srcdir) && $(AUTOCONF) |
| 158 | |
| 159 | $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4 |
| 160 | cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) |
| 161 | |
| 162 | include/config.h: include/stamp-h1 |
| 163 | @if test ! -f $@; then \ |
| 164 | rm -f include/stamp-h1; \ |
| 165 | $(MAKE) include/stamp-h1; \ |
| 166 | else :; fi |
| 167 | |
| 168 | include/stamp-h1: $(srcdir)/./include/config.h.in $(top_builddir)/config.status |
| 169 | @rm -f include/stamp-h1 |
| 170 | cd $(top_builddir) && $(SHELL) ./config.status include/config.h |
| 171 | |
| 172 | $(srcdir)/./include/config.h.in: @MAINTAINER_MODE_TRUE@ $(top_srcdir)/configure.in $(ACLOCAL_M4) |
| 173 | cd $(top_srcdir) && $(AUTOHEADER) |
| 174 | touch $(srcdir)/./include/config.h.in |
| 175 | |
| 176 | distclean-hdr: |
| 177 | -rm -f include/config.h include/stamp-h1 |
| 178 | |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 179 | mostlyclean-libtool: |
| 180 | -rm -f *.lo |
| 181 | |
| 182 | clean-libtool: |
| 183 | -rm -rf .libs _libs |
| 184 | |
| 185 | distclean-libtool: |
| 186 | -rm -f libtool |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 187 | uninstall-info-am: |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 188 | includeHEADERS_INSTALL = $(INSTALL_HEADER) |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 189 | install-includeHEADERS: $(include_HEADERS) |
| 190 | @$(NORMAL_INSTALL) |
| 191 | $(mkinstalldirs) $(DESTDIR)$(includedir) |
| 192 | @list='$(include_HEADERS)'; for p in $$list; do \ |
| 193 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
| 194 | f="`echo $$p | sed -e 's|^.*/||'`"; \ |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 195 | echo " $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f"; \ |
| 196 | $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f; \ |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 197 | done |
| 198 | |
| 199 | uninstall-includeHEADERS: |
| 200 | @$(NORMAL_UNINSTALL) |
| 201 | @list='$(include_HEADERS)'; for p in $$list; do \ |
| 202 | f="`echo $$p | sed -e 's|^.*/||'`"; \ |
| 203 | echo " rm -f $(DESTDIR)$(includedir)/$$f"; \ |
| 204 | rm -f $(DESTDIR)$(includedir)/$$f; \ |
| 205 | done |
| 206 | |
| 207 | # This directory's subdirectories are mostly independent; you can cd |
| 208 | # into them and run `make' without going through this Makefile. |
| 209 | # To change the values of `make' variables: instead of editing Makefiles, |
| 210 | # (1) if the variable is set in `config.status', edit `config.status' |
| 211 | # (which will cause the Makefiles to be regenerated when you run `make'); |
| 212 | # (2) otherwise, pass the desired values on the `make' command line. |
| 213 | $(RECURSIVE_TARGETS): |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 214 | @set fnord $$MAKEFLAGS; amf=$$2; \ |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 215 | dot_seen=no; \ |
| 216 | target=`echo $@ | sed s/-recursive//`; \ |
| 217 | list='$(SUBDIRS)'; for subdir in $$list; do \ |
| 218 | echo "Making $$target in $$subdir"; \ |
| 219 | if test "$$subdir" = "."; then \ |
| 220 | dot_seen=yes; \ |
| 221 | local_target="$$target-am"; \ |
| 222 | else \ |
| 223 | local_target="$$target"; \ |
| 224 | fi; \ |
| 225 | (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
| 226 | || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ |
| 227 | done; \ |
| 228 | if test "$$dot_seen" = "no"; then \ |
| 229 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ |
| 230 | fi; test -z "$$fail" |
| 231 | |
| 232 | mostlyclean-recursive clean-recursive distclean-recursive \ |
| 233 | maintainer-clean-recursive: |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 234 | @set fnord $$MAKEFLAGS; amf=$$2; \ |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 235 | dot_seen=no; \ |
| 236 | case "$@" in \ |
| 237 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ |
| 238 | *) list='$(SUBDIRS)' ;; \ |
| 239 | esac; \ |
| 240 | rev=''; for subdir in $$list; do \ |
| 241 | if test "$$subdir" = "."; then :; else \ |
| 242 | rev="$$subdir $$rev"; \ |
| 243 | fi; \ |
| 244 | done; \ |
| 245 | rev="$$rev ."; \ |
| 246 | target=`echo $@ | sed s/-recursive//`; \ |
| 247 | for subdir in $$rev; do \ |
| 248 | echo "Making $$target in $$subdir"; \ |
| 249 | if test "$$subdir" = "."; then \ |
| 250 | local_target="$$target-am"; \ |
| 251 | else \ |
| 252 | local_target="$$target"; \ |
| 253 | fi; \ |
| 254 | (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
| 255 | || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ |
| 256 | done && test -z "$$fail" |
| 257 | tags-recursive: |
| 258 | list='$(SUBDIRS)'; for subdir in $$list; do \ |
| 259 | test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ |
| 260 | done |
| 261 | |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 262 | ETAGS = etags |
| 263 | ETAGSFLAGS = |
| 264 | |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 265 | tags: TAGS |
| 266 | |
| 267 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 268 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 269 | unique=`for i in $$list; do \ |
| 270 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
| 271 | done | \ |
| 272 | $(AWK) ' { files[$$0] = 1; } \ |
| 273 | END { for (i in files) print i; }'`; \ |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 274 | mkid -fID $$unique |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 275 | |
| 276 | TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ |
| 277 | $(TAGS_FILES) $(LISP) |
| 278 | tags=; \ |
| 279 | here=`pwd`; \ |
| 280 | list='$(SUBDIRS)'; for subdir in $$list; do \ |
| 281 | if test "$$subdir" = .; then :; else \ |
| 282 | test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ |
| 283 | fi; \ |
| 284 | done; \ |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 285 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 286 | unique=`for i in $$list; do \ |
| 287 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
| 288 | done | \ |
| 289 | $(AWK) ' { files[$$0] = 1; } \ |
| 290 | END { for (i in files) print i; }'`; \ |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 291 | test -z "$(ETAGS_ARGS)$$tags$$unique" \ |
| 292 | || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
| 293 | $$tags $$unique |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 294 | |
| 295 | GTAGS: |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 296 | here=`$(am__cd) $(top_builddir) && pwd` \ |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 297 | && cd $(top_srcdir) \ |
| 298 | && gtags -i $(GTAGS_ARGS) $$here |
| 299 | |
| 300 | distclean-tags: |
| 301 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 302 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
| 303 | |
| 304 | top_distdir = . |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 305 | distdir = $(PACKAGE)-$(VERSION) |
| 306 | |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 307 | am__remove_distdir = \ |
| 308 | { test ! -d $(distdir) \ |
| 309 | || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ |
| 310 | && rm -fr $(distdir); }; } |
| 311 | |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 312 | GZIP_ENV = --best |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 313 | distcleancheck_listfiles = find . -type f -print |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 314 | |
| 315 | distdir: $(DISTFILES) |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 316 | $(am__remove_distdir) |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 317 | mkdir $(distdir) |
mostang.com!davidm | 0440c53 | 2003-01-17 18:12:55 +0000 | [diff] [blame] | 318 | $(mkinstalldirs) $(distdir)/./include $(distdir)/aux $(distdir)/doc $(distdir)/include $(distdir)/include/ia64 |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 319 | @list='$(DISTFILES)'; for file in $$list; do \ |
| 320 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 321 | dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ |
| 322 | if test "$$dir" != "$$file" && test "$$dir" != "."; then \ |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 323 | dir="/$$dir"; \ |
| 324 | $(mkinstalldirs) "$(distdir)$$dir"; \ |
| 325 | else \ |
| 326 | dir=''; \ |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 327 | fi; \ |
| 328 | if test -d $$d/$$file; then \ |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 329 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
| 330 | cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ |
| 331 | fi; \ |
| 332 | cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 333 | else \ |
| 334 | test -f $(distdir)/$$file \ |
| 335 | || cp -p $$d/$$file $(distdir)/$$file \ |
| 336 | || exit 1; \ |
| 337 | fi; \ |
| 338 | done |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 339 | list='$(SUBDIRS)'; for subdir in $$list; do \ |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 340 | if test "$$subdir" = .; then :; else \ |
| 341 | test -d $(distdir)/$$subdir \ |
| 342 | || mkdir $(distdir)/$$subdir \ |
| 343 | || exit 1; \ |
| 344 | (cd $$subdir && \ |
| 345 | $(MAKE) $(AM_MAKEFLAGS) \ |
| 346 | top_distdir="$(top_distdir)" \ |
| 347 | distdir=../$(distdir)/$$subdir \ |
| 348 | distdir) \ |
| 349 | || exit 1; \ |
| 350 | fi; \ |
| 351 | done |
| 352 | -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ |
| 353 | ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ |
| 354 | ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ |
| 355 | ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ |
| 356 | || chmod -R a+r $(distdir) |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 357 | dist-gzip: distdir |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 358 | $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 359 | $(am__remove_distdir) |
| 360 | |
| 361 | dist dist-all: distdir |
| 362 | $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz |
| 363 | $(am__remove_distdir) |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 364 | |
| 365 | # This target untars the dist file and tries a VPATH configuration. Then |
| 366 | # it guarantees that the distribution is self-contained by making another |
| 367 | # tarfile. |
| 368 | distcheck: dist |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 369 | $(am__remove_distdir) |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 370 | GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - |
| 371 | chmod -R a-w $(distdir); chmod a+w $(distdir) |
| 372 | mkdir $(distdir)/=build |
| 373 | mkdir $(distdir)/=inst |
| 374 | chmod a-w $(distdir) |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 375 | dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \ |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 376 | && cd $(distdir)/=build \ |
| 377 | && ../configure --srcdir=.. --prefix=$$dc_install_base \ |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 378 | $(DISTCHECK_CONFIGURE_FLAGS) \ |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 379 | && $(MAKE) $(AM_MAKEFLAGS) \ |
| 380 | && $(MAKE) $(AM_MAKEFLAGS) dvi \ |
| 381 | && $(MAKE) $(AM_MAKEFLAGS) check \ |
| 382 | && $(MAKE) $(AM_MAKEFLAGS) install \ |
| 383 | && $(MAKE) $(AM_MAKEFLAGS) installcheck \ |
| 384 | && $(MAKE) $(AM_MAKEFLAGS) uninstall \ |
| 385 | && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \ |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 386 | || { echo "ERROR: files left after uninstall:" ; \ |
| 387 | find $$dc_install_base -type f -print ; \ |
| 388 | exit 1; } >&2 ) \ |
| 389 | && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \ |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 390 | && rm -f $(distdir).tar.gz \ |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 391 | && $(MAKE) $(AM_MAKEFLAGS) distcleancheck |
| 392 | $(am__remove_distdir) |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 393 | @echo "$(distdir).tar.gz is ready for distribution" | \ |
| 394 | sed 'h;s/./=/g;p;x;p;x' |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 395 | distcleancheck: distclean |
| 396 | if test '$(srcdir)' = . ; then \ |
| 397 | echo "ERROR: distcleancheck can only run from a VPATH build" ; \ |
| 398 | exit 1 ; \ |
| 399 | fi |
| 400 | test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ |
| 401 | || { echo "ERROR: files left after distclean:" ; \ |
| 402 | $(distcleancheck_listfiles) ; \ |
| 403 | exit 1; } >&2 |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 404 | check-am: all-am |
| 405 | check: check-recursive |
| 406 | all-am: Makefile $(HEADERS) |
| 407 | installdirs: installdirs-recursive |
| 408 | installdirs-am: |
| 409 | $(mkinstalldirs) $(DESTDIR)$(includedir) |
| 410 | |
| 411 | install: install-recursive |
| 412 | install-exec: install-exec-recursive |
| 413 | install-data: install-data-recursive |
| 414 | uninstall: uninstall-recursive |
| 415 | |
| 416 | install-am: all-am |
| 417 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
| 418 | |
| 419 | installcheck: installcheck-recursive |
| 420 | install-strip: |
| 421 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 422 | INSTALL_STRIP_FLAG=-s \ |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 423 | `test -z '$(STRIP)' || \ |
| 424 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install |
| 425 | mostlyclean-generic: |
| 426 | |
| 427 | clean-generic: |
| 428 | |
| 429 | distclean-generic: |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 430 | -rm -f Makefile $(CONFIG_CLEAN_FILES) |
mostang.com!davidm | c7aaa68 | 2003-03-19 19:25:18 +0000 | [diff] [blame] | 431 | -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 432 | |
| 433 | maintainer-clean-generic: |
| 434 | @echo "This command is intended for maintainers to use" |
| 435 | @echo "it deletes files that may require special tools to rebuild." |
| 436 | clean: clean-recursive |
| 437 | |
| 438 | clean-am: clean-generic clean-libtool mostlyclean-am |
| 439 | |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 440 | distclean: distclean-recursive |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 441 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 442 | distclean-am: clean-am distclean-generic distclean-hdr distclean-libtool \ |
| 443 | distclean-tags |
| 444 | |
| 445 | dvi: dvi-recursive |
| 446 | |
| 447 | dvi-am: |
| 448 | |
| 449 | info: info-recursive |
| 450 | |
| 451 | info-am: |
| 452 | |
| 453 | install-data-am: install-includeHEADERS |
| 454 | |
| 455 | install-exec-am: |
| 456 | |
| 457 | install-info: install-info-recursive |
| 458 | |
| 459 | install-man: |
| 460 | |
| 461 | installcheck-am: |
| 462 | |
| 463 | maintainer-clean: maintainer-clean-recursive |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 464 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
| 465 | -rm -rf autom4te.cache |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 466 | maintainer-clean-am: distclean-am maintainer-clean-generic |
| 467 | |
| 468 | mostlyclean: mostlyclean-recursive |
| 469 | |
| 470 | mostlyclean-am: mostlyclean-generic mostlyclean-libtool |
| 471 | |
| 472 | uninstall-am: uninstall-includeHEADERS uninstall-info-am |
| 473 | |
| 474 | uninstall-info: uninstall-info-recursive |
| 475 | |
| 476 | .PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \ |
| 477 | clean-generic clean-libtool clean-recursive dist dist-all \ |
mostang.com!davidm | 7c3e12e | 2002-12-19 07:16:50 +0000 | [diff] [blame] | 478 | dist-gzip distcheck distclean distclean-generic distclean-hdr \ |
| 479 | distclean-libtool distclean-recursive distclean-tags \ |
| 480 | distcleancheck distdir dvi dvi-am dvi-recursive info info-am \ |
| 481 | info-recursive install install-am install-data install-data-am \ |
| 482 | install-data-recursive install-exec install-exec-am \ |
| 483 | install-exec-recursive install-includeHEADERS install-info \ |
| 484 | install-info-am install-info-recursive install-man \ |
| 485 | install-recursive install-strip installcheck installcheck-am \ |
| 486 | installdirs installdirs-am installdirs-recursive \ |
| 487 | maintainer-clean maintainer-clean-generic \ |
| 488 | maintainer-clean-recursive mostlyclean mostlyclean-generic \ |
| 489 | mostlyclean-libtool mostlyclean-recursive tags tags-recursive \ |
| 490 | uninstall uninstall-am uninstall-includeHEADERS \ |
| 491 | uninstall-info-am uninstall-info-recursive uninstall-recursive |
mostang.com!davidm | aa54b9f | 2002-09-26 23:09:01 +0000 | [diff] [blame] | 492 | |
| 493 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
| 494 | # Otherwise a system limit (for SysV at least) may be exceeded. |
| 495 | .NOEXPORT: |