fddc3457b2
made to fail. Specifically, change .ifdef(SYMBOL) -> .ifdef SYMBOL or .if defined(SYMBOL), and corresponding for .ifndef. Also correct one error in lib/libm/Makefile (.ifdef (${MKCOMPLEX} != "no")?!?).
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# $NetBSD: Makefile.inc,v 1.10 2009/01/18 20:42:11 he Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
.include <bsd.sys.mk>
|
|
|
|
USE_FORT?= yes # network client
|
|
|
|
.if exists(${.CURDIR}/../../Makefile.inc)
|
|
.include "${.CURDIR}/../../Makefile.inc"
|
|
.endif
|
|
|
|
.ifdef ISRUMP
|
|
.ifdef MOUNTNAME
|
|
PROG= rump_${MOUNTNAME}
|
|
MAN= rump_${MOUNTNAME}.8
|
|
|
|
MOUNTDIR= ${.CURDIR}/../../../sbin
|
|
MOUNT= ${MOUNTDIR}/mount
|
|
|
|
CPPFLAGS+= -I${MOUNTDIR}/mount_${MOUNTNAME} -I${MOUNT} -DMOUNT_NOMAIN
|
|
SRCS+= mount_${MOUNTNAME}.c rump_${MOUNTNAME}.c pathadj.c fattr.c
|
|
|
|
# on select archs use the kernel module directly, otherwise fallback
|
|
# to the rump library
|
|
.undef RUMPKMOD
|
|
.ifdef RUMPKMOD
|
|
OSRELEASE!= ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh
|
|
KMODULEDIR= ${DESTDIR}/stand/${MACHINE}/${OSRELEASE}/modules/${MOUNTNAME}
|
|
LDADD+= ${KMODULEDIR}/${MOUNTNAME}.kmod
|
|
.else
|
|
LDADD+= -lrumpfs_${MOUNTNAME}
|
|
.endif
|
|
|
|
.PATH: ${MOUNT} ${MOUNTDIR}/mount_${MOUNTNAME}
|
|
.endif # MOUNTNAME
|
|
|
|
LDADD+= -lp2k -lukfs -lrumpvfs -lrump -lrumpuser -lpuffs -lutil
|
|
LDADD+= -lpthread
|
|
|
|
DPADD+= ${LIBP2K} ${LIBUKFS} ${LIBRUMPVFS} ${LIBRUMP} ${LIBRUMPUSER}
|
|
DPADD+= ${LIBPUFFS} ${LIBUTIL} ${LIBPTHREAD}
|
|
.endif # ISRUMP
|