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