3 # Doing a make install builds /usr/share/examples
36 XFILES= BSD_daemon/FreeBSD.pfa \
38 BSD_daemon/beastie.eps \
39 BSD_daemon/beastie.fig \
40 BSD_daemon/eps.patch \
41 BSD_daemon/poster.sh \
42 FreeBSD_version/FreeBSD_version.c \
43 FreeBSD_version/Makefile \
44 FreeBSD_version/README \
52 atm/fore-microcode.txt \
54 atm/sscop-design.txt \
57 bootforth/frames.4th \
60 bootforth/menuconf.4th \
61 bootforth/screen.4th \
69 cvsup/stable-supfile \
70 cvsup/standard-supfile \
73 diskless/README.BOOTP \
74 diskless/README.TEMPLATING \
77 drivers/make_device_driver.sh \
78 drivers/make_pseudo_driver.sh \
80 etc/bsd-style-copyright \
82 find_interface/Makefile \
83 find_interface/README \
84 find_interface/find_interface.c \
87 ipfw/change_rules.sh \
98 isdn/contrib/anleitung.ppp \
99 isdn/contrib/answer.c \
100 isdn/contrib/answer.sh \
101 isdn/contrib/convert.sh \
102 isdn/contrib/hplay.c \
103 isdn/contrib/i4b-ppp-newbie.txt \
104 isdn/contrib/isdnctl \
105 isdn/contrib/isdnd_acct \
106 isdn/contrib/isdnd_acct.pl \
107 isdn/contrib/isdntelmux.c \
108 isdn/contrib/mrtg-isp0.sh \
109 isdn/i4brunppp/Makefile \
110 isdn/i4brunppp/README \
111 isdn/i4brunppp/i4brunppp-isdnd.rc \
112 isdn/i4brunppp/i4brunppp.8 \
113 isdn/i4brunppp/i4brunppp.c \
116 isdn/v21/v21modem.c \
120 kld/cdev/module/Makefile \
121 kld/cdev/module/cdev.c \
122 kld/cdev/module/cdev.h \
123 kld/cdev/module/cdevmod.c \
124 kld/cdev/test/Makefile \
125 kld/cdev/test/testcdev.c \
126 kld/dyn_sysctl/Makefile \
127 kld/dyn_sysctl/README \
128 kld/dyn_sysctl/dyn_sysctl.c \
129 kld/syscall/Makefile \
130 kld/syscall/module/Makefile \
131 kld/syscall/module/syscall.c \
132 kld/syscall/test/Makefile \
133 kld/syscall/test/call.c \
136 mdoc/POSIX-copyright \
142 netgraph/bluetooth/rc.bluetooth \
143 netgraph/ether.bridge \
144 netgraph/frame_relay \
147 netgraph/udp.tunnel \
148 nwclient/dot.nwfsrc \
149 nwclient/nwfs.sh.sample \
161 ppp/ppp.conf.sample \
162 ppp/ppp.conf.span-isp \
163 ppp/ppp.conf.span-isp.working \
164 ppp/ppp.linkdown.sample \
165 ppp/ppp.linkdown.span-isp \
166 ppp/ppp.linkdown.span-isp.working \
167 ppp/ppp.linkup.sample \
168 ppp/ppp.linkup.span-isp \
169 ppp/ppp.linkup.span-isp.working \
170 ppp/ppp.secret.sample \
171 ppp/ppp.secret.span-isp \
172 ppp/ppp.secret.span-isp.working \
173 pppd/auth-down.sample \
174 pppd/auth-up.sample \
175 pppd/chap-secrets.sample \
176 pppd/chat.sh.sample \
177 pppd/ip-down.sample \
179 pppd/options.sample \
180 pppd/pap-secrets.sample \
181 pppd/ppp.deny.sample \
182 pppd/ppp.shells.sample \
184 printing/diablo-if-net \
191 printing/if-simpleX \
193 printing/make-ps-header \
202 ses/getencstat/Makefile \
203 ses/getencstat/getencstat.0 \
206 ses/setencstat/Makefile \
207 ses/setencstat/setencstat.0 \
208 ses/setobjstat/Makefile \
209 ses/setobjstat/setobjstat.0 \
212 ses/srcs/getencstat.c \
214 ses/srcs/getobjmap.c \
215 ses/srcs/getobjstat.c \
218 ses/srcs/setencstat.c \
219 ses/srcs/setobjstat.c \
220 scsi_target/Makefile \
221 scsi_target/scsi_target.c \
222 scsi_target/scsi_target.h \
223 scsi_target/scsi_target.8 \
224 scsi_target/scsi_cmds.c \
225 slattach/unit-command.sh \
226 sliplogin/slip.hosts \
227 sliplogin/slip.login \
228 sliplogin/slip.logout \
229 sliplogin/slip.slparms \
230 startslip/sldown.sh \
234 sunrpc/dir/Makefile \
236 sunrpc/dir/dir_proc.c \
238 sunrpc/msg/Makefile \
240 sunrpc/msg/msg_proc.c \
241 sunrpc/msg/printmsg.c \
242 sunrpc/msg/rprintmsg.c \
243 sunrpc/sort/Makefile \
244 sunrpc/sort/rsort.c \
246 sunrpc/sort/sort_proc.c
248 BINDIR= ${SHAREDIR}/examples
252 # Define SHARED to indicate whether you want symbolic links to the system
253 # source (``symlinks''), or a separate copy (``copies''); (latter useful
254 # in environments where it's not possible to keep /sys publicly readable)
257 beforeinstall: ${SHARED} etc-examples
258 .ORDER: ${SHARED} etc-examples
262 if [ -L ${DESTDIR}${BINDIR}/$i ]; then \
263 rm -f ${DESTDIR}${BINDIR}/$i; \
266 mtree -deU ${MTREE_FOLLOWS_SYMLINKS} \
267 -f ${.CURDIR}/../../etc/mtree/BSD.usr.dist -p ${DESTDIR}/usr
268 .for file in ${XFILES}
269 ${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE} \
270 ${.CURDIR}/${file} ${DESTDIR}${BINDIR}/${file}
275 rm -rf ${DESTDIR}${BINDIR}/$i
276 ln -s ${.CURDIR}/$i ${DESTDIR}${BINDIR}/$i
280 .if ${SHARED} != "symlinks"
281 (cd ${.CURDIR}/../../etc; ${MAKE} etc-examples)
284 .if ${SHARED} != "symlinks"
286 .if !defined(NO_IPFILTER)
294 .include <bsd.subdir.mk>