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