223b633217
. Bring PicoBSD up to date with -CURRENT reality. . Make PicoBSD smart and not spam /dev/vn0 and /mnt. Now it uses the first unused vn device and creates a temporary mountpoint in /tmp. . Miscellaneous build cleanups and optimizations. Unfortunately the bridge, isp, and router floppies are too big and need the axe treatment. The install floppy needs updating to -CURRENT. Dial and net build and (appear to) run OK. I will be adressing these in the near future (unless someone beats me to it :-) ). PR: misc/17737 Submitted by: Omachonu Ogali <oogali@intranova.net>
35 lines
683 B
Makefile
35 lines
683 B
Makefile
#
|
|
# $FreeBSD$
|
|
#
|
|
SRC?=/usr/src
|
|
|
|
all: crunch
|
|
|
|
crunch:
|
|
@cat crunch.conf|sed -e "s@/usr/src@${SRC}@" >crunch1.conf
|
|
@crunchgen ./crunch1.conf
|
|
@${MAKE} -f crunch1.mk NOSECURE=yes NOCRYPT=yes all \
|
|
"CFLAGS=${CFLAGS} -DCRUNCHED_BINARY -DRELEASE_CRUNCH" #2>&1 >/dev/null
|
|
|
|
clean:
|
|
rm -f *.o *.stub *.lo *_stub.c *.mk \
|
|
crunch.cache \
|
|
crunch.mk \
|
|
crunch.c \
|
|
crunch1* \
|
|
crunch \
|
|
.tmp_* \
|
|
*.gz
|
|
|
|
install:
|
|
cp crunch1 ${MFS_MOUNTPOINT}/stand/crunch
|
|
chmod 555 ${MFS_MOUNTPOINT}/stand/crunch
|
|
for i in `crunchgen -l crunch1.conf` ; \
|
|
do \
|
|
ln ${MFS_MOUNTPOINT}/stand/crunch ${MFS_MOUNTPOINT}/stand/$${i}; \
|
|
done
|
|
rm ${MFS_MOUNTPOINT}/stand/crunch
|
|
|
|
|
|
.include <bsd.prog.mk>
|