]> git.ozlabs.org Git - ppp.git/blob - pppd/plugins/pppoe/Makefile.am
Merge pull request #296 from enaess/ppp-autotools
[ppp.git] / pppd / plugins / pppoe / Makefile.am
1 pppd_plugin_LTLIBRARIES = pppoe.la 
2 pppd_plugindir = $(PPPD_PLUGIN_DIR)
3 sbin_PROGRAMS = pppoe-discovery
4 dist_man8_MANS = pppoe-discovery.8
5
6 noinst_HEADERS = \
7     pppoe.h
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
12
13 pppoe_discovery_CPPFLAGS = -I${top_srcdir} -I${top_srcdir}/include
14 pppoe_discovery_SOURCES = pppoe-discovery.c debug.c
15
16 install-exec-hook:
17         (mkdir -p $(DESTDIR)/$(pppd_plugindir); \
18         cd $(DESTDIR)$(pppd_plugindir); \
19         $(LN_S) -f pppoe.so rp-pppoe.so)
20
21 uninstall-hook:
22         (cd $(DESTDIR)$(pppd_plugindir); rm -f rp-pppoe.so)