Makefile revision 2
5023N/A#
5023N/A# CDDL HEADER START
5023N/A#
5023N/A# The contents of this file are subject to the terms of the
5023N/A# Common Development and Distribution License (the "License").
5023N/A# You may not use this file except in compliance with the License.
5023N/A#
5023N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5023N/A# or http://www.opensolaris.org/os/licensing.
5023N/A# See the License for the specific language governing permissions
5023N/A# and limitations under the License.
5023N/A#
5023N/A# When distributing Covered Code, include this CDDL HEADER in each
5023N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5023N/A# If applicable, add the following below this CDDL HEADER, with the
5023N/A# fields enclosed by brackets "[]" replaced with your own identifying
5023N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5023N/A#
5023N/A# CDDL HEADER END
5023N/A#
5023N/A#
5023N/A# Copyright (c) 2002, 2011, Oracle and/or its affiliates. All rights reserved.
5023N/A#
5023N/A# lib/libexacct/demo/Makefile
5023N/A#
5023N/A
5023N/APROG = exdump
5023N/A
5023N/Ainclude ../../../cmd/Makefile.cmd
5023N/A
5023N/ALDLIBS += -lexacct -lproject -lsocket -lnsl
5023N/ACFLAGS += $(CCVERBOSE)
5023N/A
5023N/A.KEEP_STATE:
5023N/A
5023N/ADEMOFILES = \
5023N/A exdump.c \
5023N/A Makefile \
5023N/A README
5023N/A
5023N/AROOTDEMODIR = $(ROOT)/usr/demo/libexacct
5023N/AROOTDEMOFILES = $(DEMOFILES:%=$(ROOTDEMODIR)/%)
5023N/A
5023N/Aall: $(PROG)
5023N/A
5023N/Ainstall: all $(ROOTDEMOFILES)
5023N/A
5023N/A# The demos do not deliver shared objects, and do not require stubs.
5023N/A# Provide NULL make rules to satisfy the parent makefiles.
5023N/Astub:
5023N/Astubinstall:
5023N/A
5023N/Aclean:
5023N/A
5023N/Alint: lint_PROG
5023N/A
5023N/A$(ROOTDEMODIR):
5023N/A $(INS.dir)
5023N/A
5023N/A$(ROOTDEMODIR)/%: %.demo
5023N/A $(INS.rename)
5023N/A
5023N/A$(ROOTDEMODIR)/%: %
5023N/A $(INS.file)
5023N/A
$(ROOTDEMOFILES): $(ROOTDEMODIR)
$(ROOTDEMODIR) := DIRMODE = 755
$(ROOTDEMOFILES) := FILEMODE = 644
include ../../../cmd/Makefile.targ