diff options
| author | brezak <brezak@NetBSD.org> | 1993-09-19 18:52:40 +0000 |
|---|---|---|
| committer | brezak <brezak@NetBSD.org> | 1993-09-19 18:52:40 +0000 |
| commit | 9e26d6413aa2fc0c90735849a2baef3a5ea396fe (patch) | |
| tree | 3fcd73f42c27a2069fcc06d3ff2eeb9166943099 /lib/libarch | |
| parent | 6b9e025ea94e55eaad67596a0acce97c8890000e (diff) | |
Add architecture dependant library.
Diffstat (limited to 'lib/libarch')
| -rw-r--r-- | lib/libarch/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/libarch/Makefile b/lib/libarch/Makefile new file mode 100644 index 00000000000..91fb3c768ac --- /dev/null +++ b/lib/libarch/Makefile @@ -0,0 +1,24 @@ +# Makefile,v 1.6 1993/09/10 23:32:17 jtc Exp + +ARCH?=${MACHINE} +LIB= ${ARCH} + +.if exists (${.CURDIR}/${MACHINE}/Makefile.inc) +.PATH: ${.CURDIR}/${MACHINE} +.include "${.CURDIR}/${MACHINE}/Makefile.inc" +AINC+= -I${.CURDIR}/${MACHINE} +.endif + +.if defined(ARCH) && !empty(ARCH) +.if exists (${.CURDIR}/${ARCH}/Makefile.inc) +.PATH: ${.CURDIR}/${ARCH} +.include "${.CURDIR}/${ARCH}/Makefile.inc" +AINC+= -I${.CURDIR}/${ARCH} +.endif +.endif + +OBJS+= ${ASM} +POBJS+= ${ASM:.o=.po} +CLEANFILES+= ${ASM} ${POBJS} + +.include <bsd.lib.mk> |
