377N/A#
377N/A# CDDL HEADER START
377N/A#
377N/A# The contents of this file are subject to the terms of the
377N/A# Common Development and Distribution License (the "License").
377N/A# You may not use this file except in compliance with the License.
377N/A#
377N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
377N/A# or http://www.opensolaris.org/os/licensing.
377N/A# See the License for the specific language governing permissions
377N/A# and limitations under the License.
377N/A#
377N/A# When distributing Covered Code, include this CDDL HEADER in each
377N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
377N/A# If applicable, add the following below this CDDL HEADER, with the
377N/A# fields enclosed by brackets "[]" replaced with your own identifying
377N/A# information: Portions Copyright [yyyy] [name of copyright owner]
377N/A#
377N/A# CDDL HEADER END
377N/A#
5680N/A
5680N/A#
5341N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
377N/A#
5680N/ABUILD_BITS= 64_and_32
5680N/ACOMPILER= gcc
377N/Ainclude ../../make-rules/shared-macros.mk
377N/A
1244N/ACOMPONENT_NAME= openusb
377N/ACOMPONENT_VERSION= 1.0.1
1244N/ACOMPONENT_SRC_NAME= libopenusb
377N/ACOMPONENT_PROJECT_URL= http://openusb.sourceforge.net/
844N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:031098c376f16f6030c4dbd553266e107b39d1f7b3fc366f8f7fd412d3d7c3ad
377N/ACOMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/openusb/files/$(COMPONENT_NAME)/libopenusb%201.0.1/$(COMPONENT_ARCHIVE)/download
1258N/ACOMPONENT_BUGDB= library/libopenusb
377N/A
2899N/ATPNO= 8843
2899N/A
5680N/ATEST_TARGET= $(NO_TESTS)
5680N/Ainclude $(WS_MAKE_RULES)/common.mk
377N/A
5344N/A# keep traditional GNU semantics for inline functions so we don't lose
5344N/A# openusb_le{16|32}_to_cpu
5680N/ACFLAGS.gcc += -fgnu89-inline
377N/A
377N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
377N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
377N/A
377N/ACOMPONENT_POST_BUILD_ACTION = \
377N/A (cd $(@D)/src; $(MAKE) install-sunos-backend)
377N/A
3817N/AREQUIRED_PACKAGES += library/glib2
3817N/AREQUIRED_PACKAGES += system/hal
3817N/AREQUIRED_PACKAGES += system/io/usb
3817N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
3817N/AREQUIRED_PACKAGES += system/library/libdbus
3817N/AREQUIRED_PACKAGES += system/library/libdbus-glib