#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
#
# Define a macro to point at the top of the library tree from this directory
LIB_TREE_ROOT=$(SRC)/lib
SHELL=/usr/bin/ksh93
LIBRARY = libcmd.a
VERS = .1
# No objects, this lib contains only filters to libc
OBJECTS =
include ../../Makefile.lib
# mapfile-vers does not live with the sources in in common/ to make
# automated code updates easier.
MAPFILES= ../mapfile-vers
LIBS = $(DYNLIB)
SRCDIR = ../common
# There are no objects to extract CTF from,so disable the rule
CTFMERGE_LIB=
# We override this rule so that we get a physical object out of the mapfile
BUILD.SO= $(LD) $(MAPFILECLASS) -o $@ $(GSHARED) $(DYNFLAGS)
.KEEP_STATE:
all: stub $(LIBS)
#
# libcmd is a filter only - no functional code to lint; fake up a target.
#
lint:
@ print "usr/src/lib/libcmd no code to lint: skipping"
include ../../Makefile.targ