xref: /illumos-gate/usr/src/man/man3gen/Makefile (revision 45d3dd981abb9025d8ac994cf4cc8ce8cb1a9480)
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= 	3gen
20
21MANFILES= 	bgets.3gen	\
22	 	bufsplit.3gen	\
23	 	copylist.3gen	\
24	 	gmatch.3gen	\
25	 	isencrypt.3gen	\
26	 	mkdirp.3gen	\
27	 	p2open.3gen	\
28	 	pathfind.3gen	\
29	 	regexpr.3gen	\
30	 	strccpy.3gen	\
31	 	strfind.3gen
32
33MANLINKS=	advance.3gen	\
34		compile.3gen	\
35		p2close.3gen	\
36		rmdirp.3gen	\
37		step.3gen	\
38		str.3gen	\
39		strcadd.3gen	\
40		streadd.3gen	\
41		strecpy.3gen	\
42		strrspn.3gen	\
43		strtrns.3gen
44
45rmdirp.3gen	:= LINKSRC = mkdirp.3gen
46
47p2close.3gen	:= LINKSRC = p2open.3gen
48
49advance.3gen	:= LINKSRC = regexpr.3gen
50compile.3gen	:= LINKSRC = regexpr.3gen
51step.3gen	:= LINKSRC = regexpr.3gen
52
53strcadd.3gen	:= LINKSRC = strccpy.3gen
54streadd.3gen	:= LINKSRC = strccpy.3gen
55strecpy.3gen	:= LINKSRC = strccpy.3gen
56
57str.3gen	:= LINKSRC = strfind.3gen
58strrspn.3gen	:= LINKSRC = strfind.3gen
59strtrns.3gen	:= LINKSRC = strfind.3gen
60
61.KEEP_STATE:
62
63include		$(SRC)/man/Makefile.man
64
65install:	$(ROOTMANFILES) $(ROOTMANLINKS)
66