8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / mdb / tools / scripts / Makefile
blobed9f2970437f8693398b901ab1bafd84f801e199
2 # CDDL HEADER START
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.
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.
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]
19 # CDDL HEADER END
22 # Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
24 #ident "%Z%%M% %I% %E% SMI"
26 .KEEP_STATE:
27 .SUFFIXES: .pl
29 include ../../../Makefile.cmd
31 PKGSCRIPTS = mdb mkmodules
32 BLDSCRIPTS = tigen map2linktest hdr2map
34 ROOTOPTPKGBIN = $(ROOT)/opt/SUNWonmdb/bin
35 ROOTPKGSCRIPTS = $(PKGSCRIPTS:%=$(ROOTOPTPKGBIN)/%)
37 all install: $(BLDSCRIPTS) $(PKGSCRIPTS)
39 clean.lint dmods install_h lint:
41 clobber: clean
43 clean:
44 $(RM) $(BLDSCRIPTS) $(PKGSCRIPTS)
46 pkg: $(ROOTPKGSCRIPTS)
48 $(ROOTOPTPKGBIN):
49 $(INS.dir)
51 $(ROOTPKGSCRIPTS): $(ROOTOPTPKGBIN)
53 $(ROOTOPTPKGBIN)/%: %.sh
54 $(INS.rename)