paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 1 | # Makefile.in generated automatically by automake 1.4-p5 from Makefile.am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 2 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 3 | # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 4 | # This Makefile.in is free software; the Free Software Foundation |
| 5 | # gives unlimited permission to copy and/or distribute it, |
| 6 | # with or without modifications, as long as this notice is preserved. |
| 7 | |
| 8 | # This program is distributed in the hope that it will be useful, |
| 9 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
| 10 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
| 11 | # PARTICULAR PURPOSE. |
| 12 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 13 | |
paul | ccf3557 | 2003-03-01 11:42:20 +0000 | [diff] [blame] | 14 | SHELL = @SHELL@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 15 | |
| 16 | srcdir = @srcdir@ |
| 17 | top_srcdir = @top_srcdir@ |
| 18 | VPATH = @srcdir@ |
paul | ccf3557 | 2003-03-01 11:42:20 +0000 | [diff] [blame] | 19 | prefix = @prefix@ |
| 20 | exec_prefix = @exec_prefix@ |
| 21 | |
| 22 | bindir = @bindir@ |
| 23 | sbindir = @sbindir@ |
| 24 | libexecdir = @libexecdir@ |
| 25 | datadir = @datadir@ |
| 26 | sysconfdir = @sysconfdir@ |
| 27 | sharedstatedir = @sharedstatedir@ |
| 28 | localstatedir = @localstatedir@ |
| 29 | libdir = @libdir@ |
| 30 | infodir = @infodir@ |
| 31 | mandir = @mandir@ |
| 32 | includedir = @includedir@ |
| 33 | oldincludedir = /usr/include |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 34 | |
| 35 | DESTDIR = |
| 36 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 37 | pkgdatadir = $(datadir)/@PACKAGE@ |
| 38 | pkglibdir = $(libdir)/@PACKAGE@ |
| 39 | pkgincludedir = $(includedir)/@PACKAGE@ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 40 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 41 | top_builddir = . |
| 42 | |
paul | ccf3557 | 2003-03-01 11:42:20 +0000 | [diff] [blame] | 43 | ACLOCAL = @ACLOCAL@ |
| 44 | AUTOCONF = @AUTOCONF@ |
| 45 | AUTOMAKE = @AUTOMAKE@ |
| 46 | AUTOHEADER = @AUTOHEADER@ |
| 47 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 48 | INSTALL = @INSTALL@ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 49 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) |
paul | ccf3557 | 2003-03-01 11:42:20 +0000 | [diff] [blame] | 50 | INSTALL_DATA = @INSTALL_DATA@ |
paul | ccf3557 | 2003-03-01 11:42:20 +0000 | [diff] [blame] | 51 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
paul | ccf3557 | 2003-03-01 11:42:20 +0000 | [diff] [blame] | 52 | transform = @program_transform_name@ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 53 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 54 | NORMAL_INSTALL = : |
| 55 | PRE_INSTALL = : |
| 56 | POST_INSTALL = : |
| 57 | NORMAL_UNINSTALL = : |
| 58 | PRE_UNINSTALL = : |
| 59 | POST_UNINSTALL = : |
paul | ccf3557 | 2003-03-01 11:42:20 +0000 | [diff] [blame] | 60 | host_alias = @host_alias@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 61 | host_triplet = @host@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 62 | AR = @AR@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 63 | BGPD = @BGPD@ |
| 64 | CC = @CC@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 65 | CPP = @CPP@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 66 | CURSES = @CURSES@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 67 | IF_METHOD = @IF_METHOD@ |
| 68 | IF_PROC = @IF_PROC@ |
| 69 | INCLUDES = @INCLUDES@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 70 | IPFORWARD = @IPFORWARD@ |
| 71 | KERNEL_METHOD = @KERNEL_METHOD@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 72 | LIBPAM = @LIBPAM@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 73 | LIB_IPV6 = @LIB_IPV6@ |
| 74 | LIB_REGEX = @LIB_REGEX@ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 75 | MAKEINFO = @MAKEINFO@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 76 | MULTIPATH_NUM = @MULTIPATH_NUM@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 77 | OSPF6D = @OSPF6D@ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 78 | OSPFCLIENT = @OSPFCLIENT@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 79 | OSPFD = @OSPFD@ |
| 80 | OTHER_METHOD = @OTHER_METHOD@ |
| 81 | PACKAGE = @PACKAGE@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 82 | RANLIB = @RANLIB@ |
| 83 | RIPD = @RIPD@ |
| 84 | RIPNGD = @RIPNGD@ |
| 85 | RTREAD_METHOD = @RTREAD_METHOD@ |
| 86 | RT_METHOD = @RT_METHOD@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 87 | VERSION = @VERSION@ |
| 88 | VTYSH = @VTYSH@ |
| 89 | ZEBRA = @ZEBRA@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 90 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 91 | SUBDIRS = lib @ZEBRA@ @BGPD@ @RIPD@ @RIPNGD@ @OSPFD@ @OSPF6D@ @VTYSH@ @OSPFCLIENT@ doc |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 92 | |
| 93 | EXTRA_DIST = aclocal.m4 SERVICES TODO REPORTING-BUGS vtysh/Makefile.in \ |
| 94 | vtysh/Makefile.am update-autotools |
| 95 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 96 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
| 97 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs |
| 98 | CONFIG_HEADER = config.h |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 99 | CONFIG_CLEAN_FILES = |
| 100 | DIST_COMMON = README ./stamp-h.in AUTHORS COPYING COPYING.LIB ChangeLog \ |
| 101 | INSTALL Makefile.am Makefile.in NEWS TODO acconfig.h aclocal.m4 \ |
| 102 | config.guess config.h.in config.sub configure configure.in install-sh \ |
| 103 | missing mkinstalldirs |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 104 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 105 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 106 | DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) |
| 107 | |
| 108 | TAR = gtar |
| 109 | GZIP_ENV = --best |
| 110 | all: all-redirect |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 111 | .SUFFIXES: |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 112 | $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) |
| 113 | cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 114 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 115 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) |
| 116 | cd $(top_builddir) \ |
| 117 | && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 118 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 119 | $(ACLOCAL_M4): configure.in |
| 120 | cd $(srcdir) && $(ACLOCAL) |
| 121 | |
| 122 | config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 123 | $(SHELL) ./config.status --recheck |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 124 | $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 125 | cd $(srcdir) && $(AUTOCONF) |
| 126 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 127 | config.h: stamp-h |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 128 | @if test ! -f $@; then \ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 129 | rm -f stamp-h; \ |
| 130 | $(MAKE) stamp-h; \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 131 | else :; fi |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 132 | stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status |
| 133 | cd $(top_builddir) \ |
| 134 | && CONFIG_FILES= CONFIG_HEADERS=config.h \ |
| 135 | $(SHELL) ./config.status |
| 136 | @echo timestamp > stamp-h 2> /dev/null |
| 137 | $(srcdir)/config.h.in: $(srcdir)/stamp-h.in |
| 138 | @if test ! -f $@; then \ |
| 139 | rm -f $(srcdir)/stamp-h.in; \ |
| 140 | $(MAKE) $(srcdir)/stamp-h.in; \ |
| 141 | else :; fi |
| 142 | $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 143 | cd $(top_srcdir) && $(AUTOHEADER) |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 144 | @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null |
| 145 | |
| 146 | mostlyclean-hdr: |
| 147 | |
| 148 | clean-hdr: |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 149 | |
| 150 | distclean-hdr: |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 151 | -rm -f config.h |
| 152 | |
| 153 | maintainer-clean-hdr: |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 154 | |
| 155 | # This directory's subdirectories are mostly independent; you can cd |
| 156 | # into them and run `make' without going through this Makefile. |
| 157 | # To change the values of `make' variables: instead of editing Makefiles, |
| 158 | # (1) if the variable is set in `config.status', edit `config.status' |
| 159 | # (which will cause the Makefiles to be regenerated when you run `make'); |
| 160 | # (2) otherwise, pass the desired values on the `make' command line. |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 161 | |
| 162 | @SET_MAKE@ |
| 163 | |
| 164 | all-recursive install-data-recursive install-exec-recursive \ |
| 165 | installdirs-recursive install-recursive uninstall-recursive \ |
| 166 | check-recursive installcheck-recursive info-recursive dvi-recursive: |
| 167 | @set fnord $(MAKEFLAGS); amf=$$2; \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 168 | dot_seen=no; \ |
| 169 | target=`echo $@ | sed s/-recursive//`; \ |
| 170 | list='$(SUBDIRS)'; for subdir in $$list; do \ |
| 171 | echo "Making $$target in $$subdir"; \ |
| 172 | if test "$$subdir" = "."; then \ |
| 173 | dot_seen=yes; \ |
| 174 | local_target="$$target-am"; \ |
| 175 | else \ |
| 176 | local_target="$$target"; \ |
| 177 | fi; \ |
| 178 | (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
| 179 | || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ |
| 180 | done; \ |
| 181 | if test "$$dot_seen" = "no"; then \ |
| 182 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ |
| 183 | fi; test -z "$$fail" |
| 184 | |
| 185 | mostlyclean-recursive clean-recursive distclean-recursive \ |
| 186 | maintainer-clean-recursive: |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 187 | @set fnord $(MAKEFLAGS); amf=$$2; \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 188 | dot_seen=no; \ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 189 | rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ |
| 190 | rev="$$subdir $$rev"; \ |
| 191 | test "$$subdir" != "." || dot_seen=yes; \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 192 | done; \ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 193 | test "$$dot_seen" = "no" && rev=". $$rev"; \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 194 | target=`echo $@ | sed s/-recursive//`; \ |
| 195 | for subdir in $$rev; do \ |
| 196 | echo "Making $$target in $$subdir"; \ |
| 197 | if test "$$subdir" = "."; then \ |
| 198 | local_target="$$target-am"; \ |
| 199 | else \ |
| 200 | local_target="$$target"; \ |
| 201 | fi; \ |
| 202 | (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
| 203 | || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ |
| 204 | done && test -z "$$fail" |
| 205 | tags-recursive: |
| 206 | list='$(SUBDIRS)'; for subdir in $$list; do \ |
| 207 | test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ |
| 208 | done |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 209 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 210 | tags: TAGS |
| 211 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 212 | ID: $(HEADERS) $(SOURCES) $(LISP) |
| 213 | list='$(SOURCES) $(HEADERS)'; \ |
| 214 | unique=`for i in $$list; do echo $$i; done | \ |
| 215 | awk ' { files[$$0] = 1; } \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 216 | END { for (i in files) print i; }'`; \ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 217 | here=`pwd` && cd $(srcdir) \ |
| 218 | && mkid -f$$here/ID $$unique $(LISP) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 219 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 220 | TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 221 | tags=; \ |
| 222 | here=`pwd`; \ |
| 223 | list='$(SUBDIRS)'; for subdir in $$list; do \ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 224 | if test "$$subdir" = .; then :; else \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 225 | test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 226 | fi; \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 227 | done; \ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 228 | list='$(SOURCES) $(HEADERS)'; \ |
| 229 | unique=`for i in $$list; do echo $$i; done | \ |
| 230 | awk ' { files[$$0] = 1; } \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 231 | END { for (i in files) print i; }'`; \ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 232 | test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \ |
| 233 | || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 234 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 235 | mostlyclean-tags: |
| 236 | |
| 237 | clean-tags: |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 238 | |
| 239 | distclean-tags: |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 240 | -rm -f TAGS ID |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 241 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 242 | maintainer-clean-tags: |
| 243 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 244 | distdir = $(PACKAGE)-$(VERSION) |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 245 | top_distdir = $(distdir) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 246 | |
| 247 | # This target untars the dist file and tries a VPATH configuration. Then |
| 248 | # it guarantees that the distribution is self-contained by making another |
| 249 | # tarfile. |
| 250 | distcheck: dist |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 251 | -rm -rf $(distdir) |
| 252 | GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 253 | mkdir $(distdir)/=build |
| 254 | mkdir $(distdir)/=inst |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 255 | dc_install_base=`cd $(distdir)/=inst && pwd`; \ |
| 256 | cd $(distdir)/=build \ |
paul | ccf3557 | 2003-03-01 11:42:20 +0000 | [diff] [blame] | 257 | && ../configure --srcdir=.. --prefix=$$dc_install_base \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 258 | && $(MAKE) $(AM_MAKEFLAGS) \ |
| 259 | && $(MAKE) $(AM_MAKEFLAGS) dvi \ |
| 260 | && $(MAKE) $(AM_MAKEFLAGS) check \ |
| 261 | && $(MAKE) $(AM_MAKEFLAGS) install \ |
| 262 | && $(MAKE) $(AM_MAKEFLAGS) installcheck \ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 263 | && $(MAKE) $(AM_MAKEFLAGS) dist |
| 264 | -rm -rf $(distdir) |
| 265 | @banner="$(distdir).tar.gz is ready for distribution"; \ |
| 266 | dashes=`echo "$$banner" | sed s/./=/g`; \ |
| 267 | echo "$$dashes"; \ |
| 268 | echo "$$banner"; \ |
| 269 | echo "$$dashes" |
| 270 | dist: distdir |
| 271 | -chmod -R a+r $(distdir) |
| 272 | GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) |
| 273 | -rm -rf $(distdir) |
| 274 | dist-all: distdir |
| 275 | -chmod -R a+r $(distdir) |
| 276 | GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) |
| 277 | -rm -rf $(distdir) |
| 278 | distdir: $(DISTFILES) |
| 279 | -rm -rf $(distdir) |
| 280 | mkdir $(distdir) |
| 281 | -chmod 777 $(distdir) |
| 282 | here=`cd $(top_builddir) && pwd`; \ |
| 283 | top_distdir=`cd $(distdir) && pwd`; \ |
| 284 | distdir=`cd $(distdir) && pwd`; \ |
| 285 | cd $(top_srcdir) \ |
| 286 | && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile |
| 287 | $(mkinstalldirs) $(distdir)/vtysh |
| 288 | @for file in $(DISTFILES); do \ |
| 289 | d=$(srcdir); \ |
| 290 | if test -d $$d/$$file; then \ |
| 291 | cp -pr $$d/$$file $(distdir)/$$file; \ |
| 292 | else \ |
| 293 | test -f $(distdir)/$$file \ |
| 294 | || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ |
| 295 | || cp -p $$d/$$file $(distdir)/$$file || :; \ |
| 296 | fi; \ |
| 297 | done |
| 298 | for subdir in $(SUBDIRS); do \ |
| 299 | if test "$$subdir" = .; then :; else \ |
| 300 | test -d $(distdir)/$$subdir \ |
| 301 | || mkdir $(distdir)/$$subdir \ |
| 302 | || exit 1; \ |
| 303 | chmod 777 $(distdir)/$$subdir; \ |
| 304 | (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \ |
| 305 | || exit 1; \ |
| 306 | fi; \ |
| 307 | done |
| 308 | $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook |
| 309 | info-am: |
| 310 | info: info-recursive |
| 311 | dvi-am: |
| 312 | dvi: dvi-recursive |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 313 | check-am: all-am |
| 314 | check: check-recursive |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 315 | installcheck-am: |
| 316 | installcheck: installcheck-recursive |
| 317 | all-recursive-am: config.h |
| 318 | $(MAKE) $(AM_MAKEFLAGS) all-recursive |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 319 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 320 | install-exec-am: |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 321 | install-exec: install-exec-recursive |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 322 | |
| 323 | install-data-am: |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 324 | install-data: install-data-recursive |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 325 | |
| 326 | install-am: all-am |
| 327 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 328 | install: install-recursive |
| 329 | uninstall-am: |
| 330 | uninstall: uninstall-recursive |
| 331 | all-am: Makefile config.h |
| 332 | all-redirect: all-recursive-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 333 | install-strip: |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 334 | $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install |
| 335 | installdirs: installdirs-recursive |
| 336 | installdirs-am: |
| 337 | |
| 338 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 339 | mostlyclean-generic: |
| 340 | |
| 341 | clean-generic: |
| 342 | |
| 343 | distclean-generic: |
| 344 | -rm -f Makefile $(CONFIG_CLEAN_FILES) |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 345 | -rm -f config.cache config.log stamp-h stamp-h[0-9]* |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 346 | |
| 347 | maintainer-clean-generic: |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 348 | mostlyclean-am: mostlyclean-hdr mostlyclean-tags mostlyclean-generic |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 349 | |
| 350 | mostlyclean: mostlyclean-recursive |
| 351 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 352 | clean-am: clean-hdr clean-tags clean-generic mostlyclean-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 353 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 354 | clean: clean-recursive |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 355 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 356 | distclean-am: distclean-hdr distclean-tags distclean-generic clean-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 357 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 358 | distclean: distclean-recursive |
| 359 | -rm -f config.status |
| 360 | |
| 361 | maintainer-clean-am: maintainer-clean-hdr maintainer-clean-tags \ |
| 362 | maintainer-clean-generic distclean-am |
| 363 | @echo "This command is intended for maintainers to use;" |
| 364 | @echo "it deletes files that may require special tools to rebuild." |
| 365 | |
| 366 | maintainer-clean: maintainer-clean-recursive |
| 367 | -rm -f config.status |
| 368 | |
| 369 | .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \ |
| 370 | install-data-recursive uninstall-data-recursive install-exec-recursive \ |
| 371 | uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \ |
| 372 | all-recursive check-recursive installcheck-recursive info-recursive \ |
| 373 | dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \ |
| 374 | maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ |
| 375 | distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ |
| 376 | dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \ |
| 377 | install-exec-am install-exec install-data-am install-data install-am \ |
| 378 | install uninstall-am uninstall all-redirect all-am all installdirs-am \ |
| 379 | installdirs mostlyclean-generic distclean-generic clean-generic \ |
| 380 | maintainer-clean-generic clean mostlyclean distclean maintainer-clean |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 381 | |
| 382 | |
| 383 | dist-hook: |
| 384 | mkdir $(distdir)/tools |
| 385 | cp -p $(srcdir)/tools/*.pl $(distdir)/tools |
| 386 | cp -p $(srcdir)/tools/*.el $(distdir)/tools |
| 387 | cp -p $(srcdir)/tools/*.cgi $(distdir)/tools |
| 388 | mkdir $(distdir)/init |
| 389 | mkdir $(distdir)/init/redhat |
| 390 | cp -p $(srcdir)/init/redhat/*.init $(distdir)/init/redhat |
| 391 | cp -p $(srcdir)/init/redhat/zebra.* $(distdir)/init/redhat |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 392 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 393 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
| 394 | # Otherwise a system limit (for SysV at least) may be exceeded. |
| 395 | .NOEXPORT: |