1 pppd_plugin_LTLIBRARIES = pppoe.la
2 pppd_plugindir = $(PPPD_PLUGIN_DIR)
3 sbin_PROGRAMS = pppoe-discovery
4 dist_man8_MANS = pppoe-discovery.8
9 pppoe_la_CPPFLAGS = -I${top_srcdir} -I${top_srcdir}/include
10 pppoe_la_LDFLAGS = -module -avoid-version
11 pppoe_la_SOURCES = plugin.c discovery.c if.c common.c
13 pppoe_discovery_CPPFLAGS = -I${top_srcdir} -I${top_srcdir}/include
14 pppoe_discovery_SOURCES = pppoe-discovery.c debug.c
17 (mkdir -p $(DESTDIR)/$(pppd_plugindir); \
18 cd $(DESTDIR)$(pppd_plugindir); \
19 $(LN_S) -f pppoe.so rp-pppoe.so)
22 (cd $(DESTDIR)$(pppd_plugindir); rm -f rp-pppoe.so)