Makefile revision 377
7f007e36bec06aba6b3a0f84a64f2abf99edfcd8gstein#
ab71b233b3a36489e44a7b061c48293be0b17788jwoolley# CDDL HEADER START
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# The contents of this file are subject to the terms of the
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# Common Development and Distribution License (the "License").
ab71b233b3a36489e44a7b061c48293be0b17788jwoolley# You may not use this file except in compliance with the License.
571760de5e60c0b459cb11be45507b923cd023eejwoolley#
571760de5e60c0b459cb11be45507b923cd023eejwoolley# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9180a5933673ffb1af633c255ceee029340f3b1erbb# or http://www.opensolaris.org/os/licensing.
bcb6e1be6041dfeb549c8ea8d37f97ad4e90a0c3rbb# See the License for the specific language governing permissions
9bd71e35f5d26d26d23fe3a677401828e842ed72wrowe# and limitations under the License.
2900ab946a2d76b73a14cebfe2985d253f01c967stoddard#
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb# When distributing Covered Code, include this CDDL HEADER in each
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb# If applicable, add the following below this CDDL HEADER, with the
b876b7bcf0ce3d232da723246d709e8dbbfe8762rbb# fields enclosed by brackets "[]" replaced with your own identifying
cf6bf6c34c936e6a6fe731dbce4a5c3c8bf8e9a3gstein# information: Portions Copyright [yyyy] [name of copyright owner]
35330e0d79ceb8027223bbb8330a381b1f989d6etrawick#
6f6f4a4bca281779d196acbdd5c017bb90858305trawick# CDDL HEADER END
8dd4618c4709236b4ea297d7250d282e463ce2d8rbb#
09bd86d0db1114ee23eda0a6eb76ca055877a1cftrawick# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
2deb319e6b3de239f45c16a3e9e836d44f1f7108rbb#
bd929c73ef04789b7183b840d8db6e01d03a4d86rbbinclude ../../make-rules/shared-macros.mk
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanoj
2a6c49cfaef5979a5a06098f3ce987cd76769409manojCOMPONENT_NAME= libopenusb
af4c982a7cf4515f124935f99a329744035fc699sliveCOMPONENT_VERSION= 1.0.1
af4c982a7cf4515f124935f99a329744035fc699sliveCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
af4c982a7cf4515f124935f99a329744035fc699sliveCOMPONENT_PROJECT_URL= http://openusb.sourceforge.net/
af4c982a7cf4515f124935f99a329744035fc699sliveCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
af4c982a7cf4515f124935f99a329744035fc699sliveCOMPONENT_ARCHIVE_HASH= sha1:c8a6b493f31a349f19c27a45565425f58897d443
af4c982a7cf4515f124935f99a329744035fc699sliveCOMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/openusb/files/$(COMPONENT_NAME)/libopenusb%201.0.1/$(COMPONENT_ARCHIVE)/download
af4c982a7cf4515f124935f99a329744035fc699slive
2a6c49cfaef5979a5a06098f3ce987cd76769409manojinclude ../../make-rules/prep.mk
531c23ff01a2489646f0a2029097013b328d935agsteininclude ../../make-rules/configure.mk
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbbinclude ../../make-rules/ips.mk
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbbCONFIGURE_ENV += CFLAGS="$(CFLAGS)"
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbbCOMPONENT_PRE_CONFIGURE_ACTION = \
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb ($(CLONEY) $(SOURCE_DIR) $(@D))
bf9acc131271d18db51d30ace549d3c3b6a2b9fbrbb
79d5106a9b65b956d646f5daae4b94bc79e315b8trawickCOMPILER = gcc
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick
79d5106a9b65b956d646f5daae4b94bc79e315b8trawickPATCH_LEVEL = 1
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick
79d5106a9b65b956d646f5daae4b94bc79e315b8trawickCOMPONENT_POST_BUILD_ACTION = \
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick (cd $(@D)/src; $(MAKE) install-sunos-backend)
9eccc0a669a3e711629345b357c46acce5fefdb4gstein
9eccc0a669a3e711629345b357c46acce5fefdb4gsteinbuild: $(BUILD_32_and_64)
750fcd3495b59eff6d4844409ae1dfb46d026059gstein
750fcd3495b59eff6d4844409ae1dfb46d026059gsteininstall: $(INSTALL_32_and_64)
750fcd3495b59eff6d4844409ae1dfb46d026059gstein
750fcd3495b59eff6d4844409ae1dfb46d026059gsteintest: $(TEST_32_and_64)
750fcd3495b59eff6d4844409ae1dfb46d026059gstein
750fcd3495b59eff6d4844409ae1dfb46d026059gsteinBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
750fcd3495b59eff6d4844409ae1dfb46d026059gstein
750fcd3495b59eff6d4844409ae1dfb46d026059gsteininclude ../../make-rules/depend.mk
750fcd3495b59eff6d4844409ae1dfb46d026059gstein
750fcd3495b59eff6d4844409ae1dfb46d026059gstein