[BACK]Return to Makefile.rumpfs CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / rump / fs

File: [cvs.NetBSD.org] / src / sys / rump / fs / Attic / Makefile.rumpfs (download)

Revision 1.7, Tue Aug 14 15:56:15 2007 UTC (13 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-csl-alignment-base5, matt-armv6-prevmlocking, jmcneill-pm-base, jmcneill-base, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: yamt-lazymbuf, vmlocking, nick-csl-alignment, mjf-devfs, matt-armv6, jmcneill-pm, bouyer-xeni386
Changes since 1.6: +11 -4 lines

* split userspace file system access into two separate libraries:
  + libp2k: the interface between libpuffs and vfs/vop
  + libukfs: generic user kernel file system library, usable
	     independent of libp2k and/or puffs
* use file system name (MOUNT_XYZ) instead of vfsops pointer to
  mount file system

#	$NetBSD: Makefile.rumpfs,v 1.7 2007/08/14 15:56:15 pooka Exp $
#

.include <bsd.own.mk>

RUMPFSLIST=	cd9660fs efs ext2fs ffs hfs lfs msdosfs ntfs tmpfs udf
RUMPFSALL=	${RUMPFSLIST} p2k ukfs ufs

RUMPFSLIBDIR?=	${NETBSDSRCDIR}/sys/rump/fs/lib

.for var in ${RUMPFSALL}
RUMPFSLIBS+=lib${var}
.endfor

# this is a hack: PRINTOBJDIR is really expensive, so do it only when necessary
.ifndef RUMPFS_NOFSLIB
RUMPFS_WANT+=${PROG} p2k ukfs
.endif

.for var in ${RUMPFS_WANT}
.ifndef RUMPFSLIB${var:tu}OBJDIR
RUMPFSLIB${var:tu}OBJDIR != cd ${RUMPFSLIBDIR}/lib${var} && ${PRINTOBJDIR}
RUMPFSLD_${var:tu}:=-L${RUMPFSLIB${var:tu}OBJDIR} -Wl,--whole-archive \
		      -l${var} -Wl,--no-whole-archive
RUMPFSDP_${var:tu}:=${RUMPFSLIB${var:tu}OBJDIR}/lib${var}.a

RUMPFSLD_ALL+=${RUMPFSLD_${var:tu}}
RUMPFSDP_ALL+=${RUMPFSDP_${var:tu}}
.endif
.endfor