Amir Guindehi <amir@datacore.ch>

--------------------------------
I've attached a small patch for zebra-pj, which adds the installation of
libospf.a libzebra.a, libospfapi.a and the needed headers for ospfapi
clients. the headers get installed to /usr/include/ospfd/* and
/usr/include/ospfapi.
This commit is contained in:
paul 2003-03-17 23:54:15 +00:00
parent 7ea487bcd2
commit 1b5d019a11
3 changed files with 15 additions and 9 deletions

View File

@ -3,7 +3,7 @@
INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib
DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\"
noinst_LIBRARIES = libzebra.a
lib_LIBRARIES = libzebra.a
libzebra_a_SOURCES = \
version.c network.c pid_output.c getopt.c getopt1.c daemon.c \

View File

@ -2,13 +2,15 @@
INCLUDES = -I../lib -I../
noinst_LIBRARIES = libospfapiclient.a
lib_LIBRARIES = libospfapiclient.a
sbin_PROGRAMS = ospfclient
libospfapiclient_a_SOURCES = \
ospf_apiclient.c
noinst_HEADERS = \
ospfapiheaderdir = $(includedir)/ospfapi
ospfapiheader_HEADERS = \
ospf_apiclient.h
ospfclient_SOURCES = \

View File

@ -5,7 +5,7 @@ LOCAL_OPTS =-DSUPPORT_OSPF_API
DEFS = @DEFS@ $(LOCAL_OPTS) -DSYSCONFDIR=\"$(sysconfdir)/\"
INSTALL_SDATA=@INSTALL@ -m 600
noinst_LIBRARIES = libospf.a
lib_LIBRARIES = libospf.a
sbin_PROGRAMS = ospfd
libospf_a_SOURCES = \
@ -15,12 +15,16 @@ libospf_a_SOURCES = \
ospf_lsdb.c ospf_asbr.c ospf_routemap.c ospf_snmp.c \
ospf_opaque.c ospf_te.c ospf_vty.c ospf_api.c ospf_apiserver.c
ospfdheaderdir = $(includedir)/ospfd
ospfdheader_HEADERS = \
ospf_api.h ospf_asbr.h ospf_dump.h ospf_lsa.h ospf_lsdb.h \
ospf_nsm.h ospf_ism.h ospf_opaque.h ospfd.h
noinst_HEADERS = \
ospf_dump.h ospf_interface.h ospf_ism.h ospf_neighbor.h \
ospf_network.h ospf_nsm.h ospf_packet.h ospf_zebra.h ospfd.h \
ospf_lsa.h ospf_spf.h ospf_route.h ospf_ase.h ospf_abr.h ospf_ia.h \
ospf_flood.h ospf_lsdb.h ospf_asbr.h ospf_snmp.h ospf_opaque.h \
ospf_te.h ospf_vty.h ospf_api.h ospf_apiserver.h
ospf_interface.h ospf_neighbor.h ospf_network.h ospf_packet.h \
ospf_zebra.h ospf_spf.h ospf_route.h ospf_ase.h ospf_abr.h ospf_ia.h \
ospf_flood.h ospf_snmp.h ospf_te.h ospf_vty.h ospf_apiserver.h
ospfd_SOURCES = \
ospf_main.c $(libospf_a_SOURCES)