[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libppath

File: [cvs.NetBSD.org] / src / lib / libppath / Makefile (download)

Revision 1.1, Thu Aug 25 14:55:36 2011 UTC (8 years, 6 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: yamt-pagecache

Add sources, Makefiles, and manual pages for ppath(3), a
property-container path library that is usable from both userland and
the kernel.

TBD: hook this into the build, update set lists, and add automated
tests.

#	$NetBSD: Makefile,v 1.1 2011/08/25 14:55:36 dyoung Exp $

.include <bsd.own.mk>

WARNS=4
USE_SHLIBDIR=	yes

PPATHLIBDIR=${NETBSDSRCDIR}/common/lib/libppath

.include "${PPATHLIBDIR}/Makefile.inc"

#CPPFLAGS+=-D_LIBPPATH
#CPPFLAGS+=-D_REENTRANT -I${NETBSDSRCDIR}/lib/libc/include

SRCS+=ppath_malloc.c

LINTFLAGS+=-w
LIB=	ppath

MAN+=		ppath.3
MLINKS+=	ppath.3 ppath_component_at.3
MLINKS+=	ppath.3 ppath_component_idx.3
MLINKS+=	ppath.3 ppath_component_key.3
MLINKS+=	ppath.3 ppath_component_release.3
MLINKS+=	ppath.3 ppath_component_retain.3
MLINKS+=	ppath.3 ppath_copy.3
MLINKS+=	ppath.3 ppath_create.3
MLINKS+=	ppath.3 ppath_idx.3
MLINKS+=	ppath.3 ppath_key.3
MLINKS+=	ppath.3 ppath_length.3
MLINKS+=	ppath.3 ppath_lookup.3
MLINKS+=	ppath.3 ppath_pop.3
MLINKS+=	ppath.3 ppath_push.3
MLINKS+=	ppath.3 ppath_push_idx.3
MLINKS+=	ppath.3 ppath_push_key.3
MLINKS+=	ppath.3 ppath_release.3
MLINKS+=	ppath.3 ppath_replace_idx.3
MLINKS+=	ppath.3 ppath_replace_key.3
MLINKS+=	ppath.3 ppath_retain.3
MLINKS+=	ppath.3 ppath_subpath.3

MAN+=		ppath_bool.3
MLINKS+=	ppath_bool.3 ppath_copydel_bool.3
MLINKS+=	ppath_bool.3 ppath_copyset_bool.3
MLINKS+=	ppath_bool.3 ppath_delete_bool.3
MLINKS+=	ppath_bool.3 ppath_get_bool.3
MLINKS+=	ppath_bool.3 ppath_set_bool.3

MAN+=		ppath_number.3
MLINKS+=	ppath_number.3 ppath_copydel_int64.3
MLINKS+=	ppath_number.3 ppath_copydel_uint64.3
MLINKS+=	ppath_number.3 ppath_copyset_int64.3
MLINKS+=	ppath_number.3 ppath_copyset_uint64.3
MLINKS+=	ppath_number.3 ppath_delete_int64.3
MLINKS+=	ppath_number.3 ppath_delete_uint64.3
MLINKS+=	ppath_number.3 ppath_get_int64.3
MLINKS+=	ppath_number.3 ppath_get_uint64.3
MLINKS+=	ppath_number.3 ppath_set_int64.3
MLINKS+=	ppath_number.3 ppath_set_uint64.3

MAN+=		ppath_object.3
MLINKS+=	ppath_object.3 ppath_copydel_object.3
MLINKS+=	ppath_object.3 ppath_copyset_object.3
MLINKS+=	ppath_object.3 ppath_delete_object.3
MLINKS+=	ppath_object.3 ppath_get_object.3
MLINKS+=	ppath_object.3 ppath_set_object.3

.include <bsd.lib.mk>