Makefile revision 618
012a352f4b26cfd874db8d06debc495c2303e8b2Bob Halley#
178f6ad061e54bc5babfca3577f72058fa0797c1Bob Halley# CDDL HEADER START
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence#
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# The contents of this file are subject to the terms of the
178f6ad061e54bc5babfca3577f72058fa0797c1Bob Halley# Common Development and Distribution License (the "License").
178f6ad061e54bc5babfca3577f72058fa0797c1Bob Halley# You may not use this file except in compliance with the License.
178f6ad061e54bc5babfca3577f72058fa0797c1Bob Halley#
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
15a44745412679c30a6d022733925af70a38b715David Lawrence# or http://www.opensolaris.org/os/licensing.
15a44745412679c30a6d022733925af70a38b715David Lawrence# See the License for the specific language governing permissions
15a44745412679c30a6d022733925af70a38b715David Lawrence# and limitations under the License.
15a44745412679c30a6d022733925af70a38b715David Lawrence#
15a44745412679c30a6d022733925af70a38b715David Lawrence# When distributing Covered Code, include this CDDL HEADER in each
15a44745412679c30a6d022733925af70a38b715David Lawrence# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15a44745412679c30a6d022733925af70a38b715David Lawrence# If applicable, add the following below this CDDL HEADER, with the
15a44745412679c30a6d022733925af70a38b715David Lawrence# fields enclosed by brackets "[]" replaced with your own identifying
b897c52f865b2fc4e220e2110b874e59c716456bBob Halley# information: Portions Copyright [yyyy] [name of copyright owner]
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence#
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence# CDDL HEADER END
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley#
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley#
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley#
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halleyinclude ../../make-rules/shared-macros.mk
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley
0b72c791466d0807bcf22522b5ddb7da902c2720Bob HalleyCOMPONENT_NAME= sox
b897c52f865b2fc4e220e2110b874e59c716456bBob HalleyCOMPONENT_VERSION= 14.3.0
0b72c791466d0807bcf22522b5ddb7da902c2720Bob HalleyCOMPONENT_PROJECT_URL= http://sox.sourceforge.net/
0b72c791466d0807bcf22522b5ddb7da902c2720Bob HalleyCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
0b72c791466d0807bcf22522b5ddb7da902c2720Bob HalleyCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
0b72c791466d0807bcf22522b5ddb7da902c2720Bob HalleyCOMPONENT_ARCHIVE_HASH= sha1:34b8e991ba8511fa9683e9e9d356fb7f4179d03c
b897c52f865b2fc4e220e2110b874e59c716456bBob HalleyCOMPONENT_ARCHIVE_URL= http://downloads.sourceforge.net/project/$(COMPONENT_NAME)/$(COMPONENT_NAME)/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence
460b427411b72da26b1836b9424e2e70d65d9394David Lawrenceinclude ../../make-rules/prep.mk
460b427411b72da26b1836b9424e2e70d65d9394David Lawrenceinclude ../../make-rules/configure.mk
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halleyinclude ../../make-rules/ips.mk
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley
460b427411b72da26b1836b9424e2e70d65d9394David LawrenceCONFIGURE_OPTIONS += --disable-static
460b427411b72da26b1836b9424e2e70d65d9394David LawrenceCONFIGURE_OPTIONS += --disable-gomp
460b427411b72da26b1836b9424e2e70d65d9394David LawrenceCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence# common targets
460b427411b72da26b1836b9424e2e70d65d9394David Lawrencebuild: $(BUILD_32_and_64)
460b427411b72da26b1836b9424e2e70d65d9394David Lawrence
460b427411b72da26b1836b9424e2e70d65d9394David Lawrenceinstall: $(INSTALL_32_and_64)
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley
12e63bfe1d111ccb57f482b28d56c785cccc7cf7David Lawrencetest: $(NO_TESTS)
12e63bfe1d111ccb57f482b28d56c785cccc7cf7David Lawrence
12e63bfe1d111ccb57f482b28d56c785cccc7cf7David LawrenceBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
12e63bfe1d111ccb57f482b28d56c785cccc7cf7David Lawrence
12e63bfe1d111ccb57f482b28d56c785cccc7cf7David Lawrenceinclude ../../make-rules/depend.mk
0b72c791466d0807bcf22522b5ddb7da902c2720Bob Halley