Makefile.com revision cd93090ec4fd8704271aee7cc8241a848bc78ffd
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi#
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi# CDDL HEADER START
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi#
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi# The contents of this file are subject to the terms of the
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi# Common Development and Distribution License, Version 1.0 only
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi# (the "License"). You may not use this file except in compliance
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi# with the License.
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi#
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi# or http://www.opensolaris.org/os/licensing.
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi# See the License for the specific language governing permissions
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi# and limitations under the License.
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi#
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi# When distributing Covered Code, include this CDDL HEADER in each
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi# If applicable, add the following below this CDDL HEADER, with the
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi# fields enclosed by brackets "[]" replaced with your own identifying
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi# information: Portions Copyright [yyyy] [name of copyright owner]
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi#
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi# CDDL HEADER END
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi#
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi#
2c2c41837e330b002c4220a39638150db504fe0evi# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi# Use is subject to license terms.
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi#
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi#pragma ident "%Z%%M% %I% %E% SMI"
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi#
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi
2c2c41837e330b002c4220a39638150db504fe0eviLIBRARY = libmacadm.a
2c2c41837e330b002c4220a39638150db504fe0eviVERS = .1
2c2c41837e330b002c4220a39638150db504fe0eviOBJECTS = libmacadm.o
2c2c41837e330b002c4220a39638150db504fe0evi
2c2c41837e330b002c4220a39638150db504fe0eviinclude ../../Makefile.lib
2c2c41837e330b002c4220a39638150db504fe0evi
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi# install this library in the root filesystem
40cb5e5daa7b80bb70fcf8dadfb20f9281566331viinclude ../../Makefile.rootfs
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi
40cb5e5daa7b80bb70fcf8dadfb20f9281566331viLIBS = $(DYNLIB) $(LINTLIB)
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi
40cb5e5daa7b80bb70fcf8dadfb20f9281566331viLDLIBS += -ldevinfo -lc
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi
40cb5e5daa7b80bb70fcf8dadfb20f9281566331viSRCDIR = ../common
40cb5e5daa7b80bb70fcf8dadfb20f9281566331viMAPDIR = ../spec/$(TRANSMACH)
40cb5e5daa7b80bb70fcf8dadfb20f9281566331viSPECMAPFILE = $(MAPDIR)/mapfile
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi
40cb5e5daa7b80bb70fcf8dadfb20f9281566331viCFLAGS += $(CCVERBOSE)
40cb5e5daa7b80bb70fcf8dadfb20f9281566331viCPPFLAGS += -I$(SRCDIR) -D_REENTRANT
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi.KEEP_STATE:
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi
40cb5e5daa7b80bb70fcf8dadfb20f9281566331viall: $(LIBS)
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vilint: lintcheck
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi
40cb5e5daa7b80bb70fcf8dadfb20f9281566331viinclude $(SRC)/lib/Makefile.targ
40cb5e5daa7b80bb70fcf8dadfb20f9281566331vi