Makefile revision 1.12
1# $OpenBSD: Makefile,v 1.12 2003/04/16 07:20:50 mickey Exp $ 2 3.include "${.CURDIR}/../Makefile.inc" 4 5LIB= sa 6 7S=${.CURDIR}/../../../.. 8SADIR=${.CURDIR}/.. 9DIR_SA= $S/lib/libsa 10 11NOPROFILE=noprofile 12NOPIC=nopic 13 14#AS=cat ; 15#AS+= -R 16#AS+= -a 17 18# hppa stuff 19SRCS= machdep.c pdc.c itecons.c dev_hppa.c time.c \ 20 ct.c dk.c lf.c lif.c cmd_hppa.c 21 22# stand routines 23SRCS+= alloc.c exit.c getfile.c gets.c globals.c \ 24 printf.c strerror.c strtol.c strchr.c ctime.c loadfile.c 25 26# io routines 27SRCS+= close.c closeall.c dev.c disklabel.c dkcksum.c fstat.c ioctl.c lseek.c \ 28 open.c read.c stat.c write.c cread.c readdir.c cons.c 29 30# boot filesystems 31SRCS+= ufs.c cd9660.c 32 33.PATH: ${DIR_SA} 34 35all: ${SALIB} 36 37install: 38 39.include <bsd.lib.mk> 40 41CPPFLAGS+=-DHEAP_LIMIT=${HEAP_LIMIT} ${DEBUGFLAGS} -DNO_NET 42CPPFLAGS+=-I${S}/stand/boot 43CFLAGS+=${SACFLAGS} -D__INTERNAL_LIBSA_CREAD -DCOMPAT_UFS 44