Home | History | Annotate | Line # | Download | only in libsa
Makefile revision 1.16.16.2
      1  1.16.16.2     yamt #	$NetBSD: Makefile,v 1.16.16.2 2007/09/03 14:31:14 yamt 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.16.16.1     yamt LIBZDIST=	$S/../common/dist/zlib
      8        1.1  minoura 
      9        1.1  minoura LIB=		sa
     10        1.1  minoura 
     11        1.1  minoura SRCS+=		alloc.c bcmp.c bcopy.c bzero.c errno.c getfile.c gets.c
     12       1.16       he SRCS+=		memcmp.c memcpy.c memmove.c memset.c panic.c
     13        1.1  minoura SRCS+=		printf.c snprintf.c sprintf.c subr_prf.c twiddle.c vsprintf.c
     14        1.1  minoura 
     15        1.1  minoura SRCS+=		close.c closeall.c cread.c dev.c fstat.c ioctl.c lseek.c
     16        1.1  minoura SRCS+=		open.c read.c stat.c
     17        1.7  thorpej SRCS+=		loadfile.c loadfile_aout.c loadfile_elf32.c
     18       1.14   simonb SRCS+=		cd9660.c lfsv1.c lfsv2.c nfs.c ufs.c ufs_ls.c ustarfs.c
     19        1.4  minoura #SRCS+=		arp.c ether.c in_cksum.c net.c netif.c rpc.c udp.c
     20        1.4  minoura #SRCS+=		bootp.c
     21        1.1  minoura 
     22       1.12    isaki SRCS+=		ashldi3.c ashrdi3.c divdi3.c moddi3.c qdivrem.c
     23       1.13    isaki SRCS+=		strcat.c strchr.c strcmp.c strcpy.c strerror.c strlen.c
     24       1.13    isaki SRCS+=		strncmp.c strrchr.c
     25        1.1  minoura 
     26  1.16.16.1     yamt SRCS+=		adler32.c crc32.c inffast.c
     27  1.16.16.1     yamt SRCS+=		inflate.c inftrees.c uncompr.c
     28        1.1  minoura 
     29        1.3  minoura SRCS+=		consio.c devopen.c parseutils.c sdcd.c fd.c fdsub.S chdsk.c
     30        1.6  minoura SRCS+=		putimage.S
     31        1.1  minoura 
     32       1.10       tv NOPROFILE=	# defined
     33       1.10       tv NOPIC=		# defined
     34       1.10       tv NOLINT=		# defined
     35        1.1  minoura 
     36        1.1  minoura CPPFLAGS+=	-I${.OBJDIR} -I${LIBSADIR} -I$S -I${LIBZDIR} -D_STANDALONE
     37        1.1  minoura CPPFLAGS+=	-I${.CURDIR}/../libiocs -I${.CURDIR}/../common
     38        1.1  minoura CPPFLAGS+=	-DHEAP_VARIABLE -D__INTERNAL_LIBSA_CREAD
     39        1.3  minoura CPPFLAGS+=	-DHAVE_CHANGEDISK_HOOK
     40        1.1  minoura #CPPFLAGS+=	-DDEBUG
     41        1.1  minoura 
     42  1.16.16.1     yamt .PATH:	${LIBSADIR} ${LIBKERNDIR} ${LIBZDIR} ${LIBZDIST}
     43        1.1  minoura 
     44       1.11    isaki .include "../Makefile.booters"
     45  1.16.16.1     yamt .include "${S}/../common/lib/libc/Makefile.inc"
     46        1.9  minoura 
     47        1.9  minoura # only needed during build
     48        1.9  minoura libinstall::
     49        1.1  minoura 
     50        1.8       tv .include <bsd.own.mk>
     51        1.8       tv .undef DESTDIR
     52        1.1  minoura .include <bsd.lib.mk>
     53