File:  [cvs.NetBSD.org] / othersrc / Makefile.fsu
Revision 1.6: download - view: text, annotated - select for diffs
Wed Feb 9 16:59:27 2011 UTC (15 years, 9 months ago) by pooka
Branches: MAIN
CVS tags: HEAD
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

CVSweb <webmaster@jp.NetBSD.org>