NetBSD/lib/libarch/Makefile.inc
jtk d4e5b34479 rearrange build structure so different architecture-specific libraries
can have separate shared library versions, by building in the arch
subdirectory.
1996-02-21 02:43:52 +00:00

16 lines
443 B
Makefile

# $NetBSD: Makefile.inc,v 1.1 1996/02/21 02:43:57 jtk Exp $
#
# This Makefile includes boiler-plate stuff included by each subdir's Makefile.
.if exists(${.CURDIR}/../${MACHINE_ARCH}) && (${MACHINE} != ${MACHINE_ARCH})
.PATH: ${.CURDIR}/../${MACHINE_ARCH}
.include "${.CURDIR}/../${MACHINE_ARCH}/Makefile.inc"
AINC+= -I${.CURDIR}/../${MACHINE_ARCH}
.endif
OBJS+= ${ASM}
POBJS+= ${ASM:.o=.po}
CLEANFILES+= ${ASM} ${POBJS}
LIB= ${MACHINE}