summaryrefslogtreecommitdiff
path: root/usr/src/lib/libsys/sparc
diff options
context:
space:
mode:
authorRod Evans <Rod.Evans@Sun.COM>2009-05-07 16:01:18 -0700
committerRod Evans <Rod.Evans@Sun.COM>2009-05-07 16:01:18 -0700
commit2a8d6eba033e4713ab12b61178f0513f1f075482 (patch)
tree0fd82f40b89008aa56426a55126371550f5b2309 /usr/src/lib/libsys/sparc
parentc03aa62609f1d65e84421396e8ee70875fc77b30 (diff)
downloadillumos-gate-2a8d6eba033e4713ab12b61178f0513f1f075482.tar.gz
6806791 filter builds could be optimized
6823371 calloc() uses suboptimal memset() causing 15% regression in SpecCPU2006 gcc code --HG-- rename : usr/src/lib/libkrb5/common/mapfile => usr/src/lib/libkrb5/common/mapfile-vers
Diffstat (limited to 'usr/src/lib/libsys/sparc')
-rw-r--r--usr/src/lib/libsys/sparc/Makefile28
1 files changed, 11 insertions, 17 deletions
diff --git a/usr/src/lib/libsys/sparc/Makefile b/usr/src/lib/libsys/sparc/Makefile
index bf5e296647..249cb75708 100644
--- a/usr/src/lib/libsys/sparc/Makefile
+++ b/usr/src/lib/libsys/sparc/Makefile
@@ -2,9 +2,8 @@
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
+# 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
# or http://www.opensolaris.org/os/licensing.
@@ -20,25 +19,20 @@
# CDDL HEADER END
#
#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
-MACHOBJ= libsyss.o
+# Define objects first to trigger $(PIC) rules in Makefile.lib
-include ../Makefile.com
-
-.KEEP_STATE:
-
-all: $(DYNLIB)
+COMOBJ = libsys.o
+MACHOBJ = libsyss.o
+OBJECTS = $(COMOBJ) $(MACHOBJ)
-install: all $(ROOTDYNLIB) $(ROOTLINKS)
-
-$(COMSRC): ../common/libsys.sh libsys.list
- sh ../common/libsys.sh
+include $(SRC)/lib/Makefile.filter.com
+include ../Makefile.com
-$(MACHSRC): libsys.sh libsyss.list
- sh ./libsys.sh
+install: all $(ROOTLIBDIR) .WAIT $(ROOTLIBS) $(ROOTLINKS)
+include $(SRC)/lib/Makefile.filter.targ
include ../Makefile.targ