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