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