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