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