4 WVSTREAMS_LIB
=$(prefix)/lib
6 WVSTREAMS_INC
=$(prefix)/include/wvstreams
7 WVSTREAMS_BIN
=$(prefix)/bin
13 MANDIR
=${prefix}/share
/man
16 include $(TOPDIR
)/wvrules.mk
19 default
: all papchaptest
20 all: wvdial.a wvdial wvdialconf pppmon
22 wvdial.a
: wvdialer.o wvdialtext.o wvmodemscan.o wvpapchap.o wvdialbrain.o \
25 wvdial wvdialconf papchaptest pppmon
: wvdial.a
$(LIBUNICONF
)
28 [ -d
${BINDIR} ] ||
install -d
${BINDIR}
29 [ -d
${PPPDIR} ] ||
install -d
${PPPDIR}
30 install -m
0755 wvdial wvdialconf
${BINDIR}
31 cp ppp.provider
${PPPDIR}/wvdial
32 cp ppp.provider-pipe
${PPPDIR}/wvdial-pipe
35 [ -d
${MANDIR}/man1
] ||
install -d
${MANDIR}/man1
36 [ -d
${MANDIR}/man5
] ||
install -d
${MANDIR}/man5
37 install -m
0644 wvdial
.1 wvdialconf
.1 ${MANDIR}/man1
38 install -m
0644 wvdial.conf
.5 ${MANDIR}/man5
40 install: install-bin install-man
43 rm -f
${BINDIR}/wvdial
${BINDIR}/wvdialconf
44 rm -f
${PPPDIR}/wvdial
45 rm -f
${PPPDIR}/wvdial-pipe
48 rm -f
${MANDIR}/man1
/wvdial
.1 ${MANDIR}/man1
/wvdialconf
.1
49 rm -f
${MANDIR}/man5
/wvdial.conf
.5
51 uninstall: uninstall-bin uninstall-man
54 rm -f wvdial wvdialconf wvdialmon papchaptest pppmon
56 .PHONY
: clean all install-bin install-man
install uninstall-bin uninstall-man \