3 # Doing a make install builds /usr/share/examples
37 XFILES= BSD_daemon/FreeBSD.pfa \
39 BSD_daemon/beastie.eps \
40 BSD_daemon/beastie.fig \
41 BSD_daemon/eps.patch \
42 BSD_daemon/poster.sh \
43 FreeBSD_version/FreeBSD_version.c \
44 FreeBSD_version/Makefile \
45 FreeBSD_version/README \
53 atm/fore-microcode.txt \
55 atm/sscop-design.txt \
58 bootforth/frames.4th \
61 bootforth/menuconf.4th \
62 bootforth/screen.4th \
70 cvsup/stable-supfile \
71 cvsup/standard-supfile \
74 diskless/README.BOOTP \
75 diskless/README.TEMPLATING \
78 drivers/make_device_driver.sh \
79 drivers/make_pseudo_driver.sh \
81 etc/bsd-style-copyright \
83 find_interface/Makefile \
84 find_interface/README \
85 find_interface/find_interface.c \
88 ipfw/change_rules.sh \
99 isdn/contrib/anleitung.ppp \
100 isdn/contrib/answer.c \
101 isdn/contrib/answer.sh \
102 isdn/contrib/convert.sh \
103 isdn/contrib/hplay.c \
104 isdn/contrib/i4b-ppp-newbie.txt \
105 isdn/contrib/isdnctl \
106 isdn/contrib/isdnd_acct \
107 isdn/contrib/isdnd_acct.pl \
108 isdn/contrib/isdntelmux.c \
109 isdn/contrib/mrtg-isp0.sh \
110 isdn/i4brunppp/Makefile \
111 isdn/i4brunppp/README \
112 isdn/i4brunppp/i4brunppp-isdnd.rc \
113 isdn/i4brunppp/i4brunppp.8 \
114 isdn/i4brunppp/i4brunppp.c \
117 isdn/v21/v21modem.c \
121 kld/cdev/module/Makefile \
122 kld/cdev/module/cdev.c \
123 kld/cdev/module/cdev.h \
124 kld/cdev/module/cdevmod.c \
125 kld/cdev/test/Makefile \
126 kld/cdev/test/testcdev.c \
127 kld/dyn_sysctl/Makefile \
128 kld/dyn_sysctl/README \
129 kld/dyn_sysctl/dyn_sysctl.c \
130 kld/syscall/Makefile \
131 kld/syscall/module/Makefile \
132 kld/syscall/module/syscall.c \
133 kld/syscall/test/Makefile \
134 kld/syscall/test/call.c \
146 netgraph/bluetooth/rc.bluetooth \
147 netgraph/ether.bridge \
148 netgraph/frame_relay \
151 netgraph/udp.tunnel \
152 nwclient/dot.nwfsrc \
153 nwclient/nwfs.sh.sample \
165 ppp/ppp.conf.sample \
166 ppp/ppp.conf.span-isp \
167 ppp/ppp.conf.span-isp.working \
168 ppp/ppp.linkdown.sample \
169 ppp/ppp.linkdown.span-isp \
170 ppp/ppp.linkdown.span-isp.working \
171 ppp/ppp.linkup.sample \
172 ppp/ppp.linkup.span-isp \
173 ppp/ppp.linkup.span-isp.working \
174 ppp/ppp.secret.sample \
175 ppp/ppp.secret.span-isp \
176 ppp/ppp.secret.span-isp.working \
177 pppd/auth-down.sample \
178 pppd/auth-up.sample \
179 pppd/chap-secrets.sample \
180 pppd/chat.sh.sample \
181 pppd/ip-down.sample \
183 pppd/options.sample \
184 pppd/pap-secrets.sample \
185 pppd/ppp.deny.sample \
186 pppd/ppp.shells.sample \
188 printing/diablo-if-net \
195 printing/if-simpleX \
197 printing/make-ps-header \
206 ses/getencstat/Makefile \
207 ses/getencstat/getencstat.0 \
210 ses/setencstat/Makefile \
211 ses/setencstat/setencstat.0 \
212 ses/setobjstat/Makefile \
213 ses/setobjstat/setobjstat.0 \
216 ses/srcs/getencstat.c \
218 ses/srcs/getobjmap.c \
219 ses/srcs/getobjstat.c \
222 ses/srcs/setencstat.c \
223 ses/srcs/setobjstat.c \
224 scsi_target/Makefile \
225 scsi_target/scsi_target.c \
226 scsi_target/scsi_target.h \
227 scsi_target/scsi_target.8 \
228 scsi_target/scsi_cmds.c \
229 slattach/unit-command.sh \
230 sliplogin/slip.hosts \
231 sliplogin/slip.login \
232 sliplogin/slip.logout \
233 sliplogin/slip.slparms \
234 startslip/sldown.sh \
238 sunrpc/dir/Makefile \
240 sunrpc/dir/dir_proc.c \
242 sunrpc/msg/Makefile \
244 sunrpc/msg/msg_proc.c \
245 sunrpc/msg/printmsg.c \
246 sunrpc/msg/rprintmsg.c \
247 sunrpc/sort/Makefile \
248 sunrpc/sort/rsort.c \
250 sunrpc/sort/sort_proc.c
252 BINDIR= ${SHAREDIR}/examples
256 # Define SHARED to indicate whether you want symbolic links to the system
257 # source (``symlinks''), or a separate copy (``copies''); (latter useful
258 # in environments where it's not possible to keep /sys publicly readable)
261 beforeinstall: ${SHARED} etc-examples
262 .ORDER: ${SHARED} etc-examples
266 if [ -L ${DESTDIR}${BINDIR}/$i ]; then \
267 rm -f ${DESTDIR}${BINDIR}/$i; \
270 mtree -deU ${MTREE_FOLLOWS_SYMLINKS} \
271 -f ${.CURDIR}/../../etc/mtree/BSD.usr.dist -p ${DESTDIR}/usr
272 .for file in ${XFILES}
273 ${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE} \
274 ${.CURDIR}/${file} ${DESTDIR}${BINDIR}/${file}
279 rm -rf ${DESTDIR}${BINDIR}/$i
280 ln -s ${.CURDIR}/$i ${DESTDIR}${BINDIR}/$i
284 .if ${SHARED} != "symlinks"
285 (cd ${.CURDIR}/../../etc; ${MAKE} etc-examples)
288 .if ${SHARED} != "symlinks"
290 .if !defined(NO_IPFILTER)
295 .include <bsd.subdir.mk>