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 | |
| 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 | 1bb066b | 2003-03-17 01:18:55 +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 |
| 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 | 1bb066b | 2003-03-17 01:18:55 +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) |
| 50 | INSTALL_DATA = @INSTALL_DATA@ |
| 51 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
| 52 | transform = @program_transform_name@ |
| 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 | 1bb066b | 2003-03-17 01:18:55 +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@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 69 | IPFORWARD = @IPFORWARD@ |
| 70 | KERNEL_METHOD = @KERNEL_METHOD@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 71 | LIBPAM = @LIBPAM@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 72 | LIB_IPV6 = @LIB_IPV6@ |
| 73 | LIB_REGEX = @LIB_REGEX@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 74 | MAKEINFO = @MAKEINFO@ |
| 75 | MULTIPATH_NUM = @MULTIPATH_NUM@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 76 | OSPF6D = @OSPF6D@ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 77 | OSPFCLIENT = @OSPFCLIENT@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 78 | OSPFD = @OSPFD@ |
| 79 | OTHER_METHOD = @OTHER_METHOD@ |
| 80 | PACKAGE = @PACKAGE@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 81 | RANLIB = @RANLIB@ |
| 82 | RIPD = @RIPD@ |
| 83 | RIPNGD = @RIPNGD@ |
| 84 | RTREAD_METHOD = @RTREAD_METHOD@ |
| 85 | RT_METHOD = @RT_METHOD@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 86 | VERSION = @VERSION@ |
| 87 | VTYSH = @VTYSH@ |
| 88 | ZEBRA = @ZEBRA@ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 89 | |
| 90 | INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib |
| 91 | LOCAL_OPTS = -DSUPPORT_OSPF_API |
| 92 | DEFS = @DEFS@ $(LOCAL_OPTS) -DSYSCONFDIR=\"$(sysconfdir)/\" |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 93 | INSTALL_SDATA = @INSTALL@ -m 600 |
| 94 | |
| 95 | noinst_LIBRARIES = libospf.a |
| 96 | sbin_PROGRAMS = ospfd |
| 97 | |
| 98 | libospf_a_SOURCES = \ |
| 99 | ospfd.c ospf_zebra.c ospf_interface.c ospf_ism.c ospf_neighbor.c \ |
| 100 | ospf_nsm.c ospf_dump.c ospf_network.c ospf_packet.c ospf_lsa.c \ |
| 101 | ospf_spf.c ospf_route.c ospf_ase.c ospf_abr.c ospf_ia.c ospf_flood.c \ |
| 102 | ospf_lsdb.c ospf_asbr.c ospf_routemap.c ospf_snmp.c \ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 103 | ospf_opaque.c ospf_te.c ospf_vty.c ospf_api.c ospf_apiserver.c |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 104 | |
| 105 | |
| 106 | noinst_HEADERS = \ |
| 107 | ospf_dump.h ospf_interface.h ospf_ism.h ospf_neighbor.h \ |
| 108 | ospf_network.h ospf_nsm.h ospf_packet.h ospf_zebra.h ospfd.h \ |
| 109 | ospf_lsa.h ospf_spf.h ospf_route.h ospf_ase.h ospf_abr.h ospf_ia.h \ |
| 110 | ospf_flood.h ospf_lsdb.h ospf_asbr.h ospf_snmp.h ospf_opaque.h \ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 111 | ospf_te.h ospf_vty.h ospf_api.h ospf_apiserver.h |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 112 | |
| 113 | |
| 114 | ospfd_SOURCES = \ |
| 115 | ospf_main.c $(libospf_a_SOURCES) |
| 116 | |
| 117 | |
| 118 | ospfd_LDADD = ../lib/libzebra.a |
| 119 | |
| 120 | sysconf_DATA = ospfd.conf.sample |
| 121 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 122 | EXTRA_DIST = $(sysconf_DATA) OSPF-MIB.txt OSPF-TRAP-MIB.txt ChangeLog.opaque.txt |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 123 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 124 | CONFIG_HEADER = ../config.h |
| 125 | CONFIG_CLEAN_FILES = |
| 126 | LIBRARIES = $(noinst_LIBRARIES) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 127 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 128 | CPPFLAGS = @CPPFLAGS@ |
| 129 | LDFLAGS = @LDFLAGS@ |
| 130 | LIBS = @LIBS@ |
| 131 | libospf_a_LIBADD = |
| 132 | libospf_a_OBJECTS = ospfd.o ospf_zebra.o ospf_interface.o ospf_ism.o \ |
| 133 | ospf_neighbor.o ospf_nsm.o ospf_dump.o ospf_network.o ospf_packet.o \ |
| 134 | ospf_lsa.o ospf_spf.o ospf_route.o ospf_ase.o ospf_abr.o ospf_ia.o \ |
| 135 | ospf_flood.o ospf_lsdb.o ospf_asbr.o ospf_routemap.o ospf_snmp.o \ |
| 136 | ospf_opaque.o ospf_te.o ospf_vty.o ospf_api.o ospf_apiserver.o |
| 137 | PROGRAMS = $(sbin_PROGRAMS) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 138 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 139 | ospfd_OBJECTS = ospf_main.o ospfd.o ospf_zebra.o ospf_interface.o \ |
| 140 | ospf_ism.o ospf_neighbor.o ospf_nsm.o ospf_dump.o ospf_network.o \ |
| 141 | ospf_packet.o ospf_lsa.o ospf_spf.o ospf_route.o ospf_ase.o ospf_abr.o \ |
| 142 | ospf_ia.o ospf_flood.o ospf_lsdb.o ospf_asbr.o ospf_routemap.o \ |
| 143 | ospf_snmp.o ospf_opaque.o ospf_te.o ospf_vty.o ospf_api.o \ |
| 144 | ospf_apiserver.o |
| 145 | ospfd_DEPENDENCIES = ../lib/libzebra.a |
| 146 | ospfd_LDFLAGS = |
| 147 | CFLAGS = @CFLAGS@ |
| 148 | COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 149 | CCLD = $(CC) |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 150 | LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ |
| 151 | DATA = $(sysconf_DATA) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 152 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 153 | HEADERS = $(noinst_HEADERS) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 154 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 155 | DIST_COMMON = ChangeLog Makefile.am Makefile.in |
| 156 | |
| 157 | |
| 158 | DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) |
| 159 | |
| 160 | TAR = gtar |
| 161 | GZIP_ENV = --best |
| 162 | DEP_FILES = .deps/ospf_abr.P .deps/ospf_api.P .deps/ospf_apiserver.P \ |
| 163 | .deps/ospf_asbr.P .deps/ospf_ase.P .deps/ospf_dump.P .deps/ospf_flood.P \ |
| 164 | .deps/ospf_ia.P .deps/ospf_interface.P .deps/ospf_ism.P \ |
| 165 | .deps/ospf_lsa.P .deps/ospf_lsdb.P .deps/ospf_main.P \ |
| 166 | .deps/ospf_neighbor.P .deps/ospf_network.P .deps/ospf_nsm.P \ |
| 167 | .deps/ospf_opaque.P .deps/ospf_packet.P .deps/ospf_route.P \ |
| 168 | .deps/ospf_routemap.P .deps/ospf_snmp.P .deps/ospf_spf.P \ |
| 169 | .deps/ospf_te.P .deps/ospf_vty.P .deps/ospf_zebra.P .deps/ospfd.P |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 170 | SOURCES = $(libospf_a_SOURCES) $(ospfd_SOURCES) |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 171 | OBJECTS = $(libospf_a_OBJECTS) $(ospfd_OBJECTS) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 172 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 173 | all: all-redirect |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 174 | .SUFFIXES: |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 175 | .SUFFIXES: .S .c .o .s |
| 176 | $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) |
| 177 | cd $(top_srcdir) && $(AUTOMAKE) --foreign ospfd/Makefile |
| 178 | |
| 179 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) |
| 180 | cd $(top_builddir) \ |
| 181 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |
| 182 | |
| 183 | |
| 184 | mostlyclean-noinstLIBRARIES: |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 185 | |
| 186 | clean-noinstLIBRARIES: |
| 187 | -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 188 | |
| 189 | distclean-noinstLIBRARIES: |
| 190 | |
| 191 | maintainer-clean-noinstLIBRARIES: |
| 192 | |
| 193 | .s.o: |
| 194 | $(COMPILE) -c $< |
| 195 | |
| 196 | .S.o: |
| 197 | $(COMPILE) -c $< |
| 198 | |
| 199 | mostlyclean-compile: |
| 200 | -rm -f *.o core *.core |
| 201 | |
| 202 | clean-compile: |
| 203 | |
| 204 | distclean-compile: |
| 205 | -rm -f *.tab.c |
| 206 | |
| 207 | maintainer-clean-compile: |
| 208 | |
| 209 | libospf.a: $(libospf_a_OBJECTS) $(libospf_a_DEPENDENCIES) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 210 | -rm -f libospf.a |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 211 | $(AR) cru libospf.a $(libospf_a_OBJECTS) $(libospf_a_LIBADD) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 212 | $(RANLIB) libospf.a |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 213 | |
| 214 | mostlyclean-sbinPROGRAMS: |
| 215 | |
| 216 | clean-sbinPROGRAMS: |
| 217 | -test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS) |
| 218 | |
| 219 | distclean-sbinPROGRAMS: |
| 220 | |
| 221 | maintainer-clean-sbinPROGRAMS: |
| 222 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 223 | install-sbinPROGRAMS: $(sbin_PROGRAMS) |
| 224 | @$(NORMAL_INSTALL) |
| 225 | $(mkinstalldirs) $(DESTDIR)$(sbindir) |
| 226 | @list='$(sbin_PROGRAMS)'; for p in $$list; do \ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 227 | if test -f $$p; then \ |
| 228 | echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ |
| 229 | $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 230 | else :; fi; \ |
| 231 | done |
| 232 | |
| 233 | uninstall-sbinPROGRAMS: |
| 234 | @$(NORMAL_UNINSTALL) |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 235 | list='$(sbin_PROGRAMS)'; for p in $$list; do \ |
| 236 | rm -f $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 237 | done |
| 238 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 239 | ospfd: $(ospfd_OBJECTS) $(ospfd_DEPENDENCIES) |
| 240 | @rm -f ospfd |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 241 | $(LINK) $(ospfd_LDFLAGS) $(ospfd_OBJECTS) $(ospfd_LDADD) $(LIBS) |
| 242 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 243 | uninstall-sysconfDATA: |
| 244 | @$(NORMAL_UNINSTALL) |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 245 | list='$(sysconf_DATA)'; for p in $$list; do \ |
| 246 | rm -f $(DESTDIR)$(sysconfdir)/$$p; \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 247 | done |
| 248 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 249 | tags: TAGS |
| 250 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 251 | ID: $(HEADERS) $(SOURCES) $(LISP) |
| 252 | list='$(SOURCES) $(HEADERS)'; \ |
| 253 | unique=`for i in $$list; do echo $$i; done | \ |
| 254 | awk ' { files[$$0] = 1; } \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 255 | END { for (i in files) print i; }'`; \ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 256 | here=`pwd` && cd $(srcdir) \ |
| 257 | && mkid -f$$here/ID $$unique $(LISP) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 258 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 259 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 260 | tags=; \ |
| 261 | here=`pwd`; \ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 262 | list='$(SOURCES) $(HEADERS)'; \ |
| 263 | unique=`for i in $$list; do echo $$i; 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 | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 266 | test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ |
| 267 | || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 268 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 269 | mostlyclean-tags: |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 270 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 271 | clean-tags: |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 272 | |
| 273 | distclean-tags: |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 274 | -rm -f TAGS ID |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 275 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 276 | maintainer-clean-tags: |
| 277 | |
| 278 | distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) |
| 279 | |
| 280 | subdir = ospfd |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 281 | |
| 282 | distdir: $(DISTFILES) |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 283 | here=`cd $(top_builddir) && pwd`; \ |
| 284 | top_distdir=`cd $(top_distdir) && pwd`; \ |
| 285 | distdir=`cd $(distdir) && pwd`; \ |
| 286 | cd $(top_srcdir) \ |
| 287 | && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign ospfd/Makefile |
| 288 | @for file in $(DISTFILES); do \ |
| 289 | d=$(srcdir); \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 290 | if test -d $$d/$$file; then \ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 291 | cp -pr $$d/$$file $(distdir)/$$file; \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 292 | else \ |
| 293 | test -f $(distdir)/$$file \ |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 294 | || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ |
| 295 | || cp -p $$d/$$file $(distdir)/$$file || :; \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 296 | fi; \ |
| 297 | done |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 298 | |
| 299 | DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) |
| 300 | |
| 301 | -include $(DEP_FILES) |
| 302 | |
| 303 | mostlyclean-depend: |
| 304 | |
| 305 | clean-depend: |
| 306 | |
| 307 | distclean-depend: |
| 308 | -rm -rf .deps |
| 309 | |
| 310 | maintainer-clean-depend: |
| 311 | |
| 312 | %.o: %.c |
| 313 | @echo '$(COMPILE) -c $<'; \ |
| 314 | $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< |
| 315 | @-cp .deps/$(*F).pp .deps/$(*F).P; \ |
| 316 | tr ' ' '\012' < .deps/$(*F).pp \ |
| 317 | | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ |
| 318 | >> .deps/$(*F).P; \ |
| 319 | rm .deps/$(*F).pp |
| 320 | |
| 321 | %.lo: %.c |
| 322 | @echo '$(LTCOMPILE) -c $<'; \ |
| 323 | $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< |
| 324 | @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ |
| 325 | < .deps/$(*F).pp > .deps/$(*F).P; \ |
| 326 | tr ' ' '\012' < .deps/$(*F).pp \ |
| 327 | | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ |
| 328 | >> .deps/$(*F).P; \ |
| 329 | rm -f .deps/$(*F).pp |
| 330 | info-am: |
| 331 | info: info-am |
| 332 | dvi-am: |
| 333 | dvi: dvi-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 334 | check-am: all-am |
| 335 | check: check-am |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 336 | installcheck-am: |
| 337 | installcheck: installcheck-am |
| 338 | install-exec-am: install-sbinPROGRAMS install-sysconfDATA |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 339 | install-exec: install-exec-am |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 340 | |
| 341 | install-data-am: |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 342 | install-data: install-data-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 343 | |
| 344 | install-am: all-am |
| 345 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 346 | install: install-am |
| 347 | uninstall-am: uninstall-sbinPROGRAMS uninstall-sysconfDATA |
| 348 | uninstall: uninstall-am |
| 349 | all-am: Makefile $(LIBRARIES) $(PROGRAMS) $(DATA) $(HEADERS) |
| 350 | all-redirect: all-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 351 | install-strip: |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 352 | $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install |
| 353 | installdirs: |
| 354 | $(mkinstalldirs) $(DESTDIR)$(sbindir) $(DESTDIR)$(sysconfdir) |
| 355 | |
| 356 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 357 | mostlyclean-generic: |
| 358 | |
| 359 | clean-generic: |
| 360 | |
| 361 | distclean-generic: |
| 362 | -rm -f Makefile $(CONFIG_CLEAN_FILES) |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 363 | -rm -f config.cache config.log stamp-h stamp-h[0-9]* |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 364 | |
| 365 | maintainer-clean-generic: |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 366 | mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \ |
| 367 | mostlyclean-sbinPROGRAMS mostlyclean-tags \ |
| 368 | mostlyclean-depend mostlyclean-generic |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 369 | |
| 370 | mostlyclean: mostlyclean-am |
| 371 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 372 | clean-am: clean-noinstLIBRARIES clean-compile clean-sbinPROGRAMS \ |
| 373 | clean-tags clean-depend clean-generic mostlyclean-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 374 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 375 | clean: clean-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 376 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 377 | distclean-am: distclean-noinstLIBRARIES distclean-compile \ |
| 378 | distclean-sbinPROGRAMS distclean-tags distclean-depend \ |
| 379 | distclean-generic clean-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 380 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 381 | distclean: distclean-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 382 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 383 | maintainer-clean-am: maintainer-clean-noinstLIBRARIES \ |
| 384 | maintainer-clean-compile maintainer-clean-sbinPROGRAMS \ |
| 385 | maintainer-clean-tags maintainer-clean-depend \ |
| 386 | maintainer-clean-generic distclean-am |
| 387 | @echo "This command is intended for maintainers to use;" |
| 388 | @echo "it deletes files that may require special tools to rebuild." |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 389 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 390 | maintainer-clean: maintainer-clean-am |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 391 | |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 392 | .PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \ |
| 393 | clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \ |
| 394 | mostlyclean-compile distclean-compile clean-compile \ |
| 395 | maintainer-clean-compile mostlyclean-sbinPROGRAMS \ |
| 396 | distclean-sbinPROGRAMS clean-sbinPROGRAMS maintainer-clean-sbinPROGRAMS \ |
| 397 | uninstall-sbinPROGRAMS install-sbinPROGRAMS uninstall-sysconfDATA \ |
| 398 | install-sysconfDATA tags mostlyclean-tags distclean-tags clean-tags \ |
| 399 | maintainer-clean-tags distdir mostlyclean-depend distclean-depend \ |
| 400 | clean-depend maintainer-clean-depend info-am info dvi-am dvi check \ |
| 401 | check-am installcheck-am installcheck install-exec-am install-exec \ |
| 402 | install-data-am install-data install-am install uninstall-am uninstall \ |
| 403 | all-redirect all-am all installdirs mostlyclean-generic \ |
| 404 | distclean-generic clean-generic maintainer-clean-generic clean \ |
| 405 | mostlyclean distclean maintainer-clean |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 406 | |
| 407 | |
| 408 | install-sysconfDATA: $(sysconf_DATA) |
| 409 | @$(NORMAL_INSTALL) |
| 410 | $(mkinstalldirs) $(DESTDIR)$(sysconfdir) |
| 411 | @list='$(sysconf_DATA)'; for p in $$list; do \ |
| 412 | if test -f $(srcdir)/$$p; then \ |
| 413 | echo " $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p"; \ |
| 414 | $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p; \ |
| 415 | else if test -f $$p; then \ |
| 416 | echo " $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdir)/$$p"; \ |
| 417 | $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdir)/$$p; \ |
| 418 | fi; fi; \ |
| 419 | done |
paul | 1bb066b | 2003-03-17 01:18:55 +0000 | [diff] [blame^] | 420 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 421 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
| 422 | # Otherwise a system limit (for SysV at least) may be exceeded. |
| 423 | .NOEXPORT: |