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