Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
148N/A#
148N/A# CDDL HEADER START
148N/A#
148N/A# The contents of this file are subject to the terms of the
148N/A# Common Development and Distribution License, Version 1.0 only
148N/A# (the "License"). You may not use this file except in compliance
148N/A# with the License.
148N/A#
148N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
148N/A# or http://www.opensolaris.org/os/licensing.
148N/A# See the License for the specific language governing permissions
148N/A# and limitations under the License.
148N/A#
148N/A# When distributing Covered Code, include this CDDL HEADER in each
148N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
148N/A# If applicable, add the following below this CDDL HEADER, with the
148N/A# fields enclosed by brackets "[]" replaced with your own identifying
148N/A# information: Portions Copyright [yyyy] [name of copyright owner]
148N/A#
148N/A# CDDL HEADER END
148N/A#
148N/A#
6463N/A# Copyright (c) 1999 by Sun Microsystems, Inc.
148N/A# All rights reserved.
148N/A#
148N/A#ident "%Z%%M% %I% %E% SMI"
148N/A
148N/A#
6463N/A# Note that this Makefile is *not* the Makefile that is installed in the proto
618N/A# area's /usr/demo/mdb directory -- that file is Makefile.demo. This Makefile
148N/A# copies Makefile.demo and the other files in this directory to /usr/demo/mdb.
148N/A#
844N/A
6463N/Ainclude ../../Makefile.cmd
148N/A
1273N/ADEMOFILES = \
148N/A common/example1.c \
1002N/A common/example2.c \
1316N/A Makefile \
1002N/A Makefile.common \
1316N/A Makefile.i386 \
1002N/A Makefile.sparc \
1002N/A Makefile.sparcv9 \
6463N/A README
3510N/A
3996N/ADEMOSUBDIRS = common i386 sparc sparcv9
3996N/A
3996N/AROOTDEMODIR = $(ROOT)/usr/demo/mdb
3996N/AROOTDEMOFILES = $(DEMOFILES:%=$(ROOTDEMODIR)/%)
148N/AROOTDEMOSUBDIRS = $(DEMOSUBDIRS:%=$(ROOTDEMODIR)/%)
5252N/A
5252N/Aall clean.lint clean clobber dmods install_h lint:
148N/A
148N/Ainstall: $(ROOTDEMOFILES)
148N/A
3985N/A$(ROOTDEMODIR):
3985N/A $(INS.dir)
3985N/A
148N/A$(ROOTDEMOSUBDIRS):
148N/A $(INS.dir)
148N/A
148N/A$(ROOTDEMODIR)/%: %.demo
3510N/A $(INS.rename)
1316N/A
1316N/A$(ROOTDEMODIR)/%: %
148N/A $(INS.file)
148N/A
148N/A$(ROOTDEMOFILES): $(ROOTDEMOSUBDIRS)
690N/A
148N/A$(ROOTDEMOSUBDIRS): $(ROOTDEMODIR)
3781N/A
3781N/A$(ROOTDEMODIR) := OWNER = root
3781N/A$(ROOTDEMODIR) := GROUP = bin
3781N/A$(ROOTDEMODIR) := DIRMODE = 755
3781N/A
3781N/A$(ROOTDEMOSUBDIRS) := OWNER = root
3781N/A$(ROOTDEMOSUBDIRS) := GROUP = bin
3781N/A$(ROOTDEMOSUBDIRS) := DIRMODE = 755
3781N/A
3781N/A$(ROOTDEMOFILES) := OWNER = root
3781N/A$(ROOTDEMOFILES) := GROUP = bin
3783N/A$(ROOTDEMOFILES) := FILEMODE = 644
3783N/A