Makefile revision 2
0N/A# CDDL HEADER START
2362N/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#
0N/A# CDDL HEADER END
2362N/A#
2362N/A#
2362N/A# Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved.
0N/A#
0N/A# lib/librdc/Makefile
0N/A
0N/Ainclude ../Makefile.lib
0N/A
0N/AHDRS= librdc.h rdcerr.h rdcrules.h
0N/AHDRDIR= common
0N/A
0N/ASUBDIRS= $(MACH)
0N/A
0N/AROOTHDRDIR= $(ROOT)/usr/include/sys/nsctl
0N/A
0N/AROOTHDRS= $(HDRS:%=$(ROOTHDRDIR)/%)
0N/A
0N/Aall := TARGET= all
0N/Aclean := TARGET= clean
0N/Aclobber := TARGET= clobber
0N/Ainstall := TARGET= install
0N/Alint := TARGET= lint
0N/Astub := TARGET = stub
0N/Astubinstall := TARGET = stubinstall
0N/A
0N/A.KEEP_STATE:
0N/A
0N/Aall clean clobber install lint stub stubinstall: $(SUBDIRS)
0N/A
0N/A$(MACH): FRC
0N/A @cd $@; pwd; $(MAKE) $(TARGET)
0N/A
0N/Ainstall_h: $(ROOTHDRDIR) $(ROOTHDRS)
0N/A
0N/A$(ROOTHDRDIR)/%: common/%
0N/A $(INS.file)
0N/A
0N/A$(ROOTHDRDIR):
0N/A $(INS.dir)
0N/A
0N/Acheck: $(CHECKHDRS)
0N/A
0N/AFRC:
0N/A