xref: /titanic_41/usr/src/tools/scripts/Makefile (revision 0adc16190e36914964740716575460dda750de39)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21#
22# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25# ident	"%Z%%M%	%I%	%E% SMI"
26#
27
28SHFILES= \
29	Install \
30	acr \
31	bfu \
32	bldenv \
33	build_cscope \
34	checkpaths \
35	checkproto \
36	check_fnames \
37	cstyle \
38	elfcmp \
39	flg.flp \
40	genoffsets \
41	keywords \
42	makebfu \
43	mkacr \
44	mkbfu \
45	nightly \
46	protocmp.terse \
47	sccscp \
48	sccshist \
49	sccsmv \
50	sccsrm \
51	webrev \
52	ws \
53	wx \
54	xref
55
56PERLFILES= \
57	check_rtime \
58	hdrchk \
59	jstyle \
60	validate_flg \
61	validate_paths \
62	wdiff
63
64MAN1FILES= \
65	Install.1 \
66	acr.1 \
67	bldenv.1 \
68	checkpaths.1 \
69	check_rtime.1 \
70	cstyle.1 \
71	flg.flp.1 \
72	jstyle.1 \
73	mkacr.1 \
74	nightly.1 \
75	sccscp.1 \
76	sccsmv.1 \
77	sccsrm.1 \
78	webrev.1 \
79	ws.1 \
80	wx.1 \
81	xref.1
82
83MAKEFILES= \
84	xref.mk
85
86CLEANFILES = $(SHFILES)
87
88include ../Makefile.tools
89
90OWNER=		root
91GROUP=		bin
92$(ROOTONBLDMAN1FILES) := FILEMODE=	644
93$(ROOTONBLDMAKEFILES) := FILEMODE=	644
94
95.KEEP_STATE:
96
97all:	$(SHFILES) $(PERLFILES) $(MAN1FILES) $(MAKEFILES)
98
99install: all .WAIT $(ROOTONBLDSHFILES) $(ROOTONBLDPERLFILES) \
100		$(ROOTONBLDMAN1FILES) $(ROOTONBLDMAKEFILES)
101
102clean:
103	$(RM) $(CLEANFILES)
104
105include ../Makefile.targ
106
107