Home | History | Annotate | Line # | Download | only in libsa
Makefile revision 1.25
      1  1.25  tsutsui #	$NetBSD: Makefile,v 1.25 2009/03/19 10:19:33 tsutsui 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.19       he LIBZDIST=	$S/../common/dist/zlib
      8   1.1  minoura 
      9   1.1  minoura LIB=		sa
     10   1.1  minoura 
     11  1.25  tsutsui SRCS+=		alloc.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.23       he SRCS+=		globals.c
     20   1.4  minoura #SRCS+=		arp.c ether.c in_cksum.c net.c netif.c rpc.c udp.c
     21   1.4  minoura #SRCS+=		bootp.c
     22   1.1  minoura 
     23  1.12    isaki SRCS+=		ashldi3.c ashrdi3.c divdi3.c moddi3.c qdivrem.c
     24  1.13    isaki SRCS+=		strcat.c strchr.c strcmp.c strcpy.c strerror.c strlen.c
     25  1.13    isaki SRCS+=		strncmp.c strrchr.c
     26   1.1  minoura 
     27  1.19       he SRCS+=		adler32.c crc32.c inffast.c
     28  1.19       he SRCS+=		inflate.c inftrees.c uncompr.c
     29   1.1  minoura 
     30   1.3  minoura SRCS+=		consio.c devopen.c parseutils.c sdcd.c fd.c fdsub.S chdsk.c
     31   1.6  minoura SRCS+=		putimage.S
     32   1.1  minoura 
     33  1.10       tv NOPROFILE=	# defined
     34  1.10       tv NOPIC=		# defined
     35  1.10       tv NOLINT=		# defined
     36   1.1  minoura 
     37  1.24  tsutsui CPPFLAGS+=	-I${.OBJDIR} -I${LIBSADIR} -I$S -I${LIBZDIR} -I${LIBZDIST}
     38   1.1  minoura CPPFLAGS+=	-I${.CURDIR}/../libiocs -I${.CURDIR}/../common
     39  1.24  tsutsui CPPFLAGS+=	-D_STANDALONE
     40   1.1  minoura CPPFLAGS+=	-DHEAP_VARIABLE -D__INTERNAL_LIBSA_CREAD
     41   1.3  minoura CPPFLAGS+=	-DHAVE_CHANGEDISK_HOOK
     42  1.22    isaki CPPFLAGS+=	-DUSTAR_SECT_PER_CYL=16
     43   1.1  minoura #CPPFLAGS+=	-DDEBUG
     44   1.1  minoura 
     45  1.19       he .PATH:	${LIBSADIR} ${LIBKERNDIR} ${LIBZDIR} ${LIBZDIST}
     46   1.1  minoura 
     47  1.11    isaki .include "../Makefile.booters"
     48  1.18       he .include "${S}/../common/lib/libc/Makefile.inc"
     49   1.9  minoura 
     50   1.9  minoura # only needed during build
     51   1.9  minoura libinstall::
     52   1.1  minoura 
     53   1.8       tv .include <bsd.own.mk>
     54   1.8       tv .undef DESTDIR
     55   1.1  minoura .include <bsd.lib.mk>
     56