Makefile revision 6357
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync#
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# CDDL HEADER START
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync#
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# The contents of this file are subject to the terms of the
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# Common Development and Distribution License (the "License").
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# You may not use this file except in compliance with the License.
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync#
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# or http://www.opensolaris.org/os/licensing.
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# See the License for the specific language governing permissions
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# and limitations under the License.
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync#
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# When distributing Covered Code, include this CDDL HEADER in each
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# If applicable, add the following below this CDDL HEADER, with the
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# fields enclosed by brackets "[]" replaced with your own identifying
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync#
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# CDDL HEADER END
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync#
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync#
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncinclude ../../make-rules/shared-macros.mk
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncCOMPILER= gcc
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncCOMPONENT_NAME= libusb
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncCOMPONENT_VERSION= 1.0.20
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncCOMPONENT_PROJECT_URL= http://libusb.info/
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncCOMPONENT_ARCHIVE_HASH= \
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync sha256:cb057190ba0a961768224e4dc6883104c6f945b2bf2ef90d7da39e7c1834f7ff
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncCOMPONENT_ARCHIVE_URL= \
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync http://sourceforge.net/projects/libusb/files/libusb-1.0/$(COMPONENT_SRC)/$(COMPONENT_ARCHIVE)
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncCOMPONENT_BUGDB= library/libusb
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncTPNO= 26906
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncinclude $(WS_MAKE_RULES)/prep.mk
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncinclude $(WS_MAKE_RULES)/configure.mk
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncinclude $(WS_MAKE_RULES)/ips.mk
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncinclude $(WS_MAKE_RULES)/lint-libraries.mk
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncCONFIGURE_ENV += "CFLAGS=$(CFLAGS)"
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncCONFIGURE_OPTIONS += --enable-static=no
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncCONFIGURE_OPTIONS += --enable-log
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncCOMPONENT_BUILD_ARGS += "LDFLAGS=$(LDFLAGS)"
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncCOMPONENT_BUILD_ARGS += "INSTALL=$(INSTALL)"
d02610fd604cc8ab4cccf7e3fa510c06cb728ff2vboxsyncCOMPONENT_BUILD_ARGS += "MAKE=$(GMAKE)"
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncCOMPONENT_BUILD_ARGS += -C doc docs
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncASLR_MODE = $(ASLR_ENABLE)
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncPROTOUSRSHAREDOCDIR = $(PROTOUSRSHAREDIR)/doc/libusb-1.0
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncCOMPONENT_PREP_ACTION = (cd $(@D); $(AUTORECONF) -if)
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncconfigure: $(CONFIGURE_32_and_64)
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncbuild: $(BUILD_32_and_64)
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncinstall: $(INSTALL_32_and_64)
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync cd $(BUILD_DIR_64); \
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync $(MKDIR) -p $(PROTOUSRSHAREDOCDIR); \
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync $(CP) -r doc/html $(PROTOUSRSHAREDOCDIR)
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsynctest: $(TEST_32_and_64)
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncsystem-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED)
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncREQUIRED_PACKAGES += system/library
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync