1994-07-03 02:32:15 +04:00
|
|
|
# $Id: Makefile,v 1.7 1994/07/02 22:32:15 cgd Exp $
|
1993-09-19 22:52:40 +04:00
|
|
|
|
1993-12-05 17:51:56 +03: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
|
|
|
|
|
1993-12-05 17:51:56 +03:00
|
|
|
.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}
|
|
|
|
|
1994-02-26 05:26:00 +03:00
|
|
|
|
1993-12-05 17:51:56 +03:00
|
|
|
.if exists(${.CURDIR}/${MACHINE}) || exists(${.CURDIR}/${MACHINE_ARCH})
|
1994-02-26 05:26:00 +03:00
|
|
|
# then there's a lib for this machine/machine architecture
|
1993-12-05 17:51:56 +03:00
|
|
|
LIB= ${MACHINE}
|
1993-09-19 22:52:40 +04:00
|
|
|
.include <bsd.lib.mk>
|
1993-09-21 00:36:19 +04:00
|
|
|
.else
|
1994-02-26 05:26:00 +03:00
|
|
|
# there's NOT, so get the targets right
|
1993-09-21 00:36:19 +04:00
|
|
|
all:
|
1993-09-21 00:40:21 +04:00
|
|
|
clean:
|
|
|
|
cleandir:
|
1993-09-21 00:41:09 +04:00
|
|
|
depend:
|
1993-12-05 17:51:56 +03:00
|
|
|
install:
|
1994-07-03 02:32:15 +04:00
|
|
|
lint:
|
|
|
|
obj:
|
1993-09-21 00:36:19 +04:00
|
|
|
.endif
|