xref: /titanic_51/usr/src/tools/scripts/Makefile (revision a8ae99647dd4d540346030718e08a083b0fbdf42)
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 2005 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	cstyle \
37	elfcmp \
38	flg.flp \
39	genoffsets \
40	keywords \
41	makebfu \
42	mkacr \
43	mkbfu \
44	nightly \
45	protocmp.terse \
46	sccscp \
47	sccshist \
48	sccsmv \
49	sccsrm \
50	webrev \
51	ws \
52	wx \
53	xref
54
55PERLFILES= \
56	check_rtime \
57	hdrchk \
58	jstyle \
59	validate_flg \
60	validate_paths \
61	wdiff
62
63MAN1FILES= \
64	Install.1 \
65	acr.1 \
66	bldenv.1 \
67	checkpaths.1 \
68	check_rtime.1 \
69	cstyle.1 \
70	flg.flp.1 \
71	jstyle.1 \
72	mkacr.1 \
73	nightly.1 \
74	sccscp.1 \
75	sccsmv.1 \
76	sccsrm.1 \
77	webrev.1 \
78	ws.1 \
79	wx.1 \
80	xref.1
81
82MAKEFILES= \
83	xref.mk
84
85CLEANFILES = $(SHFILES)
86
87include ../Makefile.tools
88
89OWNER=		root
90GROUP=		bin
91$(ROOTONBLDMAN1FILES) := FILEMODE=	644
92$(ROOTONBLDMAKEFILES) := FILEMODE=	644
93
94.KEEP_STATE:
95
96all:	$(SHFILES) $(PERLFILES) $(MAN1FILES) $(MAKEFILES)
97
98install: all .WAIT $(ROOTONBLDSHFILES) $(ROOTONBLDPERLFILES) \
99		$(ROOTONBLDMAN1FILES) $(ROOTONBLDMAKEFILES)
100
101clean:
102	$(RM) $(CLEANFILES)
103
104include ../Makefile.targ
105
106