Home | History | Annotate | Line # | Download | only in libsa
Makefile revision 1.6.2.1
      1  1.6.2.1  thorpej #	$NetBSD: Makefile,v 1.6.2.1 2001/11/12 21:17:46 thorpej 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.6.2.1  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.1  minoura MKPROFILE=	no
     30      1.1  minoura MKPIC=		no
     31      1.1  minoura MKLINT=		no
     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.1  minoura .if !make(obj)
     43      1.1  minoura .BEGIN:
     44      1.1  minoura 	@([ -h machine ] || ln -s ${S}/arch/${MACHINE}/include machine)
     45      1.1  minoura 	@([ -h ${MACHINE_ARCH} ] || ln -s ${S}/arch/${MACHINE_ARCH}/include ${MACHINE_ARCH})
     46      1.1  minoura .NOPATH: machine m68k
     47      1.1  minoura CLEANFILES+= machine m68k
     48      1.1  minoura .endif
     49      1.1  minoura 
     50      1.1  minoura .include <bsd.lib.mk>
     51