1996-05-14 14:16:13 +04:00
|
|
|
# $NetBSD: Makefile,v 1.2 1996/05/14 10:16:50 leo Exp $
|
1996-02-29 14:35:46 +03:00
|
|
|
|
|
|
|
LIB= sa
|
|
|
|
|
|
|
|
NOPIC=
|
|
|
|
NOPROFILE=
|
|
|
|
OBJMACHINE=
|
|
|
|
|
|
|
|
CPPFLAGS+= ${DEFS} ${INCL}
|
|
|
|
CFLAGS+= -fomit-frame-pointer -Wall
|
|
|
|
NO_NET=
|
|
|
|
|
|
|
|
DEFS= -DSTANDALONE
|
|
|
|
INCL= -I- -I${S_MACHSA} -I${S_KERN} -I${S_SA} -I${S}
|
|
|
|
|
|
|
|
#
|
|
|
|
# NetBSD/Atari specific replacements: stand.h dev.c
|
|
|
|
#
|
|
|
|
|
|
|
|
# machine dependant routines
|
|
|
|
SRCS= consio.s diskio.c
|
|
|
|
|
|
|
|
# from lib/libkern
|
|
|
|
SRCS+= ashrdi3.c bzero.c strcmp.c strlen.c
|
|
|
|
|
|
|
|
# stand routines
|
1996-05-14 14:16:13 +04:00
|
|
|
SRCS+= alloc.c bcopy.c exec.c getfile.c gets.c globals.c \
|
1996-02-29 14:35:46 +03:00
|
|
|
memcpy.c printf.c strerror.c
|
|
|
|
|
|
|
|
# io routines
|
|
|
|
SRCS+= close.c closeall.c dev.c disklabel.c dkcksum.c ioctl.c \
|
|
|
|
lseek.c open.c nullfs.c read.c stat.c fstat.c write.c
|
|
|
|
|
|
|
|
.if !defined(NO_NET)
|
|
|
|
# network routines
|
|
|
|
SRCS+= arp.c ether.c in_cksum.c net.c netif.c rpc.c
|
|
|
|
.endif
|
|
|
|
|
|
|
|
# network info services:
|
|
|
|
SRCS+= bootp.c rarp.c bootparam.c
|
|
|
|
|
|
|
|
# boot filesystems
|
|
|
|
SRCS+= ufs.c nfs.c
|
|
|
|
|
|
|
|
# Logically src/sys
|
1996-05-14 14:16:13 +04:00
|
|
|
S=${.CURDIR}/../../../..
|
1996-02-29 14:35:46 +03:00
|
|
|
S_SA=${S}/lib/libsa
|
|
|
|
S_KERN=${S}/lib/libkern
|
|
|
|
S_MACHSA=${S}/arch/atari/stand/libsa
|
|
|
|
|
|
|
|
.PATH: ${S_SA} ${S_KERN}
|
|
|
|
|
|
|
|
install:
|
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|