Home | History | Annotate | Line # | Download | only in libsa
Makefile revision 1.28
      1 #	$NetBSD: Makefile,v 1.28 2009/01/06 13:35:30 tsutsui Exp $
      2 
      3 LIB=	sa
      4 
      5 NOPIC=		# defined
      6 NOPROFILE=	# defined
      7 NOLINT=		# defnied
      8 
      9 NO_NET=
     10 
     11 # Logically src/sys
     12 S=${.CURDIR}/../../../..
     13 S_SA=${S}/lib/libsa
     14 S_KERN=${S}/lib/libkern
     15 S_MACHSA=${S}/arch/atari/stand/libsa
     16 
     17 .include "${S}/../common/lib/libc/Makefile.inc"
     18 
     19 .include "../Makefile.booters"
     20 
     21 CPPFLAGS+=	-I. -I${S_MACHSA} -I${S_KERN} -I${S_SA} -I${S}
     22 
     23 .PATH:  ${S_SA} ${S_KERN}
     24 
     25 #
     26 # NetBSD/atari specific replacements: dev.c
     27 #
     28 
     29 # machine dependant routines
     30 SRCS=	consio.S diskio.c
     31 
     32 # from common/lib/libc
     33 SRCS+=	ashldi3.c ashrdi3.c bzero.c strcmp.c strlen.c
     34 
     35 # stand routines
     36 SRCS+=	alloc.c bcmp.c bcopy.c exec.c files.c getfile.c gets.c globals.c \
     37 	panic.c memcmp.c memcpy.c memmove.c memset.c printf.c strerror.c \
     38 	subr_prf.c twiddle.c
     39 
     40 # io routines
     41 SRCS+=	close.c closeall.c dev.c disklabel.c dkcksum.c ioctl.c \
     42 	lseek.c open.c nullfs.c read.c stat.c fstat.c write.c
     43 
     44 .if !defined(NO_NET)
     45 # network routines
     46 SRCS+=	arp.c ether.c in_cksum.c net.c netif.c rpc.c
     47 .endif
     48 
     49 # network info services:
     50 SRCS+=	bootp.c rarp.c bootparam.c
     51 
     52 # boot filesystems
     53 SRCS+=	ufs.c nfs.c
     54 
     55 # only needed during build
     56 libinstall::
     57 
     58 .include <bsd.own.mk>
     59 .undef DESTDIR
     60 .include <bsd.lib.mk>
     61