X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fplugins%2Fpppoe%2FMakefile.am;fp=pppd%2Fplugins%2Fpppoe%2FMakefile.am;h=d0c89c5f2a4295be04215983e9781585150bf550;hp=0000000000000000000000000000000000000000;hb=2883dd07101bf851e2ea368f0c04c91aea85cff2;hpb=9c7ba0d42dee5e3f84ecb6e4fcdbefc6c1cd965c diff --git a/pppd/plugins/pppoe/Makefile.am b/pppd/plugins/pppoe/Makefile.am new file mode 100644 index 0000000..d0c89c5 --- /dev/null +++ b/pppd/plugins/pppoe/Makefile.am @@ -0,0 +1,25 @@ +pppd_plugin_LTLIBRARIES = pppoe.la +pppd_plugindir = $(PPPD_PLUGIN_DIR) +sbin_PROGRAMS = pppoe-discovery +man8_MANS = pppoe-discovery.8 + +noinst_HEADERS = \ + pppoe.h + +pppoe_la_CFLAGS = -I${top_srcdir} -I${top_srcdir}/include +pppoe_la_LDFLAGS = -module -avoid-version +pppoe_la_SOURCES = plugin.c discovery.c if.c common.c + +pppoe_discovery_CFLAGS = -I${top_srcdir} -I${top_srcdir}/include +pppoe_discovery_SOURCES = pppoe-discovery.c debug.c + +EXTRA_DIST = \ + $(man8_MANS) + +install-exec-hook: + (mkdir -p $(DESTDIR)/$(pppd_plugindir); \ + cd $(DESTDIR)$(pppd_plugindir); \ + $(LN_S) -f pppoe.so rp-pppoe.so) + +uninstall-hook: + (cd $(DESTDIR)$(pppd_plugindir); rm -f rp-pppoe.so)