1998-08-27 17:38:45 +00:00
|
|
|
#
|
1999-08-23 08:52:05 +00:00
|
|
|
# $Id: Makefile.mfs,v 1.1 1999/08/22 21:43:32 dwhite Exp $
|
1998-08-27 17:38:45 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DESTDIR?=/mnt
|
|
|
|
|
|
|
|
STAND_LINKS= bin sbin
|
|
|
|
USR_LINKS= bin sbin libexec
|
|
|
|
PL_LOCALE_LINKS= pl polish
|
1999-08-23 08:52:05 +00:00
|
|
|
MY_DEVS= std tun2 vty10 fd0 wd0s1h pty0 \
|
|
|
|
cuaa0 cuaa1 cuaa2 cuaa3 cuaa4 \
|
|
|
|
cuaa5 cuaa6 cuaa7 cuaa8 cuaa9
|
1998-08-27 17:38:45 +00:00
|
|
|
|
|
|
|
all: tree links
|
|
|
|
|
|
|
|
tree:
|
|
|
|
mtree -deU -f mfs.mtree -p ${DESTDIR}
|
|
|
|
|
|
|
|
links: tree
|
|
|
|
(cd ${DESTDIR}; \
|
|
|
|
for i in ${STAND_LINKS}; \
|
|
|
|
do \
|
|
|
|
ln -s /stand $${i}; \
|
|
|
|
done; \
|
|
|
|
cd var/run; \
|
|
|
|
ln -s /dev/null log; \
|
|
|
|
cd ../../usr; \
|
|
|
|
for i in ${USR_LINKS}; \
|
|
|
|
do \
|
|
|
|
ln -s /stand $${i}; \
|
|
|
|
done; \
|
|
|
|
cd share/misc;\
|
|
|
|
ln -s /etc/termcap termcap; )
|
|
|
|
|
|
|
|
|
|
|
|
# We don't do it under 'all' because it's needed only on non-DEVFS systems
|
|
|
|
devnodes: tree
|
1998-09-20 00:46:27 +00:00
|
|
|
(cd ${DESTDIR}/dev; \
|
1999-05-05 08:37:46 +00:00
|
|
|
ln -s /dev/MAKEDEV; \
|
1999-08-23 08:52:05 +00:00
|
|
|
./MAKEDEV ${MY_DEVS} ; \
|
1999-05-05 08:37:46 +00:00
|
|
|
rm MAKEDEV)
|
|
|
|
|
|
|
|
clean:
|
1999-06-14 15:45:56 +00:00
|
|
|
|