Makefile revision 2601
229N/A#
229N/A# CDDL HEADER START
229N/A#
229N/A# The contents of this file are subject to the terms of the
229N/A# Common Development and Distribution License (the "License").
229N/A# You may not use this file except in compliance with the License.
229N/A#
229N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
229N/A# or http://www.opensolaris.org/os/licensing.
229N/A# See the License for the specific language governing permissions
229N/A# and limitations under the License.
229N/A#
229N/A# When distributing Covered Code, include this CDDL HEADER in each
229N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
229N/A# If applicable, add the following below this CDDL HEADER, with the
229N/A# fields enclosed by brackets "[]" replaced with your own identifying
229N/A# information: Portions Copyright [yyyy] [name of copyright owner]
229N/A#
229N/A# CDDL HEADER END
229N/A#
718N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
229N/A#
229N/Ainclude ../../../make-rules/shared-macros.mk
229N/A
1273N/ACOMPONENT_NAME= libusb-wrapper
229N/ACOMPONENT_VERSION= 0.1.8
229N/AIPS_COMPONENT_VERSION= 0.5.11
618N/ACOMPONENT_PROJECT_URL= http://libusb.sf.net/
229N/ACOMPONENT_SRC= src
1273N/ACOMPONENT_BUGDB= library/libusb
229N/A
229N/Ainclude $(WS_TOP)/make-rules/justmake.mk
229N/Ainclude $(WS_TOP)/make-rules/ips.mk
229N/A
229N/A$(BUILD_DIR_32)/.built: BITS=32
229N/A$(BUILD_DIR_64)/.built: BITS=64
229N/ACOMPONENT_BUILD_ARGS += BITS=$(BITS)
229N/A
229N/A$(BUILD_DIR_32)/.installed: BITS=32
229N/A$(BUILD_DIR_64)/.installed: BITS=64
229N/ACOMPONENT_INSTALL_ARGS += BITS=$(BITS)
229N/A
229N/A# common targets
229N/A$(SOURCE_DIR)/.prep:
229N/A $(TOUCH) $@
229N/A
718N/A$(BUILD_DIR)/libusb-64.pc: src/libusb-64.pc
718N/A /bin/sed -e "s#MACH64#$(MACH64)#g" <$< >$@
718N/A
231N/Adownload:
231N/A
231N/Aclobber: clean
814N/A $(RM) $(SOURCE_DIR)/.prep
231N/A
229N/Aprep: $(SOURCE_DIR)/.prep
229N/A
229N/Abuild: $(BUILD_32_and_64)
229N/A
229N/Ainstall: $(INSTALL_32_and_64)
229N/A
229N/A# enumerates USB devices plugged into your system
229N/Atest: $(TEST_32_and_64)
229N/A
229N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
229N/A
229N/Ainclude $(WS_TOP)/make-rules/depend.mk