Makefile revision 618
f169c0eae91b2ee787cf8d6dcf8edd9159d4c9e2Glenn Lagasse# CDDL HEADER START
f169c0eae91b2ee787cf8d6dcf8edd9159d4c9e2Glenn Lagasse# The contents of this file are subject to the terms of the
f169c0eae91b2ee787cf8d6dcf8edd9159d4c9e2Glenn Lagasse# Common Development and Distribution License (the "License").
f169c0eae91b2ee787cf8d6dcf8edd9159d4c9e2Glenn Lagasse# You may not use this file except in compliance with the License.
f169c0eae91b2ee787cf8d6dcf8edd9159d4c9e2Glenn Lagasse# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f169c0eae91b2ee787cf8d6dcf8edd9159d4c9e2Glenn Lagasse# See the License for the specific language governing permissions
f169c0eae91b2ee787cf8d6dcf8edd9159d4c9e2Glenn Lagasse# and limitations under the License.
f169c0eae91b2ee787cf8d6dcf8edd9159d4c9e2Glenn Lagasse# When distributing Covered Code, include this CDDL HEADER in each
f169c0eae91b2ee787cf8d6dcf8edd9159d4c9e2Glenn Lagasse# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
f169c0eae91b2ee787cf8d6dcf8edd9159d4c9e2Glenn Lagasse# If applicable, add the following below this CDDL HEADER, with the
f169c0eae91b2ee787cf8d6dcf8edd9159d4c9e2Glenn Lagasse# fields enclosed by brackets "[]" replaced with your own identifying
f169c0eae91b2ee787cf8d6dcf8edd9159d4c9e2Glenn Lagasse# information: Portions Copyright [yyyy] [name of copyright owner]
f169c0eae91b2ee787cf8d6dcf8edd9159d4c9e2Glenn Lagasse# CDDL HEADER END
f169c0eae91b2ee787cf8d6dcf8edd9159d4c9e2Glenn Lagasse# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
f169c0eae91b2ee787cf8d6dcf8edd9159d4c9e2Glenn LagasseCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
f169c0eae91b2ee787cf8d6dcf8edd9159d4c9e2Glenn LagasseCOMPONENT_PROJECT_URL= http://sourceforge.net/projects/trousers/files/trousers/
f169c0eae91b2ee787cf8d6dcf8edd9159d4c9e2Glenn LagasseCOMPONENT_ARCHIVE_HASH= sha1:1bb65fe1a031f9606d871562ead35fa5909ae584
f169c0eae91b2ee787cf8d6dcf8edd9159d4c9e2Glenn LagasseCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
f169c0eae91b2ee787cf8d6dcf8edd9159d4c9e2Glenn LagasseCOMPONENT_POST_CONFIGURE_ACTION = (cd $(COMPONENT_SRC); \
f169c0eae91b2ee787cf8d6dcf8edd9159d4c9e2Glenn Lagasse# We had to use cc as the linker (see CONFIGURE_OPTIONS above) so the
f169c0eae91b2ee787cf8d6dcf8edd9159d4c9e2Glenn Lagasse# .init and .fini sections get set correctly. Because we use cc, we
f169c0eae91b2ee787cf8d6dcf8edd9159d4c9e2Glenn Lagasse# must pass the -m64 flag through cc to the linker when building 64 bit
f169c0eae91b2ee787cf8d6dcf8edd9159d4c9e2Glenn Lagasse# libraries. We can't just add it to LDFLAGS because then it gets used
f169c0eae91b2ee787cf8d6dcf8edd9159d4c9e2Glenn Lagasse# when creating executables and static libs and generates lots of noise
f169c0eae91b2ee787cf8d6dcf8edd9159d4c9e2Glenn Lagasse# in the build logs. LDARCHFLAG is only recognized by the Makefile in
f169c0eae91b2ee787cf8d6dcf8edd9159d4c9e2Glenn Lagasse# the src/tspi directory.
test: $(NO_TESTS)