[BACK]Return to Makefile.fsu CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / othersrc

File: [cvs.NetBSD.org] / othersrc / Makefile.fsu (download)

Revision 1.6, Wed Feb 9 16:59:27 2011 UTC (3 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +0 -9 lines

duh, revert previous.  they were already there

#	$NetBSD: Makefile.fsu,v 1.6 2011/02/09 16:59:27 pooka Exp $
#

.include 	"../../Makefile.gen"

CFLAGS+=	-DUSE_UKFS -I${INCSDIR}
CFLAGS+=	-I../../lib/libfsu_mount -I../../lib/libfsu_utils
CFLAGS+=	-I../../fsu_compat

LDADD+=		-L../../lib/libfsu_mount -lfsu_mount
LDADD+=		-L../../lib/libfsu_utils -lfsu_utils
LDADD+= 	-L${LIBDIR} -lukfs -lrumpuser
LDADD+=		-lutil -lpthread

.if exists(${LIBDIR}/librumpvfs.so) || exists(/usr/lib/librumpvfs.so)
LDADD+= 	-lrumpvfs
.endif
.if exists(${LIBDIR}/librumpvdev_disk.so) || exists(/usr/lib/librumpdev_disk.so)
LDADD+= 	-lrumpdev_disk
.endif
.if exists(${LIBDIR}/librumpdev_putter.so) || exists(/usr/lib/librumpdev_putter.so)
LDADD+= 	-lrumpdev_putter
.endif
.if exists(${LIBDIR}/librumpdev.so) || exists(/usr/lib/librumpdev.so)
LDADD+= 	-lrumpdev
.endif

LDADD+=		-lrump

.if ${OSNAME} == "Linux"
CFLAGS+=	-D'__COPYRIGHT(x)=' -D'__RCSID(x)='
CFLAGS+=        -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
.endif