Makefile revision 3996
394N/A#
394N/A# CDDL HEADER START
394N/A#
394N/A# The contents of this file are subject to the terms of the
394N/A# Common Development and Distribution License (the "License").
394N/A# You may not use this file except in compliance with the License.
394N/A#
394N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
394N/A# or http://www.opensolaris.org/os/licensing.
394N/A# See the License for the specific language governing permissions
394N/A# and limitations under the License.
394N/A#
394N/A# When distributing Covered Code, include this CDDL HEADER in each
394N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
394N/A# If applicable, add the following below this CDDL HEADER, with the
394N/A# fields enclosed by brackets "[]" replaced with your own identifying
394N/A# information: Portions Copyright [yyyy] [name of copyright owner]
394N/A#
394N/A# CDDL HEADER END
394N/A#
783N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
394N/A#
394N/A
394N/ACOMPILER = gcc3
394N/A
394N/Ainclude ../../make-rules/shared-macros.mk
394N/A
394N/ACOMPONENT_NAME= openusb
394N/ACOMPONENT_VERSION= 1.0.1
394N/ACOMPONENT_SRC_NAME= libopenusb
618N/ACOMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION)
394N/ACOMPONENT_PROJECT_URL= http://openusb.sourceforge.net/
394N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:031098c376f16f6030c4dbd553266e107b39d1f7b3fc366f8f7fd412d3d7c3ad
394N/ACOMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/openusb/files/$(COMPONENT_NAME)/libopenusb%201.0.1/$(COMPONENT_ARCHIVE)/download
1273N/ACOMPONENT_BUGDB= library/libopenusb
394N/A
394N/ATPNO= 8843
394N/A
394N/Ainclude $(WS_MAKE_RULES)/prep.mk
394N/Ainclude $(WS_MAKE_RULES)/configure.mk
783N/Ainclude $(WS_MAKE_RULES)/ips.mk
783N/A
783N/ACONFIGURE_ENV += CFLAGS="$(CFLAGS)"
394N/A
394N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
394N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
394N/A
394N/APATCH_LEVEL = 1
394N/A
394N/ACOMPONENT_POST_BUILD_ACTION = \
394N/A (cd $(@D)/src; $(MAKE) install-sunos-backend)
394N/A
394N/Abuild: $(BUILD_32_and_64)
install: $(INSTALL_32_and_64)
test: $(TEST_32_and_64)
REQUIRED_PACKAGES += library/glib2
REQUIRED_PACKAGES += system/hal
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/library/gcc-3-runtime
REQUIRED_PACKAGES += system/library/gcc-45-runtime
REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
REQUIRED_PACKAGES += system/library/libdbus
REQUIRED_PACKAGES += system/library/libdbus-glib
REQUIRED_PACKAGES += system/linker