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