Makefile.am 2.63 KB
Newer Older
1
SUBDIRS = . pretests tests
2 3 4 5 6 7

AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_builddir)/src/lib
AM_CPPFLAGS += $(BOOST_INCLUDES) $(SYSREPO_CPPFLAGS)
AM_CXXFLAGS = $(KEA_CXXFLAGS)

lib_LTLIBRARIES = libkea-yang.la
8 9
libkea_yang_la_SOURCES  = adaptor.cc adaptor.h
libkea_yang_la_SOURCES += sysrepo_error.h
10
libkea_yang_la_SOURCES += translator.cc translator.h
11 12
libkea_yang_la_SOURCES += translator_control_socket.cc
libkea_yang_la_SOURCES += translator_control_socket.h
13
libkea_yang_la_SOURCES += translator_database.cc translator_database.h
14
libkea_yang_la_SOURCES += translator_logger.cc translator_logger.h
15 16
libkea_yang_la_SOURCES += translator_option_data.cc
libkea_yang_la_SOURCES += translator_option_data.h
17 18
libkea_yang_la_SOURCES += translator_option_def.cc
libkea_yang_la_SOURCES += translator_option_def.h
19
libkea_yang_la_SOURCES += translator_pool.cc translator_pool.h
20
libkea_yang_la_SOURCES += translator_pd_pool.cc translator_pd_pool.h
21
libkea_yang_la_SOURCES += translator_host.cc translator_host.h
22
libkea_yang_la_SOURCES += yang_models.h
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37


libkea_yang_la_LIBADD =  $(top_builddir)/src/lib/asiolink/libkea-asiolink.la
libkea_yang_la_LIBADD += $(top_builddir)/src/lib/cc/libkea-cc.la
libkea_yang_la_LIBADD += $(top_builddir)/src/lib/log/libkea-log.la
libkea_yang_la_LIBADD += $(top_builddir)/src/lib/util/threads/libkea-threads.la
libkea_yang_la_LIBADD += $(top_builddir)/src/lib/util/libkea-util.la
libkea_yang_la_LIBADD += $(top_builddir)/src/lib/exceptions/libkea-exceptions.la
libkea_yang_la_LIBADD += $(LOG4CPLUS_LIBS) $(BOOST_LIBS) $(SYSREPO_LIBS)

libkea_yang_la_LDFLAGS = -no-undefined -version-info 0:0:0

# Specify the headers for copying into the installation directory tree.
libkea_yang_includedir = $(pkgincludedir)/yang
libkea_yang_include_HEADERS = \
38
	adaptor.h \
39
	sysrepo_error.h \
40
	translator.h \
41
	translator_control_socket.h \
42
	translator_database.h \
43
	translator_host.h \
44
	translator_logger.h \
45
	translator_option_data.h \
46
	translator_option_def.h \
47
	translator_pool.h \
48
	translator_pd_pool.h \
49
	yang_models.h
50 51

EXTRA_DIST = yang.dox
52 53 54 55 56 57
# Distribute yang models.
EXTRA_DIST += models/ietf-dhcpv6-client.yang
EXTRA_DIST += models/ietf-dhcpv6-options.yang
EXTRA_DIST += models/ietf-dhcpv6-relay.yang
EXTRA_DIST += models/ietf-dhcpv6-server.yang
EXTRA_DIST += models/ietf-dhcpv6-types.yang
58 59
EXTRA_DIST += models/ietf-inet-types.yang
EXTRA_DIST += models/ietf-yang-types.yang
60 61 62 63 64 65 66
EXTRA_DIST += models/kea-ctrl-agent.yang
EXTRA_DIST += models/kea-dhcp-ddns.yang
EXTRA_DIST += models/kea-dhcp-types.yang
EXTRA_DIST += models/kea-dhcp4-server.yang
EXTRA_DIST += models/kea-dhcp6-server.yang
EXTRA_DIST += models/kea-logging.yang
EXTRA_DIST += models/kea-types.yang
67 68

CLEANFILES = *.gcno *.gcda