Makefile revision 23a1ccea6aac035f084a7a4cdc968687d1b02daf
98N/A#
98N/A# CDDL HEADER START
1356N/A#
98N/A# The contents of this file are subject to the terms of the
98N/A# Common Development and Distribution License (the "License").
919N/A# You may not use this file except in compliance with the License.
919N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A#
919N/A# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
98N/A#
98N/A
98N/Ainclude ../Makefile.cmd
98N/A
493N/A.KEEP_STATE:
98N/A
98N/Aall := TARGET = all
851N/Aclean := TARGET = clean
98N/Aclobber := TARGET = clobber
911N/Ainstall := TARGET = install
911N/Alint := TARGET = lint
911N/A_msg := TARGET = _msg
911N/Acheck := TARGET = check
98N/A
98N/ASUBDIRS = fpsd compilercheck fptest
98N/A
1356N/Aall clean clobber install lint _msg: $(SUBDIRS)
1356N/A
1356N/Acheck: fpsd
98N/A
98N/A#
# The compilation of fptest is forced to be done with the Sun
# Studio compiler. This is because fptest is dependent on some Sun
# performance libraries provided as part of the Sun Studio compiler
# installation. fptest statically links libsunperf.a, libfui.a,
# libfai.a, libfsu.a, and libsunmath.a. The other SUBDIRS will be
# compiled normally.
#
$(SUBDIRS): FRC
@case $(TARGET) \
in \
clean|clobber|lint|_msg) \
cd $@; pwd; VERSION='$(VERSION)' $(MAKE) $(TARGET);\
;; \
*) \
if [ $@ != fptest ]; \
then \
cd $@; pwd; VERSION='$(VERSION)' \
$(MAKE) $(TARGET); \
else \
cd $@; pwd; VERSION='$(VERSION)' \
$(MAKE) __GNUC=$(POUND_SIGN) $(TARGET); \
fi \
;; \
esac
FRC: