xref: /illumos-gate/usr/src/man/man3malloc/Makefile (revision 09fbbb7d1b5a956a9b81304070dcff318a4a158e)
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		umem_setmtbf.3malloc		\
29		watchmalloc.3malloc
30
31MANLINKS=	calloc.3malloc			\
32		free.3malloc			\
33		mallinfo.3malloc		\
34		mallocctl.3malloc		\
35		mallopt.3malloc			\
36		memalign.3malloc		\
37		realloc.3malloc			\
38		umem_cache_alloc.3malloc	\
39		umem_cache_destroy.3malloc	\
40		umem_cache_free.3malloc		\
41		umem_free.3malloc		\
42		umem_nofail_callback.3malloc	\
43		umem_zalloc.3malloc		\
44		valloc.3malloc
45
46calloc.3malloc			:= LINKSRC = malloc.3malloc
47free.3malloc			:= LINKSRC = malloc.3malloc
48mallinfo.3malloc		:= LINKSRC = malloc.3malloc
49mallopt.3malloc			:= LINKSRC = malloc.3malloc
50memalign.3malloc		:= LINKSRC = malloc.3malloc
51realloc.3malloc			:= LINKSRC = malloc.3malloc
52valloc.3malloc			:= LINKSRC = malloc.3malloc
53
54mallocctl.3malloc		:= LINKSRC = mtmalloc.3malloc
55
56umem_free.3malloc		:= LINKSRC = umem_alloc.3malloc
57umem_nofail_callback.3malloc	:= LINKSRC = umem_alloc.3malloc
58umem_zalloc.3malloc		:= LINKSRC = umem_alloc.3malloc
59
60umem_cache_alloc.3malloc	:= LINKSRC = umem_cache_create.3malloc
61umem_cache_destroy.3malloc	:= LINKSRC = umem_cache_create.3malloc
62umem_cache_free.3malloc		:= LINKSRC = umem_cache_create.3malloc
63
64.KEEP_STATE:
65
66include		$(SRC)/man/Makefile.man
67
68install:	$(ROOTMANFILES) $(ROOTMANLINKS)
69