Makefile revision 3817
0N/A#
0N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
0N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
0N/A# CDDL HEADER END
0N/A#
0N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
0N/A#
0N/A
0N/Ainclude ../../make-rules/shared-macros.mk
0N/A
0N/ACOMPONENT_NAME= cdrtools
0N/ACOMPONENT_VERSION= 3.01
0N/AIPS_COMPONENT_VERSION= 3.1 # Zero not allowed in front of number
0N/ACOMPONENT_SUBVERSION= a22
0N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
0N/ACOMPONENT_PROJECT_URL= http://cdrecord.berlios.de/private/cdrecord.html
0N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC)$(COMPONENT_SUBVERSION).tar.gz
0N/ACOMPONENT_ARCHIVE_HASH= \
0N/A sha256:facd40dc66f1499dfe936e647b694bee7a12cd63afd901a35bec855d9e3600a5
0N/ACOMPONENT_ARCHIVE_URL= ftp://ftp.berlios.de/pub/cdrecord/alpha/$(COMPONENT_ARCHIVE)
0N/ACOMPONENT_BUGDB= utility/cdrtools
0N/A
0N/ATPNO= 6305
0N/A
0N/APATH= $(SPRO_VROOT)/bin:/usr/bin:/usr/gnu/bin
0N/Aifeq ($(strip $(PARFAIT_BUILD)),yes)
0N/APATH=$(PARFAIT_TOOLS):$(SPRO_VROOT)/bin:/usr/bin
0N/Aendif
0N/A
0N/Ainclude $(WS_MAKE_RULES)/prep.mk
0N/Ainclude $(WS_MAKE_RULES)/justmake.mk
0N/Ainclude $(WS_MAKE_RULES)/ips.mk
0N/A
0N/ACOMPONENT_INSTALL_ARGS += GMAKE_NOWARN=true
0N/ACOMPONENT_INSTALL_ARGS += CCOM=cc64
0N/ACOMPONENT_BUILD_ARGS += GMAKE_NOWARN=true
0N/Aifeq ($(strip $(PARFAIT_BUILD)),yes)
0N/ACOMPONENT_BUILD_ENV += "ac_cv_exeext=no"
0N/ACOMPONENT_BUILD_ENV += "ac_cv_objext=o"
0N/Aendif
COMPONENT_BUILD_ARGS += CCOM=cc64
# cdrtools doesn't work with gmake for sparc 64-bit compile.
GMAKE = $(CCSMAKE)
# Enable ASLR for this component
ASLR_MODE = $(ASLR_ENABLE)
build: $(BUILD_64)
install: $(INSTALL_64)
test: $(NO_TESTS)
REQUIRED_PACKAGES += shell/ksh93
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/linker