xref: /titanic_44/usr/src/man/man3malloc/Makefile (revision cf58b2543a341d4f5a661de47968a7016c3207ff)
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# Copyright 2011, Richard Lowe
13
14include ../../Makefile.master
15
16MANSECT = 	3malloc
17
18MANFILES = 	bsdmalloc.3malloc		\
19		malloc.3malloc			\
20		mapmalloc.3malloc		\
21		mtmalloc.3malloc		\
22		umem_alloc.3malloc		\
23		umem_cache_create.3malloc	\
24		umem_debug.3malloc		\
25		watchmalloc.3malloc
26
27MANSOFILES =	calloc.3malloc			\
28		free.3malloc			\
29		mallinfo.3malloc		\
30		mallocctl.3malloc		\
31		mallopt.3malloc			\
32		memalign.3malloc		\
33		realloc.3malloc			\
34		umem_cache_alloc.3malloc	\
35		umem_cache_destroy.3malloc	\
36		umem_cache_free.3malloc		\
37		umem_free.3malloc		\
38		umem_nofail_callback.3malloc	\
39		umem_zalloc.3malloc		\
40		valloc.3malloc
41
42MANFILES +=	$(MANSOFILES)
43
44calloc.3malloc			:= SOSRC = man3malloc/malloc.3malloc
45free.3malloc			:= SOSRC = man3malloc/malloc.3malloc
46mallinfo.3malloc		:= SOSRC = man3malloc/malloc.3malloc
47mallopt.3malloc			:= SOSRC = man3malloc/malloc.3malloc
48memalign.3malloc		:= SOSRC = man3malloc/malloc.3malloc
49realloc.3malloc			:= SOSRC = man3malloc/malloc.3malloc
50valloc.3malloc			:= SOSRC = man3malloc/malloc.3malloc
51
52mallocctl.3malloc		:= SOSRC = man3malloc/mtmalloc.3malloc
53
54umem_free.3malloc		:= SOSRC = man3malloc/umem_alloc.3malloc
55umem_nofail_callback.3malloc	:= SOSRC = man3malloc/umem_alloc.3malloc
56umem_zalloc.3malloc		:= SOSRC = man3malloc/umem_alloc.3malloc
57
58umem_cache_alloc.3malloc	:= SOSRC = man3malloc/umem_cache_create.3malloc
59umem_cache_destroy.3malloc	:= SOSRC = man3malloc/umem_cache_create.3malloc
60umem_cache_free.3malloc		:= SOSRC = man3malloc/umem_cache_create.3malloc
61
62.KEEP_STATE:
63
64include ../Makefile.man
65
66install: $(ROOTMANFILES)
67
68