]> git.ozlabs.org Git - ppp.git/blob - Makefile.am
pppd: Replace IF_NAMESIZE by IFNAMSIZ for struct ifreq
[ppp.git] / Makefile.am
1 ACLOCAL_AMFLAGS="-Im4"
2
3 SUBDIRS = chat contrib pppd pppstats pppdump
4
5 if WITH_PLUGINS
6 SUBDIRS += pppd/plugins
7 endif
8
9 DIST_SUBDIRS = $(SUBDIRS) common include modules scripts
10
11 #
12 # *HACK*
13 #   This is to work around the kernel module for PPP on Sun Solaris
14 if SUNOS
15 all-am:
16         (cd solaris ; $(MAKE) -f Makefile)
17
18 clean-generic:
19         (cd solaris ; $(MAKE) -f Makefile clean)
20
21 install-am:
22         (cd solaris ; $(MAKE) -f Makefile install)
23 endif
24
25 install-data-hook:
26         (cd $(DESTDIR)/$(sysconfdir)/$(PACKAGE) ; \
27          chmod 600 chap-secrets pap-secrets eaptls-server eaptls-client)
28
29 sampledir = $(sysconfdir)/$(PACKAGE)
30 sample_DATA = \
31     etc.ppp/options \
32     etc.ppp/chap-secrets \
33     etc.ppp/pap-secrets \
34     etc.ppp/eaptls-server \
35     etc.ppp/eaptls-client \
36     etc.ppp/openssl.cnf
37
38 EXTRA_README = \
39     Changes-2.3 \
40     FAQ \
41     README \
42     README.cbcp \
43     README.eap-srp \
44     README.eap-tls \
45     README.linux \
46     README.MPPE \
47     README.MSCHAP80 \
48     README.MSCHAP81 \
49     README.pppoe \
50     README.pppol2tp \
51     README.pwfd \
52     README.sol2 \
53     PLUGINS \
54     SETUP \
55     Submitting-patches.md
56
57 EXTRA_SOLARIS = \
58     solaris/Makedefs \
59     solaris/Makedefs.gcc \
60     solaris/Makedefs.sol2 \
61     solaris/Makefile.sol2 \
62     solaris/Makefile.sol2-64 \
63     solaris/Makefile.sol2-64x \
64     solaris/Makefile.sol2gcc \
65     solaris/Makefile.sol2gcc-64 \
66     solaris/Makefile.sol2gcc-64x \
67     solaris/Makefile.top \
68     solaris/ppp_ahdlc.c \
69     solaris/ppp_ahdlc_mod.c \
70     solaris/ppp.c \
71     solaris/ppp_comp.c \
72     solaris/ppp_comp_mod.c \
73     solaris/ppp.conf \
74     solaris/ppp_mod.c \
75     solaris/ppp_mod.h
76
77 EXTRA_DIST= \
78     $(sample_DATA) \
79     $(EXTRA_README) \
80     $(EXTRA_SOLARIS)