Makefile (c10c16dec587a0662068f6e2991c29ed3a9db943) Makefile (a9478106a12424322498e53cf7cd75bd8a4d6004)
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
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#
12# Copyright 2011, Richard Lowe
13# Copyright 2011, Richard Lowe
14# Copyright 2013 Nexenta Systems, Inc. All rights reserved.
15#
13
16
14include ../../Makefile.master
17include $(SRC)/Makefile.master
15
18
16MANSECT = 3kstat
19MANSECT= 3kstat
17
20
18MANFILES = kstat.3kstat \
21MANFILES= kstat.3kstat \
19 kstat_chain_update.3kstat \
20 kstat_lookup.3kstat \
21 kstat_open.3kstat \
22 kstat_read.3kstat
23
22 kstat_chain_update.3kstat \
23 kstat_lookup.3kstat \
24 kstat_open.3kstat \
25 kstat_read.3kstat
26
24MANSOFILES = kstat_close.3kstat \
27MANLINKS= kstat_close.3kstat \
25 kstat_data_lookup.3kstat \
26 kstat_write.3kstat
27
28 kstat_data_lookup.3kstat \
29 kstat_write.3kstat
30
28MANFILES += $(MANSOFILES)
31kstat_data_lookup.3kstat := LINKSRC = kstat_lookup.3kstat
29
32
30kstat_data_lookup.3kstat := SOSRC = man3kstat/kstat_lookup.3kstat
33kstat_close.3kstat := LINKSRC = kstat_open.3kstat
31
34
32kstat_close.3kstat := SOSRC = man3kstat/kstat_open.3kstat
35kstat_write.3kstat := LINKSRC = kstat_read.3kstat
33
36
34kstat_write.3kstat := SOSRC = man3kstat/kstat_read.3kstat
35
36.KEEP_STATE:
37
37.KEEP_STATE:
38
38include ../Makefile.man
39include $(SRC)/man/Makefile.man
39
40
40install: $(ROOTMANFILES)
41install: $(ROOTMANFILES) $(ROOTMANLINKS)