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