head	1.8;
access;
symbols
	RELENG_4_11_0_RELEASE:1.5.2.1
	RELENG_4_11:1.5.2.1.0.18
	RELENG_4_11_BP:1.5.2.1
	RELENG_4_10_0_RELEASE:1.5.2.1
	RELENG_4_10:1.5.2.1.0.16
	RELENG_4_10_BP:1.5.2.1
	RELENG_4_9_0_RELEASE:1.5.2.1
	RELENG_4_9:1.5.2.1.0.14
	RELENG_4_9_BP:1.5.2.1
	RELENG_4_8_0_RELEASE:1.5.2.1
	RELENG_4_8:1.5.2.1.0.12
	RELENG_4_8_BP:1.5.2.1
	RELENG_4_7_0_RELEASE:1.5.2.1
	RELENG_4_7:1.5.2.1.0.10
	RELENG_4_7_BP:1.5.2.1
	RELENG_4_6_2_RELEASE:1.5.2.1
	RELENG_4_6_1_RELEASE:1.5.2.1
	RELENG_4_6_0_RELEASE:1.5.2.1
	RELENG_4_6:1.5.2.1.0.8
	RELENG_4_6_BP:1.5.2.1
	RELENG_4_5_0_RELEASE:1.5.2.1
	RELENG_4_5:1.5.2.1.0.6
	RELENG_4_5_BP:1.5.2.1
	RELENG_4_4_0_RELEASE:1.5.2.1
	RELENG_4_4:1.5.2.1.0.4
	RELENG_4_4_BP:1.5.2.1
	RELENG_4_3_0_RELEASE:1.5.2.1
	RELENG_4_3:1.5.2.1.0.2
	RELENG_4_3_BP:1.5.2.1
	RELENG_4_2_0_RELEASE:1.5
	RELENG_4_1_1_RELEASE:1.5
	PRE_SMPNG:1.6
	RELENG_4_1_0_RELEASE:1.5
	RELENG_3_5_0_RELEASE:1.2.2.3
	RELENG_4_0_0_RELEASE:1.5
	RELENG_4:1.5.0.2
	RELENG_4_BP:1.5
	RELENG_3_4_0_RELEASE:1.2.2.3
	RELENG_3_3_0_RELEASE:1.2.2.3
	RELENG_3_2_PAO:1.2.2.1.0.2
	RELENG_3_2_PAO_BP:1.2.2.1
	RELENG_3_2_0_RELEASE:1.2.2.1
	RELENG_3_1_0_RELEASE:1.2
	RELENG_3:1.2.0.2
	RELENG_3_BP:1.2
	RELENG_3_0_0_RELEASE:1.2
	v0_4:1.1.1.1
	PICOBSD:1.1.1;
locks; strict;
comment	@# @;


1.8
date	2001.04.24.07.12.33;	author joe;	state dead;
branches;
next	1.7;

1.7
date	2001.04.03.13.34.35;	author ru;	state Exp;
branches;
next	1.6;

1.6
date	2000.04.25.19.00.08;	author dwhite;	state Exp;
branches;
next	1.5;

1.5
date	99.08.28.01.33.47;	author peter;	state Exp;
branches
	1.5.2.1;
next	1.4;

1.4
date	99.08.22.21.44.47;	author dwhite;	state Exp;
branches;
next	1.3;

1.3
date	99.06.14.15.45.40;	author roger;	state Exp;
branches;
next	1.2;

1.2
date	98.10.15.21.40.05;	author abial;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	98.08.27.17.38.44;	author abial;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	98.08.27.17.38.44;	author abial;	state Exp;
branches;
next	;

1.2.2.1
date	99.05.13.15.27.14;	author abial;	state Exp;
branches;
next	1.2.2.2;

1.2.2.2
date	99.08.22.23.09.00;	author dwhite;	state Exp;
branches;
next	1.2.2.3;

1.2.2.3
date	99.08.29.15.53.21;	author peter;	state Exp;
branches;
next	;

1.5.2.1
date	2001.02.20.00.08.04;	author luigi;	state dead;
branches;
next	;


desc
@@


1.8
log
@MF4S: Syncronise with Luigi's work in -stable.
@
text
@#
# $FreeBSD: src/release/picobsd/router/crunch1/Makefile,v 1.7 2001/04/03 13:34:35 ru Exp $
#
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} -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>
@


1.7
log
@Drop support for -DRELEASE_BUILD_FIXIT and -DCRUNCHED_BINARY in
${CFLAGS}.  The only supported method thus is -DRELEASE_CRUNCH.
@
text
@d2 1
a2 1
# $FreeBSD: src/release/picobsd/router/crunch1/Makefile,v 1.6 2000/04/25 19:00:08 dwhite Exp $
@


1.6
log
@Commit PicoBSD mega-patch:
. 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>
@
text
@d2 1
a2 1
# $FreeBSD: src/release/picobsd/router/crunch1/Makefile,v 1.5 1999/08/28 01:33:47 peter Exp $
d12 1
a12 1
	    "CFLAGS=${CFLAGS} -DCRUNCHED_BINARY -DRELEASE_CRUNCH" #2>&1 >/dev/null
@


1.5
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
d25 2
a26 2
	cp crunch1 /mnt/stand/crunch
	chmod 555 /mnt/stand/crunch
d29 1
a29 1
		ln /mnt/stand/crunch /mnt/stand/$${i}; \
d31 1
a31 1
	rm /mnt/stand/crunch
@


1.5.2.1
log
@Adapt to new picobsd build scripts
@
text
@d2 1
a2 1
# $FreeBSD: src/release/picobsd/router/crunch1/Makefile,v 1.5 1999/08/28 01:33:47 peter Exp $
@


1.4
log
@Major PicoBSD update by luigi with some debugging help from myself.

. Now builds on -STABLE (-CURRENT is broken due to bugs)
. etc directory contents centralized instead of in each
  type directory (can exclude & override as desired)
. Removed extraneous language files (lang files for rc really necessary?)
. dialog-based build tool with support for custom floppy builds
. MFS image loads as a mfs_root module instead of compiled into kernel

THIS IS BROKEN ON CURRENT.  I'll MFC to -STABLE immediately following.
luigi tells me I have an OK from jkh on the MFC.

Submitted by:	luigi
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.2.2.1 1999/05/13 15:27:14 abial Exp $
@


1.3
log
@Update to PicoBSD 0.44 from RELENG_
@
text
@d12 1
a12 1
	    "CFLAGS=${CFLAGS} -DCRUNCHED_BINARY" #2>&1 >/dev/null
@


1.2
log
@Various fixups and corrections to match the 3.0-RELEASE tree.

The PicoBSD version is now 0.42.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.1.1.1 1998/08/27 17:38:44 abial Exp $
d11 2
a12 2
	@@${MAKE} -f crunch1.mk all \
	    "CFLAGS=${CFLAGS} -DCRUNCHED_BINARY -DNOSECURE -DNOCRYPT" #2>&1 >/dev/null
a31 2
	# Install the MIB files
	#cp mibs/*.txt /mnt/usr/local/share/snmp/mibs/
@


1.2.2.1
log
@Set environment, not CFLAGS.

Approved by:	jkh
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.2 1998/10/15 21:40:05 abial Exp $
d11 2
a12 2
	@@${MAKE} -f crunch1.mk NOSECURE=yes NOCRYPT=yes all \
	    "CFLAGS=${CFLAGS} -DCRUNCHED_BINARY" #2>&1 >/dev/null
d32 2
@


1.2.2.2
log
@MFC: PicoBSD mega-upgrade.  It actually works in -STABLE, let's hope I
didn't miss anything.  According to luigi, I have jkh's OK on this.

Submitted by:  luigi
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.2.2.1 1999/05/13 15:27:14 abial Exp $
d12 1
a12 1
	    "CFLAGS=${CFLAGS} -DCRUNCHED_BINARY -DRELEASE_CRUNCH" #2>&1 >/dev/null
@


1.2.2.3
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.2 1998/08/10 19:39:36 abial Exp $
d12 1
a12 1
	    "CFLAGS=${CFLAGS} -DCRUNCHED_BINARY -DNOSECURE -DNOCRYPT" 2>&1 >/dev/null
@


1.1.1.1
log
@Initial import of PicoBSD v0.4 tree.
@
text
@@
