Makefile revision 1.3
1# $OpenBSD: Makefile,v 1.3 1998/07/13 03:52:10 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= alloca.S machdep.c pdc.c itecons.c dk.c dev_hppa.c exec_hppa.c time.c \ 20 ct.c dk.c cache_s.s cache_c.c 21 22# stand routines 23SRCS+= alloc.c exit.c getfile.c gets.c globals.c strcmp.c strlen.c \ 24 strncmp.c memcmp.c memcpy.c memset.c printf.c strerror.c strncpy.c \ 25 strtol.c ctime.c exec.new.c exec_elf.c 26 27# io routines 28SRCS+= close.c closeall.c dev.c disklabel.c dkcksum.c fstat.c ioctl.c lseek.c \ 29 open.c read.c stat.c write.c cread.c readdir.c cons.c 30 31# network routines 32SRCS+= arp.c ether.c in_cksum.c net.c netif.c rpc.c 33 34# network info services 35SRCS+= bootp.c bootparam.c rarp.c 36 37# boot filesystems 38SRCS+= ufs.c nfs.c cd9660.c 39 40.PATH: ${DIR_SA} 41 42all: ${SALIB} 43 44install: 45 46.include <bsd.lib.mk> 47 48CPPFLAGS+=-DHEAP_LIMIT=${HEAP_LIMIT} ${DEBUGFLAGS} 49CPPFLAGS+=-I${S}/stand/boot 50CFLAGS+=${SACFLAGS} -D__INTERNAL_LIBSA_CREAD 51