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# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
1N/A# Use is subject to license terms.
1N/A#
1N/A#
1N/A
1N/Ainclude $(SRC)/lib/Makefile.lib
1N/Ainclude $(SRC)/cmd/hal/Makefile.hal
1N/A
1N/ACPPFLAGS = $(HAL_DBUS_CPPFLAGS) $(HAL_GLIB_CPPFLAGS) $(CPPFLAGS.master)
1N/A
1N/ALIBDIR = /usr/lib
1N/ALIBDIR64 = /usr/lib/$(MACH64)
1N/AROOTLIBPCDIR = $(ROOT)/usr/lib/pkgconfig
1N/AROOTLIBPCDIR64 = $(ROOT)/usr/lib/$(MACH64)/pkgconfig
1N/AROOTLIBPC = $(LIBPCSRC:%=$(ROOTLIBPCDIR)/%)
1N/AROOTLIBPC64 = $(LIBPCSRC:%=$(ROOTLIBPCDIR64)/%)
1N/A
1N/ACLOBBERFILES += $(LIBPCSRC)
1N/A
1N/A#
1N/A# Ensure `all' is the default target.
1N/A#
1N/Aall:
1N/A
1N/A# no lint for 3rd party code
1N/Alint:
1N/A
1N/A$(ROOTLIBPCDIR):
1N/A $(INS.dir)
1N/A
1N/A$(ROOTLIBPCDIR64):
1N/A $(INS.dir)
1N/A
1N/A$(ROOTLIBPC): $(ROOTLIBPCDIR) $(LIBPCSRC)
1N/A $(INS.file) $(LIBPCSRC)
1N/A
1N/A$(ROOTLIBPC64): $(ROOTLIBPCDIR64) $(LIBPCSRC)
1N/A $(INS.file) $(LIBPCSRC)
1N/A
1N/A$(LIBPCSRC): ../common/$(LIBPCSRC).in
1N/A $(SED) -e "s@__VERSION__@$(HAL_VERSION)@" \
1N/A -e "s@__LIBDIR__@$(LIBDIR)@" \
1N/A < ../common/$(LIBPCSRC).in > $(LIBPCSRC)
1N/A