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