xref: /titanic_41/usr/src/man/man3malloc/Makefile (revision 1f09d37cbb915965c40754f238d96e861a30213e)
1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"), version 1.0.
4# You may only use this file in accordance with the terms of version
5# 1.0 of the CDDL.
6#
7# A full copy of the text of the CDDL should have accompanied this
8# source.  A copy of the CDDL is also available via the Internet
9# at http://www.illumos.org/license/CDDL.
10#
11
12#
13# Copyright 2011, Richard Lowe
14# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
15#
16
17include		$(SRC)/Makefile.master
18
19MANSECT= 	3malloc
20
21MANFILES= 	bsdmalloc.3malloc		\
22		malloc.3malloc			\
23		mapmalloc.3malloc		\
24		mtmalloc.3malloc		\
25		umem_alloc.3malloc		\
26		umem_cache_create.3malloc	\
27		umem_debug.3malloc		\
28		watchmalloc.3malloc
29
30MANLINKS=	calloc.3malloc			\
31		free.3malloc			\
32		mallinfo.3malloc		\
33		mallocctl.3malloc		\
34		mallopt.3malloc			\
35		memalign.3malloc		\
36		realloc.3malloc			\
37		umem_cache_alloc.3malloc	\
38		umem_cache_destroy.3malloc	\
39		umem_cache_free.3malloc		\
40		umem_free.3malloc		\
41		umem_nofail_callback.3malloc	\
42		umem_zalloc.3malloc		\
43		valloc.3malloc
44
45calloc.3malloc			:= LINKSRC = malloc.3malloc
46free.3malloc			:= LINKSRC = malloc.3malloc
47mallinfo.3malloc		:= LINKSRC = malloc.3malloc
48mallopt.3malloc			:= LINKSRC = malloc.3malloc
49memalign.3malloc		:= LINKSRC = malloc.3malloc
50realloc.3malloc			:= LINKSRC = malloc.3malloc
51valloc.3malloc			:= LINKSRC = malloc.3malloc
52
53mallocctl.3malloc		:= LINKSRC = mtmalloc.3malloc
54
55umem_free.3malloc		:= LINKSRC = umem_alloc.3malloc
56umem_nofail_callback.3malloc	:= LINKSRC = umem_alloc.3malloc
57umem_zalloc.3malloc		:= LINKSRC = umem_alloc.3malloc
58
59umem_cache_alloc.3malloc	:= LINKSRC = umem_cache_create.3malloc
60umem_cache_destroy.3malloc	:= LINKSRC = umem_cache_create.3malloc
61umem_cache_free.3malloc		:= LINKSRC = umem_cache_create.3malloc
62
63.KEEP_STATE:
64
65include		$(SRC)/man/Makefile.man
66
67install:	$(ROOTMANFILES) $(ROOTMANLINKS)
68