summaryrefslogtreecommitdiffstats
path: root/ldpd/Makefile.am
blob: de9b07ed4c7d485e74e5599c40bb44f256bc1f49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
## Process this file with automake to produce Makefile.in.

include ../common.am

AM_CPPFLAGS = -I.. -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_builddir)/lib
DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\"
INSTALL_SDATA=@INSTALL@ -m 600

AM_CFLAGS = $(WERROR)

noinst_LIBRARIES = libldp.a
sbin_PROGRAMS = ldpd

libldp_a_SOURCES = \
	accept.c address.c adjacency.c control.c hello.c init.c interface.c \
	keepalive.c l2vpn.c labelmapping.c lde.c lde_lib.c ldpd.c \
	ldpe.c log.c logmsg.c neighbor.c notification.c packet.c pfkey.c \
	socket.c util.c ldp_vty_cmds.c ldp_vty_conf.c ldp_vty_exec.c \
	ldp_debug.c ldp_zebra.c

ldp_vty_cmds.o: ldp_vty_cmds_clippy.c

noinst_HEADERS = \
	control.h lde.h ldpd.h ldpe.h ldp.h log.h ldp_debug.h ldp_vty.h

ldpd_SOURCES = ldpd.c
ldpd_LDADD = libldp.a ../lib/libfrr.la @LIBCAP@

examplesdir = $(exampledir)
dist_examples_DATA = ldpd.conf.sample