NetBSD/lib/libarch/Makefile

34 lines
743 B
Makefile
Raw Normal View History

# $Id: Makefile,v 1.7 1994/07/02 22:32:15 cgd Exp $
1993-09-19 22:52:40 +04:00
.if exists(${.CURDIR}/${MACHINE})
1993-09-19 22:52:40 +04:00
.PATH: ${.CURDIR}/${MACHINE}
.include "${.CURDIR}/${MACHINE}/Makefile.inc"
AINC+= -I${.CURDIR}/${MACHINE}
.endif
.if exists(${.CURDIR}/${MACHINE_ARCH}) && (${MACHINE} != ${MACHINE_ARCH})
.PATH: ${.CURDIR}/${MACHINE_ARCH}
.include "${.CURDIR}/${MACHINE_ARCH}/Makefile.inc"
AINC+= -I${.CURDIR}/${MACHINE_ARCH}
1993-09-19 22:52:40 +04:00
.endif
OBJS+= ${ASM}
POBJS+= ${ASM:.o=.po}
CLEANFILES+= ${ASM} ${POBJS}
.if exists(${.CURDIR}/${MACHINE}) || exists(${.CURDIR}/${MACHINE_ARCH})
# then there's a lib for this machine/machine architecture
LIB= ${MACHINE}
1993-09-19 22:52:40 +04:00
.include <bsd.lib.mk>
.else
# there's NOT, so get the targets right
all:
clean:
cleandir:
1993-09-21 00:41:09 +04:00
depend:
install:
lint:
obj:
.endif