NetBSD/sys/arch/atari/stand/libsa/Makefile

59 lines
1.2 KiB
Makefile
Raw Normal View History

2001-12-12 04:48:43 +03:00
# $NetBSD: Makefile,v 1.13 2001/12/12 01:49:39 tv Exp $
1996-02-29 14:35:46 +03:00
LIB= sa
2001-12-12 04:48:43 +03:00
NOPIC=# defined
NOPROFILE=# defined
1996-02-29 14:35:46 +03:00
OBJMACHINE=
CPPFLAGS+= ${DEFS} ${INCL}
2001-09-08 15:21:02 +04:00
CFLAGS+= -fomit-frame-pointer -Wall -fno-function-cse -fstrength-reduce
1996-02-29 14:35:46 +03:00
NO_NET=
DEFS= -D_STANDALONE -DHEAP_VARIABLE
INCL= -I${S_MACHSA} -I${S_KERN} -I${S_SA} -I${S}
1996-02-29 14:35:46 +03:00
#
# NetBSD/Atari specific replacements: stand.h dev.c
#
# machine dependant routines
2001-09-08 15:21:02 +04:00
SRCS= consio.S diskio.c
1996-02-29 14:35:46 +03:00
# from lib/libkern
SRCS+= ashldi3.c ashrdi3.c bzero.c strcmp.c strlen.c
1996-02-29 14:35:46 +03:00
# stand routines
SRCS+= alloc.c bcopy.c exec.c getfile.c gets.c globals.c panic.c \
memcpy.c printf.c strerror.c subr_prf.c twiddle.c
1996-02-29 14:35:46 +03:00
# 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
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}
# only needed during build
libinstall::
.include <bsd.own.mk>
.undef DESTDIR
1996-02-29 14:35:46 +03:00
.include <bsd.lib.mk>