Makefile revision 2
2d0611ffc9f91c5fc2ddccb93f9a3d17791ae650takashi#
2d0611ffc9f91c5fc2ddccb93f9a3d17791ae650takashi# CDDL HEADER START
dc0d8d65d35787d30a275895ccad8d8e1b58a5ednd#
dc0d8d65d35787d30a275895ccad8d8e1b58a5ednd# The contents of this file are subject to the terms of the
dc0d8d65d35787d30a275895ccad8d8e1b58a5ednd# Common Development and Distribution License (the "License").
5652dbe450e4fcfdf36d4cfb42d7f2345ded29a4maczniak# You may not use this file except in compliance with the License.
8928b6e739f1de5efcfa2a258f2cee76b52c6dfdgryzor#
8928b6e739f1de5efcfa2a258f2cee76b52c6dfdgryzor# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8928b6e739f1de5efcfa2a258f2cee76b52c6dfdgryzor# or http://www.opensolaris.org/os/licensing.
8928b6e739f1de5efcfa2a258f2cee76b52c6dfdgryzor# See the License for the specific language governing permissions
5652dbe450e4fcfdf36d4cfb42d7f2345ded29a4maczniak# and limitations under the License.
5652dbe450e4fcfdf36d4cfb42d7f2345ded29a4maczniak#
5652dbe450e4fcfdf36d4cfb42d7f2345ded29a4maczniak# When distributing Covered Code, include this CDDL HEADER in each
e1e8390280254f7f0580d701e583f670643d4f3fnilgun# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e1e8390280254f7f0580d701e583f670643d4f3fnilgun# If applicable, add the following below this CDDL HEADER, with the
e1e8390280254f7f0580d701e583f670643d4f3fnilgun# fields enclosed by brackets "[]" replaced with your own identifying
e1e8390280254f7f0580d701e583f670643d4f3fnilgun# information: Portions Copyright [yyyy] [name of copyright owner]
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen#
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen# CDDL HEADER END
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen#
d474d8ef01ec5c2a09341cd148851ed383c3287crbowen#
# Copyright (c) 2002, 2011, Oracle and/or its affiliates. All rights reserved.
#
include ../Makefile.lib
HDRS = libdiskmgt.h
ROOTHDRDIR= $(ROOT)/usr/include
ROOTHDRS= $(HDRS:%=$(ROOTHDRDIR)/%)
CHECKDIRS= $(HDRS:%.h=%.check)
HDRDIR = common
SUBDIRS = $(MACH)
$(BUILD64)SUBDIRS += $(MACH64)
$(ROOTHDRDIR)/%: %
$(INS.file)
all := TARGET = all
clean := TARGET = clean
clobber := TARGET = clobber
install := TARGET = install
lint := TARGET = lint
install_h:= TARGET = install_h
stub := TARGET = stub
stubinstall := TARGET = stubinstall
POFILE = libdiskmgt.po
MSGFILES = `$(GREP) -l gettext common/*.[ch]`
.KEEP_STATE:
all clean clobber install lint stub stubinstall: $(SUBDIRS)
$(POFILE): pofile_MSGFILES
install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
_msg: $(MSGDOMAINPOFILE)
$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
include ../Makefile.targ
include ../../Makefile.msg.targ