1 1.7.2.3 nathanw # $NetBSD: Makefile,v 1.7.2.3 2002/06/20 03:42:35 nathanw Exp $ 2 1.7.2.2 nathanw 3 1.7.2.2 nathanw S= ${.CURDIR}/../../../.. 4 1.7.2.2 nathanw LIBSADIR= $S/lib/libsa 5 1.7.2.2 nathanw LIBKERNDIR= $S/lib/libkern 6 1.7.2.2 nathanw LIBZDIR= $S/lib/libz 7 1.7.2.2 nathanw 8 1.7.2.2 nathanw LIB= sa 9 1.7.2.2 nathanw 10 1.7.2.2 nathanw SRCS+= alloc.c bcmp.c bcopy.c bzero.c errno.c getfile.c gets.c 11 1.7.2.2 nathanw SRCS+= memcmp.c memcpy.c memset.c panic.c 12 1.7.2.2 nathanw SRCS+= printf.c snprintf.c sprintf.c subr_prf.c twiddle.c vsprintf.c 13 1.7.2.2 nathanw 14 1.7.2.2 nathanw SRCS+= close.c closeall.c cread.c dev.c fstat.c ioctl.c lseek.c 15 1.7.2.2 nathanw SRCS+= open.c read.c stat.c 16 1.7.2.2 nathanw SRCS+= loadfile.c loadfile_aout.c loadfile_elf32.c 17 1.7.2.2 nathanw SRCS+= cd9660.c lfs.c nfs.c ufs.c ufs_ls.c ustarfs.c 18 1.7.2.2 nathanw #SRCS+= arp.c ether.c in_cksum.c net.c netif.c rpc.c udp.c 19 1.7.2.2 nathanw #SRCS+= bootp.c 20 1.7.2.2 nathanw 21 1.7.2.2 nathanw SRCS+= ashldi3.c ashrdi3.c strcat.c strchr.c strcmp.c strncmp.c strcpy.c strerror.c strlen.c 22 1.7.2.2 nathanw 23 1.7.2.2 nathanw SRCS+= adler32.c crc32.c infblock.c infcodes.c inffast.c 24 1.7.2.2 nathanw SRCS+= inflate.c inftrees.c infutil.c uncompr.c 25 1.7.2.2 nathanw 26 1.7.2.2 nathanw SRCS+= consio.c devopen.c parseutils.c sdcd.c fd.c fdsub.S chdsk.c 27 1.7.2.2 nathanw SRCS+= putimage.S 28 1.7.2.2 nathanw 29 1.7.2.2 nathanw NOPROFILE= # defined 30 1.7.2.2 nathanw NOPIC= # defined 31 1.7.2.2 nathanw NOLINT= # defined 32 1.7.2.2 nathanw 33 1.7.2.2 nathanw CPPFLAGS+= -I${.OBJDIR} -I${LIBSADIR} -I$S -I${LIBZDIR} -D_STANDALONE 34 1.7.2.2 nathanw CPPFLAGS+= -I${.CURDIR}/../libiocs -I${.CURDIR}/../common 35 1.7.2.2 nathanw CPPFLAGS+= -DHEAP_VARIABLE -D__INTERNAL_LIBSA_CREAD 36 1.7.2.2 nathanw CPPFLAGS+= -D_ZLIB_PRIVATE 37 1.7.2.2 nathanw CPPFLAGS+= -DHAVE_CHANGEDISK_HOOK 38 1.7.2.2 nathanw #CPPFLAGS+= -DDEBUG 39 1.7.2.2 nathanw 40 1.7.2.2 nathanw .PATH: ${LIBSADIR} ${LIBKERNDIR} ${LIBZDIR} 41 1.7.2.2 nathanw 42 1.7.2.3 nathanw .include "../Makefile.booters" 43 1.7.2.2 nathanw 44 1.7.2.2 nathanw # only needed during build 45 1.7.2.2 nathanw libinstall:: 46 1.7.2.2 nathanw 47 1.7.2.2 nathanw .include <bsd.own.mk> 48 1.7.2.2 nathanw .undef DESTDIR 49 1.7.2.2 nathanw .include <bsd.lib.mk> 50