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