3 PKGINC
=/usr
/include/wvstreams
/usr
/local
/include/wvstreams
6 include $(TOPDIR
)/wvrules.mk
10 sbindir
=${prefix}/sbin
11 datadir=${prefix}/share
/wvprint
12 mandir=${prefix}/share
/man
14 XPATH
=.. ..
/wvstreams
/include $(PKGINC
)
17 #CXXFLAGS+=-Wold-style-cast
20 WVLIB
= -L..
/wvstreams
30 wvprintd-LIBS
+= $(EFENCE
)
32 wvprintd-LIBS
+= $(WVLIB
) -lwvstreams
-lwvutils
33 wvprintd
: wvprintd.o email.o libwvprint.a
35 libwvprint.a
: wvprint.o lpd.o job.o queue.o localqueue.o lpdqueue.o
38 [ -d
${bindir} ] ||
install -d
${bindir}
39 [ -d
${sbindir} ] ||
install -d
${sbindir}
40 [ -d
${datadir} ] ||
install -d
${datadir}
41 [ -d
${mandir}/man1
] ||
install -d
${mandir}/man1
42 [ -d
${mandir}/man5
] ||
install -d
${mandir}/man5
43 install -m
0755 wvprintd
${sbindir}
44 install -m
0755 wvprint.ids
${datadir}
45 # install -m 0644 wvprintd.1 ${mandir}/man1
46 # install -m 0644 wvprint.conf.5 ${mandir}/man5
49 rm -f
${sbindir}/wvprintd
50 rm -f
${datadir}/wvprint.ids
51 # rm -f ${mandir}/man1/wvprintd.1
52 # rm -f ${mandir}/man5/wvprint.conf.5
55 rm -f wvprintd
*.o
*.a
60 .PHONY
: distclean clean install uninstall all run