No empty .Rs/.Re
[netbsd-mini2440.git] / share / examples / refuse / fanoutfs / Makefile
blobecfa83a1b26f7bf03089f8a2613829f46d0e5330
1 # $NetBSD: Makefile,v 1.1 2007/03/31 21:05:56 agc Exp $
3 PROG=fanoutfs
4 LDADD+= -lrefuse
5 CPPFLAGS+= -g
6 MAN=fanoutfs.8
7 WARNS=4
9 .include <bsd.prog.mk>
11 .include <bsd.own.mk>
13 FANOUTOBJDIR!=cd ${.CURDIR} && ${PRINTOBJDIR}
15 test:
16 echo "# New fanout configuration at `date`" > fan.conf; \
17 for i in 1 2 3 4 5 6 7 8; do \
18 mkdir dir$$i; \
19 cp ${.CURDIR}/defs.h dir$$i/defs.h; \
20 cp ${.CURDIR}/defs.h dir$$i/defs.h.$$i; \
21 echo dir$$i >> fan.conf; \
22 done; \
23 cp ${.CURDIR}/Makefile dir4; \
24 cp ${.CURDIR}/fanoutfs.c dir7; \
25 priv ${FANOUTOBJDIR}/${PROG} -f fan.conf /mnt; \
26 sleep 1; \
27 ls -la /mnt; \
28 sleep 1; \
29 priv pkill fanoutfs; \
30 priv rm -rf dir? fan.conf