1 sbin_PROGRAMS = lldpd lldpctl
2 noinst_LTLIBRARIES = liblldpd.la libcommon.la
4 ## Shared by all executables
5 libcommon_la_SOURCES = log.c ctl.c marshal.c marshal.h lldpd.h lldp.h cdp.h compat.h sonmp.h edp.h
6 libcommon_la_LIBADD = @LTLIBOBJS@
8 ## Used for lldpd and tests
9 liblldpd_la_SOURCES = frame.h frame.c lldpd.c lldp.c cdp.c sonmp.c edp.c \
10 interfaces.c client.c priv.c privsep_fdpass.c dmi.c ctl-server.c
11 liblldpd_la_LIBADD = libcommon.la
14 lldpd_SOURCES = main.c
15 lldpd_LDADD = liblldpd.la
18 lldpctl_SOURCES = lldpctl.h lldpctl.c display.c writer.h text_writer.c kv_writer.c
19 lldpctl_LDADD = libcommon.la
23 liblldpd_la_SOURCES += agent.c agent_priv.c agent.h
24 liblldpd_la_CFLAGS = @NETSNMP_CFLAGS@
25 lldpd_LDADD += @NETSNMP_LIBS@
29 lldpctl_SOURCES += xml_writer.c
30 lldpctl_CFLAGS = @XML2_CFLAGS@
31 lldpctl_LDADD += @XML2_LIBS@