Makefile.com revision 8b80e8cb6855118d46f605e91b5ed4ce83417395
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# CDDL HEADER START
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# The contents of this file are subject to the terms of the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Common Development and Distribution License (the "License").
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# You may not use this file except in compliance with the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# or http://www.opensolaris.org/os/licensing.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# See the License for the specific language governing permissions
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# and limitations under the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# When distributing Covered Code, include this CDDL HEADER in each
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# If applicable, add the following below this CDDL HEADER, with the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# fields enclosed by brackets "[]" replaced with your own identifying
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# information: Portions Copyright [yyyy] [name of copyright owner]
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# CDDL HEADER END
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Use is subject to license terms.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteinclude $(SRC)/lib/Makefile.lib
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteinclude $(SRC)/cmd/hal/Makefile.hal
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCPPFLAGS = $(HAL_DBUS_CPPFLAGS) $(HAL_GLIB_CPPFLAGS) $(CPPFLAGS.master)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteLIBDIR = /usr/lib
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteLIBDIR64 = /usr/lib/$(MACH64)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteROOTLIBPCDIR = $(ROOT)/usr/lib/pkgconfig
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteROOTLIBPCDIR64 = $(ROOT)/usr/lib/$(MACH64)/pkgconfig
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteROOTLIBPC = $(LIBPCSRC:%=$(ROOTLIBPCDIR)/%)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteROOTLIBPC64 = $(LIBPCSRC:%=$(ROOTLIBPCDIR64)/%)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCLOBBERFILES += $(LIBPCSRC)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Ensure `all' is the default target.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteall:
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# no lint for 3rd party code
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortelint:
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte$(ROOTLIBPCDIR):
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(INS.dir)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte$(ROOTLIBPCDIR64):
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(INS.dir)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte$(ROOTLIBPC): $(ROOTLIBPCDIR) $(LIBPCSRC)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(INS.file) $(LIBPCSRC)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte$(ROOTLIBPC64): $(ROOTLIBPCDIR64) $(LIBPCSRC)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(INS.file) $(LIBPCSRC)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte$(LIBPCSRC): ../common/$(LIBPCSRC).in
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(SED) -e "s@__VERSION__@$(HAL_VERSION)@" \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte -e "s@__LIBDIR__@$(LIBDIR)@" \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte < ../common/$(LIBPCSRC).in > $(LIBPCSRC)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte