d9210c2405
parse quota plists; as well as a getfsquota() function to retrieve quotas for a single id from a single filesystem (whatever filesystem this is: a local quota-enabled fs or NFS). This is build on functions getufsquota() (for local filesystems with UFS-like quotas) and getnfsquota(); which are also available to userland programs. move functions from quota2_subr.c to libquota or libprop as appropriate, and ajust in-tree quota tools. move some declarations from kernel headers to either sys/quota.h or quota/quota.h as appropriate. ufs/ufs/quota.h still installed because it's needed by other installed ufs headers. ufs/ufs/quota1.h still installed as a quick&dirty way to get a code using the old quotactl() to compile (just include ufs/ufs/quota1.h instead of ufs/ufs/quota.h - old code won't compile without this change and this is on purpose). Discussed on tech-kern@ and tech-net@ (long thread, but not much about libquota itself ...)
51 lines
1.6 KiB
Makefile
51 lines
1.6 KiB
Makefile
# $NetBSD: Makefile,v 1.134 2011/03/24 17:05:42 bouyer Exp $
|
|
# @(#)Makefile 8.2 (Berkeley) 1/4/94
|
|
|
|
# Doing a make includes builds /usr/include
|
|
|
|
NOOBJ= # defined
|
|
|
|
# Missing: mp.h
|
|
|
|
INCS= a.out.h aio.h ar.h assert.h atomic.h \
|
|
bitstring.h bm.h cdbr.h cdbw.h complex.h cpio.h ctype.h \
|
|
db.h dirent.h disktab.h dlfcn.h err.h errno.h fenv.h fmtmsg.h fnmatch.h \
|
|
fstab.h fts.h ftw.h getopt.h glob.h grp.h ifaddrs.h iconv.h \
|
|
inttypes.h iso646.h kvm.h langinfo.h libgen.h \
|
|
limits.h link.h link_aout.h link_elf.h locale.h \
|
|
login_cap.h lwp.h malloc.h math.h md2.h \
|
|
memory.h mntopts.h monetary.h mpool.h mqueue.h \
|
|
ndbm.h netconfig.h netdb.h netgroup.h nlist.h nl_types.h nsswitch.h \
|
|
paths.h pwd.h randomid.h ranlib.h re_comp.h regex.h regexp.h \
|
|
resolv.h res_update.h rmt.h sched.h search.h semaphore.h setjmp.h \
|
|
sgtty.h signal.h stab.h stdbool.h stddef.h stdio.h stdlib.h string.h \
|
|
strings.h stringlist.h struct.h sysexits.h tar.h time.h \
|
|
ttyent.h tzfile.h ucontext.h ulimit.h unistd.h util.h utime.h utmp.h \
|
|
utmpx.h uuid.h varargs.h vis.h wchar.h wctype.h wordexp.h
|
|
INCS+= arpa/ftp.h arpa/inet.h arpa/nameser.h arpa/nameser_compat.h \
|
|
arpa/telnet.h arpa/tftp.h
|
|
INCS+= protocols/dumprestore.h protocols/routed.h protocols/rwhod.h \
|
|
protocols/talkd.h protocols/timed.h
|
|
|
|
INCS+= hesiod.h
|
|
|
|
INCS+= rpcsvc/yp_prot.h rpcsvc/ypclnt.h
|
|
|
|
INCS+= ssp/ssp.h ssp/stdio.h ssp/string.h ssp/strings.h ssp/unistd.h
|
|
|
|
.if (${MACHINE_ARCH} != "vax")
|
|
INCS+= ieeefp.h
|
|
.endif
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
INCSDIR= /usr/include
|
|
|
|
SUBDIR= rpc
|
|
SUBDIR+= ../common/include/prop
|
|
SUBDIR+= ../common/include/quota
|
|
|
|
.include <bsd.prog.mk>
|
|
.include <bsd.subdir.mk>
|