diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-08-09 20:38:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-09 20:38:07 +0200 |
commit | fc73dd4bdf96cbab00e7d5de67ec56503c6d9783 (patch) | |
tree | 573180d0bff416bd056836667b6f09ded881890f /isisd | |
parent | Merge pull request #892 from opensourcerouting/watchfrr-simplify (diff) | |
parent | build: non-recursive babeld & eigrpd (diff) | |
download | frr-fc73dd4bdf96cbab00e7d5de67ec56503c6d9783.tar.xz frr-fc73dd4bdf96cbab00e7d5de67ec56503c6d9783.zip |
Merge pull request #911 from opensourcerouting/non-recursive-2
more non-recursive build, fix cross-compile, & doc build mangling
Diffstat (limited to 'isisd')
-rw-r--r-- | isisd/.gitignore | 2 | ||||
-rw-r--r-- | isisd/Makefile | 10 | ||||
-rw-r--r-- | isisd/Makefile.am | 39 | ||||
-rw-r--r-- | isisd/subdir.am | 71 |
4 files changed, 82 insertions, 40 deletions
diff --git a/isisd/.gitignore b/isisd/.gitignore index 5e8028c2a..a882bbf67 100644 --- a/isisd/.gitignore +++ b/isisd/.gitignore @@ -1,4 +1,4 @@ -Makefile +!Makefile Makefile.in *.o isisd diff --git a/isisd/Makefile b/isisd/Makefile new file mode 100644 index 000000000..db3b70eea --- /dev/null +++ b/isisd/Makefile @@ -0,0 +1,10 @@ +all: ALWAYS + @$(MAKE) -s -C .. isisd/isisd +%: ALWAYS + @$(MAKE) -s -C .. isisd/$@ + +Makefile: + #nothing +ALWAYS: +.PHONY: ALWAYS makefiles +.SUFFIXES: diff --git a/isisd/Makefile.am b/isisd/Makefile.am deleted file mode 100644 index dc3d3683a..000000000 --- a/isisd/Makefile.am +++ /dev/null @@ -1,39 +0,0 @@ -## Process this file with automake to produce Makefile.in. - -AM_CPPFLAGS = -I.. -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_builddir)/lib -DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" -INSTALL_SDATA=@INSTALL@ -m 600 -LIBS = @LIBS@ - -AM_CFLAGS = $(WERROR) - -noinst_LIBRARIES = libisis.a -sbin_PROGRAMS = isisd - -libisis_a_SOURCES = \ - isis_memory.c \ - isis_adjacency.c isis_lsp.c dict.c isis_circuit.c isis_pdu.c \ - isisd.c isis_misc.c isis_zebra.c isis_dr.c \ - isis_flags.c isis_dynhn.c iso_checksum.c isis_csm.c isis_events.c \ - isis_spf.c isis_redist.c isis_route.c isis_routemap.c isis_te.c \ - isis_vty.c isis_mt.c \ - isis_tlvs.c - - -noinst_HEADERS = \ - isis_memory.h \ - isisd.h isis_pdu.h isis_adjacency.h isis_constants.h \ - isis_lsp.h dict.h isis_circuit.h isis_misc.h isis_network.h \ - isis_zebra.h isis_dr.h isis_flags.h isis_dynhn.h isis_common.h \ - iso_checksum.h isis_csm.h isis_events.h isis_spf.h isis_redist.h \ - isis_route.h isis_routemap.h isis_te.h isis_mt.h \ - isis_tlvs.h - -isisd_SOURCES = \ - isis_main.c $(libisis_a_SOURCES) \ - isis_bpf.c isis_dlpi.c isis_pfpacket.c - -isisd_LDADD = ../lib/libfrr.la @LIBCAP@ - -examplesdir = $(exampledir) -dist_examples_DATA = isisd.conf.sample diff --git a/isisd/subdir.am b/isisd/subdir.am new file mode 100644 index 000000000..6e49d4ec8 --- /dev/null +++ b/isisd/subdir.am @@ -0,0 +1,71 @@ +# +# isisd +# + +if ISISD +noinst_LIBRARIES += isisd/libisis.a +sbin_PROGRAMS += isisd/isisd +dist_examples_DATA += isisd/isisd.conf.sample +endif + +isisd_libisis_a_SOURCES = \ + isisd/dict.c \ + isisd/isis_adjacency.c \ + isisd/isis_circuit.c \ + isisd/isis_csm.c \ + isisd/isis_dr.c \ + isisd/isis_dynhn.c \ + isisd/isis_events.c \ + isisd/isis_flags.c \ + isisd/isis_lsp.c \ + isisd/isis_memory.c \ + isisd/isis_misc.c \ + isisd/isis_mt.c \ + isisd/isis_pdu.c \ + isisd/isis_redist.c \ + isisd/isis_route.c \ + isisd/isis_routemap.c \ + isisd/isis_spf.c \ + isisd/isis_te.c \ + isisd/isis_tlvs.c \ + isisd/isis_vty.c \ + isisd/isis_zebra.c \ + isisd/isisd.c \ + isisd/iso_checksum.c \ + # end + +noinst_HEADERS += \ + isisd/dict.h \ + isisd/isis_adjacency.h \ + isisd/isis_circuit.h \ + isisd/isis_common.h \ + isisd/isis_constants.h \ + isisd/isis_csm.h \ + isisd/isis_dr.h \ + isisd/isis_dynhn.h \ + isisd/isis_events.h \ + isisd/isis_flags.h \ + isisd/isis_lsp.h \ + isisd/isis_memory.h \ + isisd/isis_misc.h \ + isisd/isis_mt.h \ + isisd/isis_network.h \ + isisd/isis_pdu.h \ + isisd/isis_redist.h \ + isisd/isis_route.h \ + isisd/isis_routemap.h \ + isisd/isis_spf.h \ + isisd/isis_te.h \ + isisd/isis_tlvs.h \ + isisd/isis_zebra.h \ + isisd/isisd.h \ + isisd/iso_checksum.h \ + # end + +isisd_isisd_LDADD = isisd/libisis.a lib/libfrr.la @LIBCAP@ +isisd_isisd_SOURCES = \ + isisd/isis_bpf.c \ + isisd/isis_dlpi.c \ + isisd/isis_main.c \ + isisd/isis_pfpacket.c \ + # end |