Makefile.am 4.74 KB
Newer Older
1
2
3
4
SUBDIRS = . tests

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

7
8
CLEANFILES = *.gcno *.gcda

9
10
lib_LTLIBRARIES = libkea-dhcp++.la
libkea_dhcp___la_SOURCES  =
11
libkea_dhcp___la_SOURCES += classify.cc classify.h
12
libkea_dhcp___la_SOURCES += dhcp6.h dhcp4.h
13
libkea_dhcp___la_SOURCES += duid.cc duid.h
14
libkea_dhcp___la_SOURCES += duid_factory.cc duid_factory.h
15
libkea_dhcp___la_SOURCES += docsis3_option_defs.h
16
17
18
19
20
21
22
23
24
25
libkea_dhcp___la_SOURCES += hwaddr.cc hwaddr.h
libkea_dhcp___la_SOURCES += iface_mgr.cc iface_mgr.h
libkea_dhcp___la_SOURCES += iface_mgr_bsd.cc
libkea_dhcp___la_SOURCES += iface_mgr_error_handler.h
libkea_dhcp___la_SOURCES += iface_mgr_linux.cc
libkea_dhcp___la_SOURCES += iface_mgr_sun.cc
libkea_dhcp___la_SOURCES += libdhcp++.cc libdhcp++.h
libkea_dhcp___la_SOURCES += opaque_data_tuple.cc opaque_data_tuple.h
libkea_dhcp___la_SOURCES += option4_addrlst.cc option4_addrlst.h
libkea_dhcp___la_SOURCES += option4_client_fqdn.cc option4_client_fqdn.h
26
27
libkea_dhcp___la_SOURCES += option6_addrlst.cc option6_addrlst.h
libkea_dhcp___la_SOURCES += option6_client_fqdn.cc option6_client_fqdn.h
28
29
30
libkea_dhcp___la_SOURCES += option6_ia.cc option6_ia.h
libkea_dhcp___la_SOURCES += option6_iaaddr.cc option6_iaaddr.h
libkea_dhcp___la_SOURCES += option6_iaprefix.cc option6_iaprefix.h
31
libkea_dhcp___la_SOURCES += option6_pdexclude.cc option6_pdexclude.h
32
libkea_dhcp___la_SOURCES += option6_status_code.cc option6_status_code.h
33
34
35
36
libkea_dhcp___la_SOURCES += option.cc option.h
libkea_dhcp___la_SOURCES += option_custom.cc option_custom.h
libkea_dhcp___la_SOURCES += option_data_types.cc option_data_types.h
libkea_dhcp___la_SOURCES += option_definition.cc option_definition.h
37
38
libkea_dhcp___la_SOURCES += option_int.h
libkea_dhcp___la_SOURCES += option_int_array.h
39
libkea_dhcp___la_SOURCES += option_opaque_data_tuples.cc option_opaque_data_tuples.h
40
libkea_dhcp___la_SOURCES += option_space.cc option_space.h
41
libkea_dhcp___la_SOURCES += option_space_container.h
42
libkea_dhcp___la_SOURCES += option_string.cc option_string.h
43
44
libkea_dhcp___la_SOURCES += option_vendor.cc option_vendor.h
libkea_dhcp___la_SOURCES += option_vendor_class.cc option_vendor_class.h
Tomek Mrugalski's avatar
Tomek Mrugalski committed
45
libkea_dhcp___la_SOURCES += pkt.cc pkt.h
46
libkea_dhcp___la_SOURCES += pkt4.cc pkt4.h
47
libkea_dhcp___la_SOURCES += pkt4o6.cc pkt4o6.h
48
libkea_dhcp___la_SOURCES += pkt6.cc pkt6.h
49
50
51
52
libkea_dhcp___la_SOURCES += pkt_filter.h pkt_filter.cc
libkea_dhcp___la_SOURCES += pkt_filter6.h pkt_filter6.cc
libkea_dhcp___la_SOURCES += pkt_filter_inet.cc pkt_filter_inet.h
libkea_dhcp___la_SOURCES += pkt_filter_inet6.cc pkt_filter_inet6.h
53

54
# Utilize Linux Packet Filtering on Linux.
55
if OS_LINUX
56
libkea_dhcp___la_SOURCES += pkt_filter_lpf.cc pkt_filter_lpf.h
57
58
endif

59
60
61
62
63
# Utilize Berkeley Packet Filtering on BSD.
if OS_BSD
libkea_dhcp___la_SOURCES += pkt_filter_bpf.cc pkt_filter_bpf.h
endif

64
libkea_dhcp___la_SOURCES += protocol_util.cc protocol_util.h
65
libkea_dhcp___la_SOURCES += std_option_defs.h
66

67
libkea_dhcp___la_CXXFLAGS = $(AM_CXXFLAGS)
68
libkea_dhcp___la_CPPFLAGS = $(AM_CPPFLAGS)
69
70
libkea_dhcp___la_LIBADD   = $(top_builddir)/src/lib/asiolink/libkea-asiolink.la
libkea_dhcp___la_LIBADD  += $(top_builddir)/src/lib/dns/libkea-dns++.la
71
libkea_dhcp___la_LIBADD  += $(top_builddir)/src/lib/cryptolink/libkea-cryptolink.la
72
libkea_dhcp___la_LIBADD  += $(top_builddir)/src/lib/util/libkea-util.la
73
libkea_dhcp___la_LIBADD  += $(top_builddir)/src/lib/exceptions/libkea-exceptions.la
74
libkea_dhcp___la_LIBADD  += $(CRYPTO_LIBS)
Tomek Mrugalski's avatar
Tomek Mrugalski committed
75
libkea_dhcp___la_LDFLAGS  = -no-undefined -version-info 5:0:0
76
libkea_dhcp___la_LDFLAGS += $(CRYPTO_LDFLAGS)
77

78
EXTRA_DIST  = README libdhcp++.dox
79

80
81
# Specify the headers for copying into the installation directory tree. User-
# written libraries may need access to all libdhcp++ headers.
82
83
libkea_dhcp___includedir = $(pkgincludedir)/dhcp
libkea_dhcp___include_HEADERS = \
84
    classify.h \
85
86
    dhcp4.h \
    dhcp6.h \
87
    docsis3_option_defs.h \
88
    duid.h \
89
    duid_factory.h \
90
91
    hwaddr.h \
    iface_mgr.h \
92
    iface_mgr_error_handler.h \
93
    libdhcp++.h \
94
    opaque_data_tuple.h \
95
    option4_addrlst.h \
96
    option4_client_fqdn.h \
97
    option6_addrlst.h \
98
    option6_client_fqdn.h \
99
100
    option6_ia.h \
    option6_iaaddr.h \
101
    option6_iaprefix.h \
102
    option6_pdexclude.h \
103
104
    option6_status_code.h \
    option.h \
105
106
107
108
109
    option_custom.h \
    option_data_types.h \
    option_definition.h \
    option_int.h \
    option_int_array.h \
110
    option_opaque_data_tuples.h \
111
    option_space.h \
112
    option_space_container.h \
113
    option_string.h \
114
115
    option_vendor.h \
    option_vendor_class.h \
116
    pkt.h \
117
    pkt4.h \
118
    pkt4o6.h \
119
120
    pkt6.h \
    pkt_filter.h \
121
122
    pkt_filter6.h \
    pkt_filter_bpf.h \
123
    pkt_filter_inet.h \
124
    pkt_filter_inet6.h \
125
126
127
    pkt_filter_lpf.h \
    protocol_util.h \
    std_option_defs.h