Home | History | Annotate | Line # | Download | only in libsa
Makefile revision 1.1
      1  1.1  minoura #	$NetBSD: Makefile,v 1.1 2001/09/27 10:03:27 minoura 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.1  minoura SRCS+=		loadfile.c
     17  1.1  minoura SRCS+=		cd9660.c lfs.c nfs.c ufs.c ustarfs.c
     18  1.1  minoura SRCS+=		arp.c ether.c in_cksum.c net.c netif.c rpc.c udp.c
     19  1.1  minoura SRCS+=		bootp.c
     20  1.1  minoura 
     21  1.1  minoura SRCS+=		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.1  minoura SRCS+=		consio.c devopen.c parseutils.c sdcd.c fd.c fdsub.S
     27  1.1  minoura 
     28  1.1  minoura MKPROFILE=	no
     29  1.1  minoura MKPIC=		no
     30  1.1  minoura MKLINT=		no
     31  1.1  minoura 
     32  1.1  minoura CPPFLAGS+=	-I${.OBJDIR} -I${LIBSADIR} -I$S -I${LIBZDIR} -D_STANDALONE
     33  1.1  minoura CPPFLAGS+=	-I${.CURDIR}/../libiocs -I${.CURDIR}/../common
     34  1.1  minoura CPPFLAGS+=	-DHEAP_VARIABLE -D__INTERNAL_LIBSA_CREAD
     35  1.1  minoura CPPFLAGS+=	-D_ZLIB_PRIVATE
     36  1.1  minoura #CPPFLAGS+=	-DDEBUG
     37  1.1  minoura 
     38  1.1  minoura .PATH:	${LIBSADIR} ${LIBKERNDIR} ${LIBZDIR}
     39  1.1  minoura 
     40  1.1  minoura .if !make(obj)
     41  1.1  minoura .BEGIN:
     42  1.1  minoura 	@([ -h machine ] || ln -s ${S}/arch/${MACHINE}/include machine)
     43  1.1  minoura 	@([ -h ${MACHINE_ARCH} ] || ln -s ${S}/arch/${MACHINE_ARCH}/include ${MACHINE_ARCH})
     44  1.1  minoura .NOPATH: machine m68k
     45  1.1  minoura CLEANFILES+= machine m68k
     46  1.1  minoura .endif
     47  1.1  minoura 
     48  1.1  minoura .include <bsd.lib.mk>
     49