Makefile revision 474
188N/A#
188N/A# CDDL HEADER START
188N/A#
188N/A# The contents of this file are subject to the terms of the
188N/A# Common Development and Distribution License (the "License").
188N/A# You may not use this file except in compliance with the License.
188N/A#
188N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
188N/A# or http://www.opensolaris.org/os/licensing.
188N/A# See the License for the specific language governing permissions
188N/A# and limitations under the License.
188N/A#
188N/A# When distributing Covered Code, include this CDDL HEADER in each
188N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
188N/A# If applicable, add the following below this CDDL HEADER, with the
188N/A# fields enclosed by brackets "[]" replaced with your own identifying
188N/A# information: Portions Copyright [yyyy] [name of copyright owner]
188N/A#
188N/A# CDDL HEADER END
188N/A#
188N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
188N/A#
188N/Ainclude ../../../make-rules/shared-macros.mk
188N/A
188N/ACOMPONENT_NAME= libusb
188N/ACOMPONENT_VERSION= 0.1.8
188N/AIPS_COMPONENT_VERSION= 0.5.11
188N/ACOMPONENT_SRC= src
188N/A
188N/Ainclude $(WS_TOP)/make-rules/justmake.mk
188N/Ainclude $(WS_TOP)/make-rules/ips.mk
188N/A
188N/A$(BUILD_DIR_32)/.built: BITS=32
188N/A$(BUILD_DIR_64)/.built: BITS=64
188N/ACOMPONENT_BUILD_ARGS += BITS=$(BITS)
188N/A
188N/A$(BUILD_DIR_32)/.installed: BITS=32
188N/A$(BUILD_DIR_64)/.installed: BITS=64
188N/ACOMPONENT_INSTALL_ARGS += BITS=$(BITS)
188N/A
188N/A# common targets
189N/A$(SOURCE_DIR)/.prep:
189N/A $(TOUCH) $@
188N/A
188N/Adownload:
188N/A
438N/Aclobber: clean
188N/A
188N/Aprep: $(SOURCE_DIR)/.prep
188N/A
188N/Abuild: $(BUILD_32_and_64)
188N/A
188N/Ainstall: $(INSTALL_32_and_64)
188N/A
188N/A# enumerates USB devices plugged into your system
188N/Atest: $(TEST_32_and_64)
188N/A
188N/ACLEAN_PATHS += $(SOURCE_DIR)/.prep
188N/A
188N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
188N/A
188N/Ainclude $(WS_TOP)/make-rules/depend.mk
188N/A