paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 1 | # Makefile.in generated automatically by automake 1.5 from Makefile.am. |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 2 | |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 3 | # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 |
| 4 | # Free Software Foundation, Inc. |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 5 | # This Makefile.in is free software; the Free Software Foundation |
| 6 | # gives unlimited permission to copy and/or distribute it, |
| 7 | # with or without modifications, as long as this notice is preserved. |
| 8 | |
| 9 | # This program is distributed in the hope that it will be useful, |
| 10 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
| 11 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
| 12 | # PARTICULAR PURPOSE. |
| 13 | |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 14 | @SET_MAKE@ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 15 | |
| 16 | SHELL = @SHELL@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 17 | |
| 18 | srcdir = @srcdir@ |
| 19 | top_srcdir = @top_srcdir@ |
| 20 | VPATH = @srcdir@ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 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 |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 36 | pkgdatadir = $(datadir)/@PACKAGE@ |
| 37 | pkglibdir = $(libdir)/@PACKAGE@ |
| 38 | pkgincludedir = $(includedir)/@PACKAGE@ |
| 39 | top_builddir = .. |
| 40 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 41 | ACLOCAL = @ACLOCAL@ |
| 42 | AUTOCONF = @AUTOCONF@ |
| 43 | AUTOMAKE = @AUTOMAKE@ |
| 44 | AUTOHEADER = @AUTOHEADER@ |
| 45 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 46 | INSTALL = @INSTALL@ |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 47 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 48 | INSTALL_DATA = @INSTALL_DATA@ |
| 49 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 50 | INSTALL_HEADER = $(INSTALL_DATA) |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 51 | transform = @program_transform_name@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 52 | NORMAL_INSTALL = : |
| 53 | PRE_INSTALL = : |
| 54 | POST_INSTALL = : |
| 55 | NORMAL_UNINSTALL = : |
| 56 | PRE_UNINSTALL = : |
| 57 | POST_UNINSTALL = : |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 58 | host_alias = @host_alias@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 59 | host_triplet = @host@ |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 60 | AMTAR = @AMTAR@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 61 | AR = @AR@ |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 62 | AWK = @AWK@ |
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 | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 67 | DEPDIR = @DEPDIR@ |
| 68 | EXEEXT = @EXEEXT@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 69 | IF_METHOD = @IF_METHOD@ |
| 70 | IF_PROC = @IF_PROC@ |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 71 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 72 | IPFORWARD = @IPFORWARD@ |
| 73 | KERNEL_METHOD = @KERNEL_METHOD@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 74 | LIBPAM = @LIBPAM@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 75 | LIB_IPV6 = @LIB_IPV6@ |
| 76 | LIB_REGEX = @LIB_REGEX@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 77 | MULTIPATH_NUM = @MULTIPATH_NUM@ |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 78 | OBJEXT = @OBJEXT@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 79 | OSPF6D = @OSPF6D@ |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 80 | OSPFAPI = @OSPFAPI@ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 81 | OSPFCLIENT = @OSPFCLIENT@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 82 | OSPFD = @OSPFD@ |
| 83 | OTHER_METHOD = @OTHER_METHOD@ |
| 84 | PACKAGE = @PACKAGE@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 85 | RANLIB = @RANLIB@ |
| 86 | RIPD = @RIPD@ |
| 87 | RIPNGD = @RIPNGD@ |
| 88 | RTREAD_METHOD = @RTREAD_METHOD@ |
| 89 | RT_METHOD = @RT_METHOD@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 90 | VERSION = @VERSION@ |
| 91 | VTYSH = @VTYSH@ |
| 92 | ZEBRA = @ZEBRA@ |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 93 | am__include = @am__include@ |
| 94 | am__quote = @am__quote@ |
| 95 | install_sh = @install_sh@ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 96 | |
| 97 | INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib |
| 98 | DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" |
| 99 | |
| 100 | LIBS = @LIBS@ @CURSES@ @LIBPAM@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 101 | |
| 102 | bin_PROGRAMS = vtysh |
| 103 | |
| 104 | vtysh_SOURCES = vtysh_main.c vtysh.c vtysh_cmd.c vtysh_user.c vtysh_config.c |
| 105 | noinst_HEADERS = vtysh.h vtysh_user.h |
| 106 | vtysh_LDADD = ../lib/libzebra.a |
| 107 | |
| 108 | sysconf_DATA = vtysh.conf.sample |
| 109 | |
| 110 | EXTRA_DIST = extract.pl vtysh.conf.sample |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 111 | subdir = vtysh |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 112 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 113 | CONFIG_HEADER = $(top_builddir)/config.h |
| 114 | CONFIG_CLEAN_FILES = |
| 115 | bin_PROGRAMS = vtysh$(EXEEXT) |
| 116 | PROGRAMS = $(bin_PROGRAMS) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 117 | |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 118 | am_vtysh_OBJECTS = vtysh_main.$(OBJEXT) vtysh.$(OBJEXT) \ |
| 119 | vtysh_cmd.$(OBJEXT) vtysh_user.$(OBJEXT) vtysh_config.$(OBJEXT) |
| 120 | vtysh_OBJECTS = $(am_vtysh_OBJECTS) |
| 121 | vtysh_DEPENDENCIES = ../lib/libzebra.a |
| 122 | vtysh_LDFLAGS = |
| 123 | DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 124 | CPPFLAGS = @CPPFLAGS@ |
| 125 | LDFLAGS = @LDFLAGS@ |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 126 | depcomp = $(SHELL) $(top_srcdir)/depcomp |
| 127 | @AMDEP_TRUE@DEP_FILES = $(DEPDIR)/vtysh.Po $(DEPDIR)/vtysh_cmd.Po \ |
| 128 | @AMDEP_TRUE@ $(DEPDIR)/vtysh_config.Po $(DEPDIR)/vtysh_main.Po \ |
| 129 | @AMDEP_TRUE@ $(DEPDIR)/vtysh_user.Po |
| 130 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
| 131 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 132 | CCLD = $(CC) |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 133 | LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ |
| 134 | CFLAGS = @CFLAGS@ |
| 135 | DIST_SOURCES = $(vtysh_SOURCES) |
| 136 | DATA = $(sysconf_DATA) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 137 | |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 138 | HEADERS = $(noinst_HEADERS) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 139 | |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 140 | DIST_COMMON = $(noinst_HEADERS) ChangeLog Makefile.am Makefile.in |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 141 | SOURCES = $(vtysh_SOURCES) |
| 142 | |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 143 | all: all-am |
| 144 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 145 | .SUFFIXES: |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 146 | .SUFFIXES: .c .o .obj |
| 147 | $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) |
| 148 | cd $(top_srcdir) && \ |
| 149 | $(AUTOMAKE) --foreign vtysh/Makefile |
| 150 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
| 151 | cd $(top_builddir) && \ |
| 152 | CONFIG_HEADERS= CONFIG_LINKS= \ |
| 153 | CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 154 | install-binPROGRAMS: $(bin_PROGRAMS) |
| 155 | @$(NORMAL_INSTALL) |
| 156 | $(mkinstalldirs) $(DESTDIR)$(bindir) |
| 157 | @list='$(bin_PROGRAMS)'; for p in $$list; do \ |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 158 | p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ |
| 159 | if test -f $$p \ |
| 160 | ; then \ |
| 161 | f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \ |
| 162 | echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \ |
| 163 | $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 164 | else :; fi; \ |
| 165 | done |
| 166 | |
| 167 | uninstall-binPROGRAMS: |
| 168 | @$(NORMAL_UNINSTALL) |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 169 | @list='$(bin_PROGRAMS)'; for p in $$list; do \ |
| 170 | f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ |
| 171 | echo " rm -f $(DESTDIR)$(bindir)/$$f"; \ |
| 172 | rm -f $(DESTDIR)$(bindir)/$$f; \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 173 | done |
| 174 | |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 175 | clean-binPROGRAMS: |
| 176 | -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) |
| 177 | vtysh$(EXEEXT): $(vtysh_OBJECTS) $(vtysh_DEPENDENCIES) |
| 178 | @rm -f vtysh$(EXEEXT) |
| 179 | $(LINK) $(vtysh_LDFLAGS) $(vtysh_OBJECTS) $(vtysh_LDADD) $(LIBS) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 180 | |
| 181 | mostlyclean-compile: |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 182 | -rm -f *.$(OBJEXT) core *.core |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 183 | |
| 184 | distclean-compile: |
| 185 | -rm -f *.tab.c |
| 186 | |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 187 | @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/vtysh.Po@am__quote@ |
| 188 | @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/vtysh_cmd.Po@am__quote@ |
| 189 | @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/vtysh_config.Po@am__quote@ |
| 190 | @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/vtysh_main.Po@am__quote@ |
| 191 | @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/vtysh_user.Po@am__quote@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 192 | |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 193 | distclean-depend: |
| 194 | -rm -rf $(DEPDIR) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 195 | |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 196 | .c.o: |
| 197 | @AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
| 198 | @AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ |
| 199 | @AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
| 200 | $(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$< |
| 201 | |
| 202 | .c.obj: |
| 203 | @AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
| 204 | @AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ |
| 205 | @AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
| 206 | $(COMPILE) -c `cygpath -w $<` |
| 207 | CCDEPMODE = @CCDEPMODE@ |
| 208 | uninstall-info-am: |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 209 | install-sysconfDATA: $(sysconf_DATA) |
| 210 | @$(NORMAL_INSTALL) |
| 211 | $(mkinstalldirs) $(DESTDIR)$(sysconfdir) |
| 212 | @list='$(sysconf_DATA)'; for p in $$list; do \ |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 213 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
| 214 | f="`echo $$p | sed -e 's|^.*/||'`"; \ |
| 215 | echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(sysconfdir)/$$f"; \ |
| 216 | $(INSTALL_DATA) $$d$$p $(DESTDIR)$(sysconfdir)/$$f; \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 217 | done |
| 218 | |
| 219 | uninstall-sysconfDATA: |
| 220 | @$(NORMAL_UNINSTALL) |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 221 | @list='$(sysconf_DATA)'; for p in $$list; do \ |
| 222 | f="`echo $$p | sed -e 's|^.*/||'`"; \ |
| 223 | echo " rm -f $(DESTDIR)$(sysconfdir)/$$f"; \ |
| 224 | rm -f $(DESTDIR)$(sysconfdir)/$$f; \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 225 | done |
| 226 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 227 | tags: TAGS |
| 228 | |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 229 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) |
| 230 | list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \ |
| 231 | unique=`for i in $$list; do \ |
| 232 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
| 233 | done | \ |
| 234 | $(AWK) ' { files[$$0] = 1; } \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 235 | END { for (i in files) print i; }'`; \ |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 236 | mkid -fID $$unique $(LISP) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 237 | |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 238 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ |
| 239 | $(TAGS_FILES) $(LISP) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 240 | tags=; \ |
| 241 | here=`pwd`; \ |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 242 | list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \ |
| 243 | unique=`for i in $$list; do \ |
| 244 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
| 245 | done | \ |
| 246 | $(AWK) ' { files[$$0] = 1; } \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 247 | END { for (i in files) print i; }'`; \ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 248 | test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 249 | || etags $(ETAGS_ARGS) $$tags $$unique $(LISP) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 250 | |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 251 | GTAGS: |
| 252 | here=`CDPATH=: && cd $(top_builddir) && pwd` \ |
| 253 | && cd $(top_srcdir) \ |
| 254 | && gtags -i $(GTAGS_ARGS) $$here |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 255 | |
| 256 | distclean-tags: |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 257 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 258 | |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 259 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 260 | |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 261 | top_distdir = .. |
| 262 | distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 263 | |
| 264 | distdir: $(DISTFILES) |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 265 | @for file in $(DISTFILES); do \ |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 266 | if test -f $$file; then d=.; else d=$(srcdir); fi; \ |
| 267 | dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ |
| 268 | if test "$$dir" != "$$file" && test "$$dir" != "."; then \ |
| 269 | $(mkinstalldirs) "$(distdir)/$$dir"; \ |
| 270 | fi; \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 271 | if test -d $$d/$$file; then \ |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 272 | cp -pR $$d/$$file $(distdir) \ |
| 273 | || exit 1; \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 274 | else \ |
| 275 | test -f $(distdir)/$$file \ |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 276 | || cp -p $$d/$$file $(distdir)/$$file \ |
| 277 | || exit 1; \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 278 | fi; \ |
| 279 | done |
| 280 | check-am: all-am |
| 281 | check: check-am |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 282 | all-am: Makefile $(PROGRAMS) $(DATA) $(HEADERS) |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 283 | |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 284 | installdirs: |
| 285 | $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(sysconfdir) |
| 286 | |
| 287 | install: install-am |
| 288 | install-exec: install-exec-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 289 | install-data: install-data-am |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 290 | uninstall: uninstall-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 291 | |
| 292 | install-am: all-am |
| 293 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 294 | |
| 295 | installcheck: installcheck-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 296 | install-strip: |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 297 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
| 298 | `test -z '$(STRIP)' || \ |
| 299 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 300 | mostlyclean-generic: |
| 301 | |
| 302 | clean-generic: |
| 303 | |
| 304 | distclean-generic: |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 305 | -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]* |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 306 | |
| 307 | maintainer-clean-generic: |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 308 | @echo "This command is intended for maintainers to use" |
| 309 | @echo "it deletes files that may require special tools to rebuild." |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 310 | clean: clean-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 311 | |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 312 | clean-am: clean-binPROGRAMS clean-generic mostlyclean-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 313 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 314 | distclean: distclean-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 315 | |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 316 | distclean-am: clean-am distclean-compile distclean-depend \ |
| 317 | distclean-generic distclean-tags |
| 318 | |
| 319 | dvi: dvi-am |
| 320 | |
| 321 | dvi-am: |
| 322 | |
| 323 | info: info-am |
| 324 | |
| 325 | info-am: |
| 326 | |
| 327 | install-data-am: |
| 328 | |
| 329 | install-exec-am: install-binPROGRAMS install-sysconfDATA |
| 330 | |
| 331 | install-info: install-info-am |
| 332 | |
| 333 | install-man: |
| 334 | |
| 335 | installcheck-am: |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 336 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 337 | maintainer-clean: maintainer-clean-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 338 | |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 339 | maintainer-clean-am: distclean-am maintainer-clean-generic |
| 340 | |
| 341 | mostlyclean: mostlyclean-am |
| 342 | |
| 343 | mostlyclean-am: mostlyclean-compile mostlyclean-generic |
| 344 | |
| 345 | uninstall-am: uninstall-binPROGRAMS uninstall-info-am \ |
| 346 | uninstall-sysconfDATA |
| 347 | |
| 348 | .PHONY: GTAGS all all-am check check-am clean clean-binPROGRAMS \ |
| 349 | clean-generic distclean distclean-compile distclean-depend \ |
| 350 | distclean-generic distclean-tags distdir dvi dvi-am info \ |
| 351 | info-am install install-am install-binPROGRAMS install-data \ |
| 352 | install-data-am install-exec install-exec-am install-info \ |
| 353 | install-info-am install-man install-strip install-sysconfDATA \ |
| 354 | installcheck installcheck-am installdirs maintainer-clean \ |
| 355 | maintainer-clean-generic mostlyclean mostlyclean-compile \ |
| 356 | mostlyclean-generic tags uninstall uninstall-am \ |
| 357 | uninstall-binPROGRAMS uninstall-info-am uninstall-sysconfDATA |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 358 | |
| 359 | |
| 360 | rebuild4: |
| 361 | ./extract.pl ../zebra/*.c ../ripd/*.c ../ospfd/*.c ../bgpd/*.c ../lib/keychain.c ../lib/routemap.c ../lib/filter.c ../lib/plist.c >vtysh_cmd.c |
| 362 | |
| 363 | rebuild: |
| 364 | ./extract.pl ../zebra/*.c ../ripd/*.c ../ripngd/*.c ../ospfd/*.c ../ospf6d/*.c ../bgpd/*.c ../lib/keychain.c ../lib/routemap.c ../lib/filter.c ../lib/plist.c >vtysh_cmd.c |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 365 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
| 366 | # Otherwise a system limit (for SysV at least) may be exceeded. |
| 367 | .NOEXPORT: |