xref: /titanic_44/usr/src/tools/scripts/Makefile (revision 8eea8e29cc4374d1ee24c25a07f45af132db3499)
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, Version 1.0 only
6# (the "License").  You may not use this file except in compliance
7# with the License.
8#
9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10# or http://www.opensolaris.org/os/licensing.
11# See the License for the specific language governing permissions
12# and limitations under the License.
13#
14# When distributing Covered Code, include this CDDL HEADER in each
15# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16# If applicable, add the following below this CDDL HEADER, with the
17# fields enclosed by brackets "[]" replaced with your own identifying
18# information: Portions Copyright [yyyy] [name of copyright owner]
19#
20# CDDL HEADER END
21#
22#
23# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26# ident	"%Z%%M%	%I%	%E% SMI"
27#
28
29SHFILES= \
30	Install \
31	acr \
32	bfu \
33	bldenv \
34	build_cscope \
35	checkpaths \
36	checkproto \
37	cstyle \
38	elfcmp \
39	flg.flp \
40	genoffsets \
41	jstyle \
42	keywords \
43	makebfu \
44	mkacr \
45	mkbfu \
46	nightly \
47	protocmp.terse \
48	sccscp \
49	sccshist \
50	sccsmv \
51	sccsrm \
52	webrev \
53	ws \
54	wx \
55	xref
56
57PERLFILES= \
58	check_rtime \
59	hdrchk \
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	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