Makefile revision 75e454957f9291aa383758b0f444a8ca503c73cf
0N/A#
2362N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
0N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
2362N/A# CDDL HEADER END
2362N/A#
2362N/A#
0N/A#ident "%Z%%M% %I% %E% SMI"
0N/A#
0N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
0N/A# Use is subject to license terms.
0N/A#
0N/A
0N/Ainclude ../../../Makefile.master
0N/A
0N/AROOTDEMODIRBASE= $(ROOT)/usr/demo/link_audit
0N/A
0N/ADEMOFILES= \
0N/A 00README \
0N/A Makefile \
0N/A man/perfcnt.man \
0N/A man/symbindrep.man \
0N/A man/dumpbind.man \
0N/A src/bindings.c \
0N/A src/bindings.h \
0N/A src/dumpbind.c \
0N/A src/env.c \
0N/A src/env.h \
0N/A src/hash.c \
0N/A src/hash.h \
0N/A src/sotruss.ksh \
0N/A src/mach.h \
0N/A src/perfcnt.c \
0N/A src/perfcnt.ksh \
0N/A src/symbindrep.c \
0N/A src/symbindrep.ksh \
0N/A src/truss.c \
0N/A src/who.c \
0N/A src/who.h \
0N/A src/whocalls.ksh
0N/A
0N/AROOTDEMODIRS= $(ROOTDEMODIRBASE) .WAIT \
0N/A $(ROOTDEMODIRBASE)/man \
0N/A $(ROOTDEMODIRBASE)/src
0N/A
0N/AROOTDEMOFILES= $(DEMOFILES:%=$(ROOTDEMODIRBASE)/%)
0N/A
0N/A$(ROOTDEMODIRS) := OWNER = root
0N/A$(ROOTDEMODIRS) := GROUP = bin
0N/A$(ROOTDEMODIRS) := DIRMODE = 755
0N/A
SUBDIRS= $(MACH)
all:= TARGET= all
install:= TARGET= install
package:= TARGET= package
clean:= TARGET= clean
clobber:= TARGET= clobber
lint:= TARGET= lint
.PARALLEL: $(ROOTDEMOFILES)
.KEEP_STATE:
all clean clobber lint : \
$(SUBDIRS)
package install : \
$(ROOTDEMODIRS) .WAIT $(SUBDIRS) $(ROOTDEMOFILES)
$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
@if [ -d $(MACH64) ]; then \
cd $(MACH64); pwd; $(MAKE) $(TARGET); \
else /bin/true; fi
$(ROOTDEMODIRS):
$(INS.dir)
$(ROOTDEMODIRBASE)/man/%: man/%
$(INS.file)
$(ROOTDEMODIRBASE)/src/%: common/%
$(INS.file)
$(ROOTDEMODIRBASE)/%: common/%
$(INS.file)
$(ROOTDEMODIRBASE)/%: common/%.demo
$(INS.rename)
FRC: