[BACK]Return to Makefile.buildboot CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / pc532 / stand

File: [cvs.NetBSD.org] / src / sys / arch / pc532 / stand / Attic / Makefile.buildboot (download)

Revision 1.2, Sat Feb 13 02:54:48 1999 UTC (22 years ago) by lukem
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, minoura-xpg4dl-base, minoura-xpg4dl, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase, chs-ubc2-base, chs-ubc2
Branch point for: thorpej_scsipi
Changes since 1.1: +2 -2 lines

convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.

#	$NetBSD: Makefile.buildboot,v 1.2 1999/02/13 02:54:48 lukem Exp $

S=		${.CURDIR}/../../../..

.PATH: ${.CURDIR}/../common

SRCS=		${COMMONSOURCE} ${DRIVERSOURCE} ${PROGSOURCE}
MKMAN=	no
STRIP=
BINMODE=	444

CLEANFILES+=	${PROG}.sym ${PROG}

CPPFLAGS+=	-I${.CURDIR}/../../.. -I${.CURDIR}/../../../..
CFLAGS=		-O3 -fno-inline
#CFLAGS+=	-Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-format

# no lint here (yet?)
lint:

${PROG}: ${PROG}.sym
	cp ${PROG}.sym ${PROG}
	strip ${PROG}

.include <bsd.prog.mk>

### find out what to use for libkern
KERN_AS=	library
.include "${S}/lib/libkern/Makefile.inc"
LIBKERN=	${KERNLIB}

### find out what to use for libz
Z_AS=		library
.include "${S}/lib/libz/Makefile.inc"
LIBZ=		${ZLIB}

### find out what to use for libsa
SA_AS=		library
SAMISCMAKEFLAGS= SA_USE_CREAD=yes
.include "${S}/lib/libsa/Makefile.inc"
LIBSA=		${SALIB}

${PROG}.sym: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
	sh ${.CURDIR}/../common/newvers.sh ${.CURDIR}/version ${NEWVERSWHAT}
	${COMPILE.c} vers.c
	${LD} -Ttext ${RELOC} -z -e start -o ${PROG}.sym \
	    ${OBJS} vers.o ${LIBSA} ${LIBZ} ${LIBSA} ${LIBKERN}
	@size ${PROG}.sym