Home | History | Annotate | Line # | Download | only in libsa
Makefile revision 1.3
      1 #	$NetBSD: Makefile,v 1.3 1997/05/07 16:20:39 mycroft Exp $
      2 
      3 LIB=	sa
      4 
      5 NOPIC=
      6 NOPROFILE=
      7 OBJMACHINE=
      8 
      9 CPPFLAGS+=	${DEFS} ${INCL}
     10 CFLAGS+=	-fomit-frame-pointer -Wall
     11 NO_NET=
     12 
     13 DEFS=	-DSTANDALONE
     14 INCL=	-I- -I${S_MACHSA} -I${S_KERN} -I${S_SA} -I${S}
     15 
     16 #
     17 # NetBSD/Atari specific replacements: stand.h dev.c
     18 #
     19 
     20 # machine dependant routines
     21 SRCS=	consio.s diskio.c
     22 
     23 # from lib/libkern
     24 SRCS+=	ashrdi3.c bzero.c strcmp.c strlen.c
     25 
     26 # stand routines
     27 SRCS+=	alloc.c bcopy.c exec.c getfile.c gets.c globals.c \
     28 	memcpy.c printf.c strerror.c
     29 
     30 # io routines
     31 SRCS+=	close.c closeall.c dev.c disklabel.c dkcksum.c ioctl.c \
     32 	lseek.c open.c nullfs.c read.c stat.c fstat.c write.c
     33 
     34 .if !defined(NO_NET)
     35 # network routines
     36 SRCS+=	arp.c ether.c in_cksum.c net.c netif.c rpc.c
     37 .endif
     38 
     39 # network info services:
     40 SRCS+=	bootp.c rarp.c bootparam.c
     41 
     42 # boot filesystems
     43 SRCS+=	ufs.c nfs.c
     44 
     45 # Logically src/sys
     46 S=${.CURDIR}/../../../..
     47 S_SA=${S}/lib/libsa
     48 S_KERN=${S}/lib/libkern
     49 S_MACHSA=${S}/arch/atari/stand/libsa
     50 
     51 .PATH:  ${S_SA} ${S_KERN}
     52 
     53 # only needed during build
     54 libinstall::
     55 
     56 .include <bsd.lib.mk>
     57