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_REGEX = @LIB_REGEX@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 76 | MULTIPATH_NUM = @MULTIPATH_NUM@ |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 77 | OBJEXT = @OBJEXT@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 78 | OSPF6D = @OSPF6D@ |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 79 | OSPFAPI = @OSPFAPI@ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 80 | OSPFCLIENT = @OSPFCLIENT@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 81 | OSPFD = @OSPFD@ |
| 82 | OTHER_METHOD = @OTHER_METHOD@ |
| 83 | PACKAGE = @PACKAGE@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 84 | RANLIB = @RANLIB@ |
| 85 | RIPD = @RIPD@ |
| 86 | RIPNGD = @RIPNGD@ |
| 87 | RTREAD_METHOD = @RTREAD_METHOD@ |
| 88 | RT_METHOD = @RT_METHOD@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 89 | VERSION = @VERSION@ |
| 90 | VTYSH = @VTYSH@ |
| 91 | ZEBRA = @ZEBRA@ |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 92 | am__include = @am__include@ |
| 93 | am__quote = @am__quote@ |
| 94 | install_sh = @install_sh@ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 95 | |
| 96 | INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 97 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 98 | LIB_IPV6 = @LIB_IPV6@ |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 99 | DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" -DMULTIPATH_NUM=@MULTIPATH_NUM@ |
| 100 | INSTALL_SDATA = @INSTALL@ -m 600 |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 101 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 102 | ipforward = @IPFORWARD@ |
| 103 | if_method = @IF_METHOD@ |
| 104 | if_proc = @IF_PROC@ |
| 105 | rt_method = @RT_METHOD@ |
| 106 | rtread_method = @RTREAD_METHOD@ |
| 107 | kernel_method = @KERNEL_METHOD@ |
| 108 | other_method = @OTHER_METHOD@ |
| 109 | |
| 110 | otherobj = $(ipforward) $(if_method) $(if_proc) $(rt_method) \ |
| 111 | $(rtread_method) $(kernel_method) $(other_method) |
| 112 | |
| 113 | |
| 114 | sbin_PROGRAMS = zebra |
| 115 | |
| 116 | zebra_SOURCES = \ |
| 117 | zserv.c main.c interface.c connected.c ioctl.c zebra_rib.c \ |
| 118 | redistribute.c debug.c rtadv.c zebra_snmp.c zebra_vty.c |
| 119 | |
| 120 | |
| 121 | noinst_HEADERS = \ |
| 122 | connected.h ioctl.h rib.h rt.h zserv.h redistribute.h debug.h rtadv.h \ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 123 | interface.h ipforward.h |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 124 | |
| 125 | |
| 126 | zebra_LDADD = ../lib/libzebra.a $(otherobj) $(LIB_IPV6) |
| 127 | |
| 128 | zebra_DEPENDENCIES = $(otherobj) |
| 129 | |
| 130 | sysconf_DATA = zebra.conf.sample |
| 131 | |
| 132 | EXTRA_DIST = $(sysconf_DATA) if_ioctl.c if_netlink.c if_proc.c if_sysctl.c \ |
| 133 | ipforward_aix.c ipforward_ews.c ipforward_proc.c \ |
| 134 | ipforward_solaris.c ipforward_sysctl.c rt_ioctl.c rt_netlink.c \ |
| 135 | rt_socket.c rtread_netlink.c rtread_proc.c rtread_sysctl.c \ |
| 136 | rtread_getmsg.c kernel_socket.c kernel_netlink.c mtu_kvm.c \ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 137 | GNOME-SMI GNOME-PRODUCT-ZEBRA-MIB |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 138 | |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 139 | subdir = zebra |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 140 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 141 | CONFIG_HEADER = $(top_builddir)/config.h |
| 142 | CONFIG_CLEAN_FILES = |
| 143 | sbin_PROGRAMS = zebra$(EXEEXT) |
| 144 | PROGRAMS = $(sbin_PROGRAMS) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 145 | |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 146 | am_zebra_OBJECTS = zserv.$(OBJEXT) main.$(OBJEXT) interface.$(OBJEXT) \ |
| 147 | connected.$(OBJEXT) ioctl.$(OBJEXT) zebra_rib.$(OBJEXT) \ |
| 148 | redistribute.$(OBJEXT) debug.$(OBJEXT) rtadv.$(OBJEXT) \ |
| 149 | zebra_snmp.$(OBJEXT) zebra_vty.$(OBJEXT) |
| 150 | zebra_OBJECTS = $(am_zebra_OBJECTS) |
| 151 | zebra_LDFLAGS = |
| 152 | DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 153 | CPPFLAGS = @CPPFLAGS@ |
| 154 | LDFLAGS = @LDFLAGS@ |
| 155 | LIBS = @LIBS@ |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 156 | depcomp = $(SHELL) $(top_srcdir)/depcomp |
| 157 | @AMDEP_TRUE@DEP_FILES = $(DEPDIR)/connected.Po $(DEPDIR)/debug.Po \ |
| 158 | @AMDEP_TRUE@ $(DEPDIR)/interface.Po $(DEPDIR)/ioctl.Po \ |
| 159 | @AMDEP_TRUE@ $(DEPDIR)/main.Po $(DEPDIR)/redistribute.Po \ |
| 160 | @AMDEP_TRUE@ $(DEPDIR)/rtadv.Po $(DEPDIR)/zebra_rib.Po \ |
| 161 | @AMDEP_TRUE@ $(DEPDIR)/zebra_snmp.Po $(DEPDIR)/zebra_vty.Po \ |
| 162 | @AMDEP_TRUE@ $(DEPDIR)/zserv.Po |
| 163 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
| 164 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 165 | CCLD = $(CC) |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 166 | LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ |
| 167 | CFLAGS = @CFLAGS@ |
| 168 | DIST_SOURCES = $(zebra_SOURCES) |
| 169 | DATA = $(sysconf_DATA) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 170 | |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 171 | HEADERS = $(noinst_HEADERS) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 172 | |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 173 | DIST_COMMON = $(noinst_HEADERS) ChangeLog Makefile.am Makefile.in |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 174 | SOURCES = $(zebra_SOURCES) |
| 175 | |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 176 | all: all-am |
| 177 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 178 | .SUFFIXES: |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 179 | .SUFFIXES: .c .o .obj |
| 180 | $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) |
| 181 | cd $(top_srcdir) && \ |
| 182 | $(AUTOMAKE) --foreign zebra/Makefile |
| 183 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
| 184 | cd $(top_builddir) && \ |
| 185 | CONFIG_HEADERS= CONFIG_LINKS= \ |
| 186 | CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 187 | install-sbinPROGRAMS: $(sbin_PROGRAMS) |
| 188 | @$(NORMAL_INSTALL) |
| 189 | $(mkinstalldirs) $(DESTDIR)$(sbindir) |
| 190 | @list='$(sbin_PROGRAMS)'; for p in $$list; do \ |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 191 | p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ |
| 192 | if test -f $$p \ |
| 193 | ; then \ |
| 194 | f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \ |
| 195 | echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/$$f"; \ |
| 196 | $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/$$f; \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 197 | else :; fi; \ |
| 198 | done |
| 199 | |
| 200 | uninstall-sbinPROGRAMS: |
| 201 | @$(NORMAL_UNINSTALL) |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 202 | @list='$(sbin_PROGRAMS)'; for p in $$list; do \ |
| 203 | f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ |
| 204 | echo " rm -f $(DESTDIR)$(sbindir)/$$f"; \ |
| 205 | rm -f $(DESTDIR)$(sbindir)/$$f; \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 206 | done |
| 207 | |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 208 | clean-sbinPROGRAMS: |
| 209 | -test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS) |
| 210 | zebra$(EXEEXT): $(zebra_OBJECTS) $(zebra_DEPENDENCIES) |
| 211 | @rm -f zebra$(EXEEXT) |
| 212 | $(LINK) $(zebra_LDFLAGS) $(zebra_OBJECTS) $(zebra_LDADD) $(LIBS) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 213 | |
| 214 | mostlyclean-compile: |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 215 | -rm -f *.$(OBJEXT) core *.core |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 216 | |
| 217 | distclean-compile: |
| 218 | -rm -f *.tab.c |
| 219 | |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 220 | @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/connected.Po@am__quote@ |
| 221 | @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/debug.Po@am__quote@ |
| 222 | @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/interface.Po@am__quote@ |
| 223 | @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/ioctl.Po@am__quote@ |
| 224 | @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/main.Po@am__quote@ |
| 225 | @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/redistribute.Po@am__quote@ |
| 226 | @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/rtadv.Po@am__quote@ |
| 227 | @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/zebra_rib.Po@am__quote@ |
| 228 | @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/zebra_snmp.Po@am__quote@ |
| 229 | @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/zebra_vty.Po@am__quote@ |
| 230 | @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/zserv.Po@am__quote@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 231 | |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 232 | distclean-depend: |
| 233 | -rm -rf $(DEPDIR) |
| 234 | |
| 235 | .c.o: |
| 236 | @AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
| 237 | @AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ |
| 238 | @AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
| 239 | $(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$< |
| 240 | |
| 241 | .c.obj: |
| 242 | @AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ |
| 243 | @AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ |
| 244 | @AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
| 245 | $(COMPILE) -c `cygpath -w $<` |
| 246 | CCDEPMODE = @CCDEPMODE@ |
| 247 | uninstall-info-am: |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 248 | |
| 249 | uninstall-sysconfDATA: |
| 250 | @$(NORMAL_UNINSTALL) |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 251 | @list='$(sysconf_DATA)'; for p in $$list; do \ |
| 252 | f="`echo $$p | sed -e 's|^.*/||'`"; \ |
| 253 | echo " rm -f $(DESTDIR)$(sysconfdir)/$$f"; \ |
| 254 | rm -f $(DESTDIR)$(sysconfdir)/$$f; \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 255 | done |
| 256 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 257 | tags: TAGS |
| 258 | |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 259 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) |
| 260 | list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \ |
| 261 | unique=`for i in $$list; do \ |
| 262 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
| 263 | done | \ |
| 264 | $(AWK) ' { files[$$0] = 1; } \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 265 | END { for (i in files) print i; }'`; \ |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 266 | mkid -fID $$unique $(LISP) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 267 | |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 268 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ |
| 269 | $(TAGS_FILES) $(LISP) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 270 | tags=; \ |
| 271 | here=`pwd`; \ |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 272 | list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \ |
| 273 | unique=`for i in $$list; do \ |
| 274 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
| 275 | done | \ |
| 276 | $(AWK) ' { files[$$0] = 1; } \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 277 | END { for (i in files) print i; }'`; \ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 278 | test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 279 | || etags $(ETAGS_ARGS) $$tags $$unique $(LISP) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 280 | |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 281 | GTAGS: |
| 282 | here=`CDPATH=: && cd $(top_builddir) && pwd` \ |
| 283 | && cd $(top_srcdir) \ |
| 284 | && gtags -i $(GTAGS_ARGS) $$here |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 285 | |
| 286 | distclean-tags: |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 287 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 288 | |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 289 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 290 | |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 291 | top_distdir = .. |
| 292 | distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 293 | |
| 294 | distdir: $(DISTFILES) |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 295 | @for file in $(DISTFILES); do \ |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 296 | if test -f $$file; then d=.; else d=$(srcdir); fi; \ |
| 297 | dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ |
| 298 | if test "$$dir" != "$$file" && test "$$dir" != "."; then \ |
| 299 | $(mkinstalldirs) "$(distdir)/$$dir"; \ |
| 300 | fi; \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 301 | if test -d $$d/$$file; then \ |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 302 | cp -pR $$d/$$file $(distdir) \ |
| 303 | || exit 1; \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 304 | else \ |
| 305 | test -f $(distdir)/$$file \ |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 306 | || cp -p $$d/$$file $(distdir)/$$file \ |
| 307 | || exit 1; \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 308 | fi; \ |
| 309 | done |
| 310 | check-am: all-am |
| 311 | check: check-am |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 312 | all-am: Makefile $(PROGRAMS) $(DATA) $(HEADERS) |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 313 | |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 314 | installdirs: |
| 315 | $(mkinstalldirs) $(DESTDIR)$(sbindir) $(DESTDIR)$(sysconfdir) |
| 316 | |
| 317 | install: install-am |
| 318 | install-exec: install-exec-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 319 | install-data: install-data-am |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 320 | uninstall: uninstall-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 321 | |
| 322 | install-am: all-am |
| 323 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 324 | |
| 325 | installcheck: installcheck-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 326 | install-strip: |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 327 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
| 328 | `test -z '$(STRIP)' || \ |
| 329 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 330 | mostlyclean-generic: |
| 331 | |
| 332 | clean-generic: |
| 333 | |
| 334 | distclean-generic: |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 335 | -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]* |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 336 | |
| 337 | maintainer-clean-generic: |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 338 | @echo "This command is intended for maintainers to use" |
| 339 | @echo "it deletes files that may require special tools to rebuild." |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 340 | clean: clean-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 341 | |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 342 | clean-am: clean-generic clean-sbinPROGRAMS mostlyclean-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 343 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 344 | distclean: distclean-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 345 | |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 346 | distclean-am: clean-am distclean-compile distclean-depend \ |
| 347 | distclean-generic distclean-tags |
| 348 | |
| 349 | dvi: dvi-am |
| 350 | |
| 351 | dvi-am: |
| 352 | |
| 353 | info: info-am |
| 354 | |
| 355 | info-am: |
| 356 | |
| 357 | install-data-am: |
| 358 | |
| 359 | install-exec-am: install-sbinPROGRAMS install-sysconfDATA |
| 360 | |
| 361 | install-info: install-info-am |
| 362 | |
| 363 | install-man: |
| 364 | |
| 365 | installcheck-am: |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 366 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame] | 367 | maintainer-clean: maintainer-clean-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 368 | |
paul | 6898008 | 2003-03-25 05:07:42 +0000 | [diff] [blame] | 369 | maintainer-clean-am: distclean-am maintainer-clean-generic |
| 370 | |
| 371 | mostlyclean: mostlyclean-am |
| 372 | |
| 373 | mostlyclean-am: mostlyclean-compile mostlyclean-generic |
| 374 | |
| 375 | uninstall-am: uninstall-info-am uninstall-sbinPROGRAMS \ |
| 376 | uninstall-sysconfDATA |
| 377 | |
| 378 | .PHONY: GTAGS all all-am check check-am clean clean-generic \ |
| 379 | clean-sbinPROGRAMS distclean distclean-compile distclean-depend \ |
| 380 | distclean-generic distclean-tags distdir dvi dvi-am info \ |
| 381 | info-am install install-am install-data install-data-am \ |
| 382 | install-exec install-exec-am install-info install-info-am \ |
| 383 | install-man install-sbinPROGRAMS install-strip \ |
| 384 | install-sysconfDATA installcheck installcheck-am installdirs \ |
| 385 | maintainer-clean maintainer-clean-generic mostlyclean \ |
| 386 | mostlyclean-compile mostlyclean-generic tags uninstall \ |
| 387 | uninstall-am uninstall-info-am uninstall-sbinPROGRAMS \ |
| 388 | uninstall-sysconfDATA |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 389 | |
| 390 | |
| 391 | #client : client_main.o ../lib/libzebra.a |
| 392 | # $(CC) -g -o client client_main.o ../lib/libzebra.a $(LIBS) $(LIB_IPV6) |
| 393 | |
| 394 | install-sysconfDATA: $(sysconf_DATA) |
| 395 | @$(NORMAL_INSTALL) |
| 396 | $(mkinstalldirs) $(DESTDIR)$(sysconfdir) |
| 397 | @list='$(sysconf_DATA)'; for p in $$list; do \ |
| 398 | if test -f $(srcdir)/$$p; then \ |
| 399 | echo " $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p"; \ |
| 400 | $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p; \ |
| 401 | else if test -f $$p; then \ |
| 402 | echo " $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdir)/$$p"; \ |
| 403 | $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdir)/$$p; \ |
| 404 | fi; fi; \ |
| 405 | done |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 406 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
| 407 | # Otherwise a system limit (for SysV at least) may be exceeded. |
| 408 | .NOEXPORT: |