blob: b9a0c7cb44f3e0eddef9678f1c85c93398f732e1 [file] [log] [blame]
jardineb5d44e2003-12-23 08:09:43 +00001## Process this file with automake to produce Makefile.in.
2
3# INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib -Itopology
4INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib
5DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\"
6INSTALL_SDATA=@INSTALL@ -m 600
7LIBS = @LIBS@
8noinst_LIBRARIES = libisis.a
9sbin_PROGRAMS = isisd
10
11libisis_a_SOURCES = \
12 isis_adjacency.c isis_lsp.c dict.c isis_circuit.c isis_pdu.c \
13 isis_tlv.c isisd.c isis_misc.c isis_network.c isis_zebra.c isis_dr.c \
14 isis_flags.c isis_dynhn.c iso_checksum.c isis_csm.c isis_events.c \
15 isis_spf.c isis_route.c isis_routemap.c
16
17
18noinst_HEADERS = \
19 isisd.h isis_pdu.h isis_tlv.h isis_adjacency.h isis_constants.h \
20 isis_lsp.h dict.h isis_circuit.h isis_misc.h isis_network.h \
21 isis_zebra.h isis_dr.h isis_flags.h isis_dynhn.h isis_common.h \
22 iso_checksum.h isis_csm.h isis_events.h isis_spf.h isis_route.h
23
24isisd_SOURCES = \
25 isis_main.c $(libisis_a_SOURCES)
26
27isisd_LDADD = ../lib/libzebra.a
28
29sysconf_DATA = isisd.conf.sample
30
31EXTRA_DIST = $(sysconf_DATA)
32
33install-sysconfDATA: $(sysconf_DATA)
34 @$(NORMAL_INSTALL)
35 $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
36 @list='$(sysconf_DATA)'; for p in $$list; do \
37 if test -f $(srcdir)/$$p; then \
38 echo " $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p"; \
39 $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p; \
40 else if test -f $$p; then \
41 echo " $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdir)/$$p"; \
42 $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdir)/$$p; \
43 fi; fi; \
44 done
45
46depend:
47 @$(CPP) -MM $(INCLUDES) $(LDFLAGS) *.c
48
49## File dependency.
50isis_adjacency.o : isis_adjacency.c ../lib/version.h ../lib/log.h \
51 ../isisd/isis_adjacency.h
52isis_pdu.o : isis_pdu.c ../lib/log.h ../isisd/isisd.h \
53 ../isisd/isis_constants.h ../isisd/isis_adjacency.h \
54 ../isisd/isis_pdu.h
55isis_circuit.o : isis_circuit.c ../isisd/isis_circuit.h