xref: /titanic_50/usr/src/man/man3elf/Makefile (revision a9478106a12424322498e53cf7cd75bd8a4d6004)
1c10c16deSRichard Lowe#
2c10c16deSRichard Lowe# This file and its contents are supplied under the terms of the
3c10c16deSRichard Lowe# Common Development and Distribution License ("CDDL"), version 1.0.
4c10c16deSRichard Lowe# You may only use this file in accordance with the terms of version
5c10c16deSRichard Lowe# 1.0 of the CDDL.
6c10c16deSRichard Lowe#
7c10c16deSRichard Lowe# A full copy of the text of the CDDL should have accompanied this
8c10c16deSRichard Lowe# source.  A copy of the CDDL is also available via the Internet
9c10c16deSRichard Lowe# at http://www.illumos.org/license/CDDL.
10c10c16deSRichard Lowe#
11c10c16deSRichard Lowe
12*a9478106SYuri Pankov#
13c10c16deSRichard Lowe# Copyright 2011, Richard Lowe
14*a9478106SYuri Pankov# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
15*a9478106SYuri Pankov#
16c10c16deSRichard Lowe
17*a9478106SYuri Pankovinclude		$(SRC)/Makefile.master
18c10c16deSRichard Lowe
19c10c16deSRichard LoweMANSECT= 	3elf
20c10c16deSRichard Lowe
21c10c16deSRichard LoweMANFILES= 	elf.3elf		\
22c10c16deSRichard Lowe	 	elf32_checksum.3elf	\
23c10c16deSRichard Lowe	 	elf32_fsize.3elf	\
24c10c16deSRichard Lowe	 	elf32_getehdr.3elf	\
25c10c16deSRichard Lowe	 	elf32_getphdr.3elf	\
26c10c16deSRichard Lowe	 	elf32_getshdr.3elf	\
27c10c16deSRichard Lowe	 	elf32_xlatetof.3elf	\
28c10c16deSRichard Lowe	 	elf_begin.3elf		\
29c10c16deSRichard Lowe	 	elf_cntl.3elf		\
30c10c16deSRichard Lowe	 	elf_errmsg.3elf		\
31c10c16deSRichard Lowe	 	elf_fill.3elf		\
32c10c16deSRichard Lowe	 	elf_flagdata.3elf	\
33c10c16deSRichard Lowe	 	elf_getarhdr.3elf	\
34c10c16deSRichard Lowe	 	elf_getarsym.3elf	\
35c10c16deSRichard Lowe	 	elf_getbase.3elf	\
36c10c16deSRichard Lowe	 	elf_getdata.3elf	\
37c10c16deSRichard Lowe	 	elf_getident.3elf	\
38c10c16deSRichard Lowe	 	elf_getscn.3elf		\
39c10c16deSRichard Lowe	 	elf_hash.3elf		\
40c10c16deSRichard Lowe	 	elf_kind.3elf		\
41c10c16deSRichard Lowe	 	elf_rawfile.3elf	\
42c10c16deSRichard Lowe	 	elf_strptr.3elf		\
43c10c16deSRichard Lowe	 	elf_update.3elf		\
44c10c16deSRichard Lowe	 	elf_version.3elf	\
45c10c16deSRichard Lowe	 	gelf.3elf		\
46c10c16deSRichard Lowe	 	nlist.3elf
47c10c16deSRichard Lowe
48*a9478106SYuri PankovMANLINKS=	elf32_newehdr.3elf		\
49c10c16deSRichard Lowe		elf32_newphdr.3elf		\
50c10c16deSRichard Lowe		elf32_xlatetom.3elf		\
51c10c16deSRichard Lowe		elf64_checksum.3elf		\
52c10c16deSRichard Lowe		elf64_fsize.3elf		\
53c10c16deSRichard Lowe		elf64_getehdr.3elf		\
54c10c16deSRichard Lowe		elf64_getphdr.3elf		\
55c10c16deSRichard Lowe		elf64_getshdr.3elf		\
56c10c16deSRichard Lowe		elf64_newehdr.3elf		\
57c10c16deSRichard Lowe		elf64_newphdr.3elf		\
58c10c16deSRichard Lowe		elf64_xlatetof.3elf		\
59c10c16deSRichard Lowe		elf64_xlatetom.3elf		\
60c10c16deSRichard Lowe		elf_end.3elf			\
61c10c16deSRichard Lowe		elf_errno.3elf			\
62c10c16deSRichard Lowe		elf_flagehdr.3elf		\
63c10c16deSRichard Lowe		elf_flagelf.3elf		\
64c10c16deSRichard Lowe		elf_flagphdr.3elf		\
65c10c16deSRichard Lowe		elf_flagscn.3elf		\
66c10c16deSRichard Lowe		elf_flagshdr.3elf		\
67c10c16deSRichard Lowe		elf_getphdrnum.3elf		\
68c10c16deSRichard Lowe		elf_getphnum.3elf		\
69c10c16deSRichard Lowe		elf_getshdrnum.3elf		\
70c10c16deSRichard Lowe		elf_getshdrstrndx.3elf		\
71c10c16deSRichard Lowe		elf_getshnum.3elf		\
72c10c16deSRichard Lowe		elf_getshstrndx.3elf		\
73c10c16deSRichard Lowe		elf_memory.3elf			\
74c10c16deSRichard Lowe		elf_ndxscn.3elf			\
75c10c16deSRichard Lowe		elf_newdata.3elf		\
76c10c16deSRichard Lowe		elf_newscn.3elf			\
77c10c16deSRichard Lowe		elf_next.3elf			\
78c10c16deSRichard Lowe		elf_nextscn.3elf		\
79c10c16deSRichard Lowe		elf_rand.3elf			\
80c10c16deSRichard Lowe		elf_rawdata.3elf		\
81c10c16deSRichard Lowe		gelf_checksum.3elf		\
82c10c16deSRichard Lowe		gelf_fsize.3elf			\
83c10c16deSRichard Lowe		gelf_getcap.3elf		\
84c10c16deSRichard Lowe		gelf_getclass.3elf		\
85c10c16deSRichard Lowe		gelf_getdyn.3elf		\
86c10c16deSRichard Lowe		gelf_getehdr.3elf		\
87c10c16deSRichard Lowe		gelf_getmove.3elf		\
88c10c16deSRichard Lowe		gelf_getphdr.3elf		\
89c10c16deSRichard Lowe		gelf_getrel.3elf		\
90c10c16deSRichard Lowe		gelf_getrela.3elf		\
91c10c16deSRichard Lowe		gelf_getshdr.3elf		\
92c10c16deSRichard Lowe		gelf_getsym.3elf		\
93c10c16deSRichard Lowe		gelf_getsyminfo.3elf		\
94c10c16deSRichard Lowe		gelf_getsymshndx.3elf		\
95c10c16deSRichard Lowe		gelf_newehdr.3elf		\
96c10c16deSRichard Lowe		gelf_newphdr.3elf		\
97c10c16deSRichard Lowe		gelf_update_cap.3elf		\
98c10c16deSRichard Lowe		gelf_update_dyn.3elf		\
99c10c16deSRichard Lowe		gelf_update_ehdr.3elf		\
100c10c16deSRichard Lowe		gelf_update_getmove.3elf	\
101c10c16deSRichard Lowe		gelf_update_move.3elf		\
102c10c16deSRichard Lowe		gelf_update_phdr.3elf		\
103c10c16deSRichard Lowe		gelf_update_rel.3elf		\
104c10c16deSRichard Lowe		gelf_update_rela.3elf		\
105c10c16deSRichard Lowe		gelf_update_shdr.3elf		\
106c10c16deSRichard Lowe		gelf_update_sym.3elf		\
107c10c16deSRichard Lowe		gelf_update_syminfo.3elf	\
108c10c16deSRichard Lowe		gelf_update_symshndx.3elf	\
109c10c16deSRichard Lowe		gelf_xlatetof.3elf		\
110c10c16deSRichard Lowe		gelf_xlatetom.3elf
111c10c16deSRichard Lowe
112*a9478106SYuri Pankovelf64_checksum.3elf		:= LINKSRC = elf32_checksum.3elf
113c10c16deSRichard Lowe
114*a9478106SYuri Pankovelf64_fsize.3elf		:= LINKSRC = elf32_fsize.3elf
115c10c16deSRichard Lowe
116*a9478106SYuri Pankovelf32_newehdr.3elf		:= LINKSRC = elf32_getehdr.3elf
117*a9478106SYuri Pankovelf64_getehdr.3elf		:= LINKSRC = elf32_getehdr.3elf
118*a9478106SYuri Pankovelf64_newehdr.3elf		:= LINKSRC = elf32_getehdr.3elf
119*a9478106SYuri Pankovelf32_newphdr.3elf		:= LINKSRC = elf32_getphdr.3elf
120*a9478106SYuri Pankovelf64_getphdr.3elf		:= LINKSRC = elf32_getphdr.3elf
121*a9478106SYuri Pankovelf64_newphdr.3elf		:= LINKSRC = elf32_getphdr.3elf
122*a9478106SYuri Pankovelf64_getshdr.3elf		:= LINKSRC = elf32_getshdr.3elf
123c10c16deSRichard Lowe
124*a9478106SYuri Pankovelf32_xlatetom.3elf		:= LINKSRC = elf32_xlatetof.3elf
125*a9478106SYuri Pankovelf64_xlatetof.3elf		:= LINKSRC = elf32_xlatetof.3elf
126*a9478106SYuri Pankovelf64_xlatetom.3elf		:= LINKSRC = elf32_xlatetof.3elf
127c10c16deSRichard Lowe
128*a9478106SYuri Pankovelf_end.3elf			:= LINKSRC = elf_begin.3elf
129*a9478106SYuri Pankovelf_memory.3elf			:= LINKSRC = elf_begin.3elf
130*a9478106SYuri Pankovelf_next.3elf			:= LINKSRC = elf_begin.3elf
131*a9478106SYuri Pankovelf_rand.3elf			:= LINKSRC = elf_begin.3elf
132c10c16deSRichard Lowe
133*a9478106SYuri Pankovelf_errno.3elf			:= LINKSRC = elf_errmsg.3elf
134c10c16deSRichard Lowe
135*a9478106SYuri Pankovelf_flagehdr.3elf		:= LINKSRC = elf_flagdata.3elf
136*a9478106SYuri Pankovelf_flagelf.3elf		:= LINKSRC = elf_flagdata.3elf
137*a9478106SYuri Pankovelf_flagphdr.3elf		:= LINKSRC = elf_flagdata.3elf
138*a9478106SYuri Pankovelf_flagscn.3elf		:= LINKSRC = elf_flagdata.3elf
139*a9478106SYuri Pankovelf_flagshdr.3elf		:= LINKSRC = elf_flagdata.3elf
140c10c16deSRichard Lowe
141*a9478106SYuri Pankovelf_newdata.3elf		:= LINKSRC = elf_getdata.3elf
142*a9478106SYuri Pankovelf_rawdata.3elf		:= LINKSRC = elf_getdata.3elf
143c10c16deSRichard Lowe
144*a9478106SYuri Pankovelf_getphdrnum.3elf		:= LINKSRC = elf_getident.3elf
145*a9478106SYuri Pankovelf_getphnum.3elf		:= LINKSRC = elf_getident.3elf
146*a9478106SYuri Pankovelf_getshdrnum.3elf		:= LINKSRC = elf_getident.3elf
147*a9478106SYuri Pankovelf_getshdrstrndx.3elf		:= LINKSRC = elf_getident.3elf
148*a9478106SYuri Pankovelf_getshnum.3elf		:= LINKSRC = elf_getident.3elf
149*a9478106SYuri Pankovelf_getshstrndx.3elf		:= LINKSRC = elf_getident.3elf
150c10c16deSRichard Lowe
151*a9478106SYuri Pankovelf_ndxscn.3elf			:= LINKSRC = elf_getscn.3elf
152*a9478106SYuri Pankovelf_newscn.3elf			:= LINKSRC = elf_getscn.3elf
153*a9478106SYuri Pankovelf_nextscn.3elf		:= LINKSRC = elf_getscn.3elf
154c10c16deSRichard Lowe
155*a9478106SYuri Pankovgelf_checksum.3elf		:= LINKSRC = gelf.3elf
156*a9478106SYuri Pankovgelf_fsize.3elf			:= LINKSRC = gelf.3elf
157*a9478106SYuri Pankovgelf_getcap.3elf		:= LINKSRC = gelf.3elf
158*a9478106SYuri Pankovgelf_getclass.3elf		:= LINKSRC = gelf.3elf
159*a9478106SYuri Pankovgelf_getdyn.3elf		:= LINKSRC = gelf.3elf
160*a9478106SYuri Pankovgelf_getehdr.3elf		:= LINKSRC = gelf.3elf
161*a9478106SYuri Pankovgelf_getmove.3elf		:= LINKSRC = gelf.3elf
162*a9478106SYuri Pankovgelf_getphdr.3elf		:= LINKSRC = gelf.3elf
163*a9478106SYuri Pankovgelf_getrel.3elf		:= LINKSRC = gelf.3elf
164*a9478106SYuri Pankovgelf_getrela.3elf		:= LINKSRC = gelf.3elf
165*a9478106SYuri Pankovgelf_getshdr.3elf		:= LINKSRC = gelf.3elf
166*a9478106SYuri Pankovgelf_getsym.3elf		:= LINKSRC = gelf.3elf
167*a9478106SYuri Pankovgelf_getsyminfo.3elf		:= LINKSRC = gelf.3elf
168*a9478106SYuri Pankovgelf_getsymshndx.3elf		:= LINKSRC = gelf.3elf
169*a9478106SYuri Pankovgelf_newehdr.3elf		:= LINKSRC = gelf.3elf
170*a9478106SYuri Pankovgelf_newphdr.3elf		:= LINKSRC = gelf.3elf
171*a9478106SYuri Pankovgelf_update_cap.3elf		:= LINKSRC = gelf.3elf
172*a9478106SYuri Pankovgelf_update_dyn.3elf		:= LINKSRC = gelf.3elf
173*a9478106SYuri Pankovgelf_update_ehdr.3elf		:= LINKSRC = gelf.3elf
174*a9478106SYuri Pankovgelf_update_getmove.3elf	:= LINKSRC = gelf.3elf
175*a9478106SYuri Pankovgelf_update_move.3elf		:= LINKSRC = gelf.3elf
176*a9478106SYuri Pankovgelf_update_phdr.3elf		:= LINKSRC = gelf.3elf
177*a9478106SYuri Pankovgelf_update_rel.3elf		:= LINKSRC = gelf.3elf
178*a9478106SYuri Pankovgelf_update_rela.3elf		:= LINKSRC = gelf.3elf
179*a9478106SYuri Pankovgelf_update_shdr.3elf		:= LINKSRC = gelf.3elf
180*a9478106SYuri Pankovgelf_update_sym.3elf		:= LINKSRC = gelf.3elf
181*a9478106SYuri Pankovgelf_update_syminfo.3elf	:= LINKSRC = gelf.3elf
182*a9478106SYuri Pankovgelf_update_symshndx.3elf	:= LINKSRC = gelf.3elf
183*a9478106SYuri Pankovgelf_xlatetof.3elf		:= LINKSRC = gelf.3elf
184*a9478106SYuri Pankovgelf_xlatetom.3elf		:= LINKSRC = gelf.3elf
185c10c16deSRichard Lowe
186c10c16deSRichard Lowe.KEEP_STATE:
187c10c16deSRichard Lowe
188*a9478106SYuri Pankovinclude		$(SRC)/man/Makefile.man
189c10c16deSRichard Lowe
190*a9478106SYuri Pankovinstall:	$(ROOTMANFILES) $(ROOTMANLINKS)
191