Makefile revision 1244
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync#
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync# CDDL HEADER START
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync#
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync# The contents of this file are subject to the terms of the
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync# Common Development and Distribution License (the "License").
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync# You may not use this file except in compliance with the License.
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync#
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync# or http://www.opensolaris.org/os/licensing.
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync# See the License for the specific language governing permissions
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync# and limitations under the License.
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync#
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync# When distributing Covered Code, include this CDDL HEADER in each
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync# If applicable, add the following below this CDDL HEADER, with the
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync#
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync# CDDL HEADER END
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync#
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync#
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncinclude ../../make-rules/shared-macros.mk
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncCOMPONENT_NAME= openusb
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncCOMPONENT_VERSION= 1.0.1
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncCOMPONENT_SRC_NAME= libopenusb
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncCOMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION)
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncCOMPONENT_PROJECT_URL= http://openusb.sourceforge.net/
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncCOMPONENT_ARCHIVE_HASH= \
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync sha256:031098c376f16f6030c4dbd553266e107b39d1f7b3fc366f8f7fd412d3d7c3ad
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncCOMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/openusb/files/$(COMPONENT_NAME)/libopenusb%201.0.1/$(COMPONENT_ARCHIVE)/download
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncinclude ../../make-rules/prep.mk
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncinclude ../../make-rules/configure.mk
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncinclude ../../make-rules/ips.mk
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncCONFIGURE_ENV += CFLAGS="$(CFLAGS)"
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncCOMPONENT_PRE_CONFIGURE_ACTION = \
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync ($(CLONEY) $(SOURCE_DIR) $(@D))
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncCOMPILER = gcc
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncPATCH_LEVEL = 1
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncCOMPONENT_POST_BUILD_ACTION = \
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync (cd $(@D)/src; $(MAKE) install-sunos-backend)
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncbuild: $(BUILD_32_and_64)
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncinstall: $(INSTALL_32_and_64)
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsynctest: $(TEST_32_and_64)
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncinclude ../../make-rules/depend.mk
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync