2 dist_man8_MANS = pppd.8
6 utest_chap_SOURCES = chap_ms.c pppcrypt.c utils.c
7 utest_chap_CPPFLAGS = -DUNIT_TEST
10 TESTS = $(check_PROGRAMS)
13 sbin_PROGRAMS += srp-entry
14 dist_man8_MANS += srp-entry.8
17 pkgconfigdir = $(libdir)/pkgconfig
18 pkgconfig_DATA = pppd.pc
20 pppd_includedir = $(includedir)/pppd
21 pppd_include_HEADERS = \
70 pppd_CPPFLAGS = -I${top_srcdir}/include -DPPPD_RUNTIME_DIR='"@PPPD_RUNTIME_DIR@"' -DPPPD_LOGFILE_DIR='"@PPPD_LOGFILE_DIR@"'
75 pppd_SOURCES += sys-linux.c
76 pppd_LIBS += $(CRYPT_LIBS) $(UTIL_LIBS)
80 pppd_SOURCES += sys-solaris.c
81 pppd_LIBS += -lsocket -lnsl
85 pppd_SOURCES += chap_ms.c
86 pppd_SOURCES += pppcrypt.c
89 pppd_SOURCES += pppcrypt.c
94 pppd_SOURCES += cbcp.c
98 pppd_SOURCES += ipxcp.c
102 pppd_SOURCES += mppe.c
106 pppd_CPPFLAGS += $(PCAP_CFLAGS)
107 pppd_LDFLAGS += $(PCAP_LDFLAGS)
108 pppd_LIBS += $(PCAP_LIBS)
112 pppd_CPPFLAGS += -DPPPD_PLUGIN_DIR='"@PPPD_PLUGIN_DIR@"'
115 pppd_LDFLAGS += -Wl,-E
120 pppd_SOURCES += multilink.c
124 pppd_SOURCES += tdb.c spinlock.c
128 pppd_SOURCES += ipv6cp.c eui64.c
132 pppd_LIBS += -lpam -ldl
136 pppd_SOURCES += eap-tls.c
140 pppd_SOURCES += md5.c md4.c sha1.c
141 utest_chap_SOURCES += md5.c md4.c sha1.c
143 pppd_CPPFLAGS += $(OPENSSL_INCLUDES)
144 pppd_LDFLAGS += $(OPENSSL_LDFLAGS)
146 utest_chap_CPPFLAGS += $(OPENSSL_INCLUDES)
147 utest_chap_LDFLAGS += $(OPENSSL_LDFLAGS)
148 utest_chap_LDADD = $(OPENSSL_LIBS)
150 pppd_LIBS += $(OPENSSL_LIBS)
152 pppd_SOURCES += sha1.c
153 utest_chap_SOURCES += sha1.c
156 pppd_SOURCES += md4.c
157 utest_chap_SOURCES += md4.c
160 pppd_SOURCES += md5.c
161 utest_chap_SOURCES += md5.c
166 pppd_LIBS += -lsystemd
170 srp_entry_SOURCES = srp-entry.c
171 srp_entry_CPPFLAGS = $(OPENSSL_INCLUDES) $(SRP_CFLAGS)
172 srp_entry_LDADD = $(SRP_LIBS) $(OPENSSL_LIBS)
173 srp_entry_LDFLAGS = $(OPENSSL_LDFLAGS) $(SRP_LDFLAGS)
175 pppd_CPPFLAGS += $(SRP_CFLAGS)
176 pppd_LDFLAGS += $(SRP_LDFLAGS)
177 pppd_LIBS += $(SRP_LIBS)
180 pppd_LDADD = $(pppd_LIBS)