Makefile revision 60c45ed01d4f99571d468c42f609d11a099fab1e
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#Copyright 2008 Sun Microsystems, Inc.
#All rights reserved.
#Use is subject to license terms.
#pragma ident "%Z%%M% %I% %E% SMI"
include ../../Makefile.cmd
INCLUDESv9b += -I$(FPST_LOC)
bits64:= CFLAGSv9b = $(DBX) -xildoff -D_sparc64 -DV9B -_cc=-W2,-whole $(CHIP) -_cc=-fsimple=0 $(VISARCH)
bits64:= EXTRA_LIBS_CPUv9b = -_cc=-xprefetch=auto -_cc=-xopenmp $(SUNPV9B)/libsunperf.a $(SUNPV9)/libfui.a $(SUNPV9)/libfai.a $(SUNPV9)/libfsu.a $(SUNPV9)/libsunmath.a $(VISARCH)
SDCOBSV9B = cheetah_sdc_v9b.o iflush_v9b.o ch_sdc_g1_v9b.o ch_sdc_g2_v9b.o ch_sdc_g3_v9b.o ch_sdc_g4_v9b.o \
FPUOBS64v9b = $(SDCOBJSV9B) $(OBJ_DIR)/fputestv9b.o $(OBJ_DIR)/fpu_fsr_testv9b.o $(OBJ_DIR)/fsr_testv9b.o $(OBJ_DIR)/cbbcopyv9b.o $(OBJ_DIR)/fptestv9b.o $(LINOBJSv9b) \
$(OBJ_DIR)/fpu_if64v9b.o $(OBJ_DIR)/fpu_test64v9b.o $(OBJ_DIR)/benchmarksv9b.o $(OBJ_DIR)/fps_ereport_modv9b.o $(OBJ_DIR)/utilv9b.o
########## beginning of dependency lines #################
@$(BIT64_SETUP)
( unset LD_LIBRARY_PATH LD_RUN_PATH ; \
$(CC) $(CFLAGSv9b) ${FPUOBS64v9b} -o $@ -lc -zignore -lsysevent -lnvpair -lkstat -lm -lnsl ${TSTLIB.A} $(EXTRA_LIBS_CPUv9b) $(LDFLAGS))
$(POST_PROCESS)
##### V9B
@$(BIT64_SETUP)
@$(BIT64_SETUP)
@$(BIT64_SETUP)
@$(BIT64_SETUP)
@$(BIT64_SETUP)
@$(BIT64_SETUP)
@$(BIT64_SETUP)
@$(BIT64_SETUP)
@$(BIT64_SETUP)
@$(BIT64_SETUP)
@$(BIT64_SETUP)
@$(BIT64_SETUP)
@$(BIT64_SETUP)
@$(BIT64_SETUP)
@$(BIT64_SETUP)
@$(BIT64_SETUP)
@$(BIT64_SETUP)
@$(BIT64_SETUP)
@$(BIT64_SETUP)
@$(BIT64_SETUP)
@$(BIT64_SETUP)
@$(BIT64_SETUP)
@$(BIT64_SETUP)
@$(BIT64_SETUP)
rm -f ${PROGRAMv9b}
FRC:
LINTSOURCES = benchmarks.c fps_ereport_mod.c fputest.c cbbcopy.c fptest.c linpack.c cheetah_sdc.c fpu_fsr_test.c util.c
LINTFILES = $(LINTSOURCES:.c=.ln)
LINTFLAGS = -I$(INCDIR) -I$(FPST_LOC) -Xarch=v9 -Dunix -uxn -errchk=longptr64,sizematch -Ncheck=macro -errhdr=`pwd` -Nlevel=2 -errtags=yes -errsecurity=core -DDP -D_sparc64