Makefile.am 2.78 KB
Newer Older
1
SUBDIRS = . testutils 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
libkea_yang_la_SOURCES  = adaptor.cc adaptor.h
9 10 11 12
libkea_yang_la_SOURCES += adaptor_host.cc adaptor_host.h
libkea_yang_la_SOURCES += adaptor_pool.cc adaptor_pool.h
libkea_yang_la_SOURCES += adaptor_option.cc adaptor_option.h
libkea_yang_la_SOURCES += adaptor_subnet.cc adaptor_subnet.h
13
libkea_yang_la_SOURCES += adaptor_config.cc adaptor_config.h
14
libkea_yang_la_SOURCES += sysrepo_error.h
15
libkea_yang_la_SOURCES += translator.cc translator.h
16 17
libkea_yang_la_SOURCES += translator_control_socket.cc
libkea_yang_la_SOURCES += translator_control_socket.h
18
libkea_yang_la_SOURCES += translator_database.cc translator_database.h
19
libkea_yang_la_SOURCES += translator_logger.cc translator_logger.h
20 21
libkea_yang_la_SOURCES += translator_option_data.cc
libkea_yang_la_SOURCES += translator_option_data.h
22 23
libkea_yang_la_SOURCES += translator_option_def.cc
libkea_yang_la_SOURCES += translator_option_def.h
24
libkea_yang_la_SOURCES += translator_class.cc translator_class.h
25
libkea_yang_la_SOURCES += translator_pool.cc translator_pool.h
26
libkea_yang_la_SOURCES += translator_pd_pool.cc translator_pd_pool.h
27
libkea_yang_la_SOURCES += translator_host.cc translator_host.h
28
libkea_yang_la_SOURCES += translator_subnet.cc translator_subnet.h
29 30
libkea_yang_la_SOURCES += translator_shared_network.cc
libkea_yang_la_SOURCES += translator_shared_network.h
31
libkea_yang_la_SOURCES += translator_config.cc translator_config.h
32
libkea_yang_la_SOURCES += yang_models.h yang_revisions.h
33 34 35 36 37 38 39 40

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/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)

41
libkea_yang_la_LDFLAGS = -no-undefined -version-info 2:0:0
42 43 44 45

# Specify the headers for copying into the installation directory tree.
libkea_yang_includedir = $(pkgincludedir)/yang
libkea_yang_include_HEADERS = \
46
	adaptor.h \
47
	adaptor_config.h \
48 49 50 51
	adaptor_host.h \
	adaptor_option.h \
	adaptor_pool.h \
	adaptor_subnet.h \
52
	sysrepo_error.h \
53
	translator.h \
54
	translator_class.h \
55
	translator_config.h \
56
	translator_control_socket.h \
57
	translator_database.h \
58
	translator_host.h \
59
	translator_logger.h \
60
	translator_option_data.h \
61
	translator_option_def.h \
62
	translator_pd_pool.h \
63
	translator_pool.h \
64
	translator_shared_network.h \
65
	translator_subnet.h \
66 67
	yang_models.h \
	yang_revisions.h
68 69 70 71

EXTRA_DIST = yang.dox

CLEANFILES = *.gcno *.gcda