diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-01-16 09:27:14 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-01-16 09:27:14 +0000 |
commit | e9f16b69855062feac440e972c93cef99ece8bd4 (patch) | |
tree | 5073df0ec395d6ba5b171435054e4eee05fc68a3 /sys/arch/amiga/stand/boot/libsa | |
parent | 835aeeacc264a5ba177151c158181779163da7ad (diff) |
Sync to NetBSD 970110
Diffstat (limited to 'sys/arch/amiga/stand/boot/libsa')
-rw-r--r-- | sys/arch/amiga/stand/boot/libsa/Makefile | 46 | ||||
-rw-r--r-- | sys/arch/amiga/stand/boot/libsa/Makefile.inc | 24 |
2 files changed, 70 insertions, 0 deletions
diff --git a/sys/arch/amiga/stand/boot/libsa/Makefile b/sys/arch/amiga/stand/boot/libsa/Makefile new file mode 100644 index 00000000000..f6a3ee7fa06 --- /dev/null +++ b/sys/arch/amiga/stand/boot/libsa/Makefile @@ -0,0 +1,46 @@ +# $OpenBSD: Makefile,v 1.1 1997/01/16 09:26:53 niklas Exp $ +# $NetBSD: Makefile,v 1.1.1.1 1996/11/29 23:36:30 is Exp $ + +LIB= sa + +DIR_SA = ${.CURDIR}/../../../../../lib/libsa +DIR_KERN = ${.CURDIR}/../../../../../lib/libkern +DIR_KERN_MD = ${.CURDIR}/../../../../../lib/libkern/arch/$(MACHINE_ARCH) + +TXLT = ${.CURDIR}/../txlt/txlt + +.PATH: $(DIR_SA) $(DIR_KERN) $(DIR_KERN_MD) + +CFLAGS+=-DSTANDALONE -DINSECURE ${DEBUGFLAGS} +# -DCOMPAT_UFS +CFLAGS+=-I${.CURDIR}/../../../../.. -I${.CURDIR}/../../../../../lib/libsa +CFLAGS+=-O2 -fomit-frame-pointer -fno-function-cse -m68060 -Wa,-l -Wa,-m68030 +CFLAGS+=$(COPTS) + +# stand routines +SRCS= gets.c +# memcpy.c bcopy.c strerror.c + +# io routines +SRCS+= close.c lseek.c open.c read.c dev.c + +# dev.c stat.c + +# boot filesystems +SRCS+= ufs.c + +# kernlib routines +SRCS+= strlen.S strcmp.S +#$(DIR_KERN)/bcmp.c + + +#ashrdi3.c bzero.S muldi3.S + +NOPROFILE= +NOPIC= +OBJMACHINE= + +install: + +.include <bsd.lib.mk> +.include "../Makefile.txlt" diff --git a/sys/arch/amiga/stand/boot/libsa/Makefile.inc b/sys/arch/amiga/stand/boot/libsa/Makefile.inc new file mode 100644 index 00000000000..35aeea68879 --- /dev/null +++ b/sys/arch/amiga/stand/boot/libsa/Makefile.inc @@ -0,0 +1,24 @@ +# $OpenBSD: Makefile.inc,v 1.1 1997/01/16 09:26:54 niklas Exp $ +# $NetBSD: Makefile.inc,v 1.1.1.1 1996/11/29 23:36:30 is Exp $ + +# NOTE: $S must correspond to the top of the 'sys' tree + +SA_DIR= $S/arch/amiga/stand/boot/libsa + +.if exists($(SA_DIR)/obj.${MACHINE}) +SA_LIBDIR= $(SA_DIR)/obj.${MACHINE} +.else +SA_LIBDIR= $(SA_DIR) +.endif + +SA_LIB= $(SA_LIBDIR)/libsa.a + +$(SA_LIB): .NOTMAIN __always_make_sa_lib + @echo making sure the stand-alone library is up to date... + @(cd $(SA_DIR) ; make) + +clean:: .NOTMAIN __always_make_sa_lib + @echo cleaning the stand-alone library objects + @(cd $(SA_DIR) ; make clean) + +__always_make_sa_lib: .NOTMAIN |