summaryrefslogtreecommitdiff
path: root/usr/src/ucblib/libtermcap
diff options
context:
space:
mode:
authorGarrett D'Amore <Garrett.Damore@Sun.COM>2009-10-09 17:01:12 -0700
committerGarrett D'Amore <Garrett.Damore@Sun.COM>2009-10-09 17:01:12 -0700
commit5bbb4db2c3f208d12bf0fd11769728f9e5ba66a2 (patch)
treeff1164c9871a611c7597916b0395e944697a5431 /usr/src/ucblib/libtermcap
parent28863dd2d94fb78bea3941334d3783f014da7403 (diff)
downloadillumos-joyent-5bbb4db2c3f208d12bf0fd11769728f9e5ba66a2.tar.gz
PSARC 2009/539 Removal of ucb headers and lint libraries
6889898 ucb lint libraries and headers should go go go
Diffstat (limited to 'usr/src/ucblib/libtermcap')
-rw-r--r--usr/src/ucblib/libtermcap/Makefile.com22
-rw-r--r--usr/src/ucblib/libtermcap/amd64/Makefile6
-rw-r--r--usr/src/ucblib/libtermcap/i386/Makefile6
-rw-r--r--usr/src/ucblib/libtermcap/llib-ltermcap45
-rw-r--r--usr/src/ucblib/libtermcap/sparc/Makefile6
-rw-r--r--usr/src/ucblib/libtermcap/sparcv9/Makefile6
6 files changed, 11 insertions, 80 deletions
diff --git a/usr/src/ucblib/libtermcap/Makefile.com b/usr/src/ucblib/libtermcap/Makefile.com
index 4f98d37dfd..2bc6e3ca2e 100644
--- a/usr/src/ucblib/libtermcap/Makefile.com
+++ b/usr/src/ucblib/libtermcap/Makefile.com
@@ -19,11 +19,9 @@
# CDDL HEADER END
#
#
-# Copyright 2006 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"
-#
LIBRARY= libtermcap.a
VERS= .1
@@ -38,28 +36,14 @@ include $(SRC)/lib/Makefile.lib
ROOTLIBDIR= $(ROOT)/usr/ucblib
ROOTLIBDIR64= $(ROOT)/usr/ucblib/$(MACH64)
-LIBS = $(DYNLIB) $(LINTLIB)
-
-LINTSRC= $(LINTLIB:%.ln=%)
-ROOTLINTDIR= $(ROOTLIBDIR)
-ROOTLINTDIR64= $(ROOTLIBDIR)/$(MACH64)
-ROOTLINT= $(LINTSRC:%=$(ROOTLINTDIR)/%)
-ROOTLINT64= $(LINTSRC:%=$(ROOTLINTDIR64)/%)
-
-# install rule for lint source file target
-$(ROOTLINTDIR)/%: ../%
- $(INS.file)
-$(ROOTLINTDIR64)/%: ../%
- $(INS.file)
-
-$(LINTLIB):= SRCS=../llib-ltermcap
+LIBS = $(DYNLIB)
CFLAGS += $(CCVERBOSE)
CFLAGS64 += $(CCVERBOSE)
LDLIBS += -lc
DEFS= -DCM_N -DCM_GT -DCM_B -DCM_D
-CPPFLAGS = $(DEFS) -I$(ROOT)/usr/ucbinclude $(CPPFLAGS.master)
+CPPFLAGS = $(DEFS) -I$(SRC)/ucbhead $(CPPFLAGS.master)
.KEEP_STATE:
diff --git a/usr/src/ucblib/libtermcap/amd64/Makefile b/usr/src/ucblib/libtermcap/amd64/Makefile
index 5567585245..4faa7cf698 100644
--- a/usr/src/ucblib/libtermcap/amd64/Makefile
+++ b/usr/src/ucblib/libtermcap/amd64/Makefile
@@ -19,11 +19,9 @@
# CDDL HEADER END
#
#
-# Copyright 2006 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"
-#
include ../Makefile.com
include $(SRC)/lib/Makefile.lib.64
@@ -34,4 +32,4 @@ BUILD.SO= $(CC) $(CFLAGS) -o $@ -G $(DYNFLAGS) $(PICS) \
.KEEP_STATE:
-install: all $(ROOTLIBS64) $(ROOTLINKS64) $(ROOTLINT64)
+install: all $(ROOTLIBS64) $(ROOTLINKS64)
diff --git a/usr/src/ucblib/libtermcap/i386/Makefile b/usr/src/ucblib/libtermcap/i386/Makefile
index e2080593d5..85705049e2 100644
--- a/usr/src/ucblib/libtermcap/i386/Makefile
+++ b/usr/src/ucblib/libtermcap/i386/Makefile
@@ -19,11 +19,9 @@
# CDDL HEADER END
#
#
-# Copyright 2006 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"
-#
include ../Makefile.com
@@ -31,4 +29,4 @@ BUILD.SO= $(CC) -o $@ $(GSHARED) $(DYNFLAGS) $(PICS) -L $(ROOT)/usr/ucblib $(LDL
.KEEP_STATE:
-install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
+install: all $(ROOTLIBS) $(ROOTLINKS)
diff --git a/usr/src/ucblib/libtermcap/llib-ltermcap b/usr/src/ucblib/libtermcap/llib-ltermcap
deleted file mode 100644
index 8c3ecc759f..0000000000
--- a/usr/src/ucblib/libtermcap/llib-ltermcap
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * 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.
- *
- * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
- * or http://www.opensolaris.org/os/licensing.
- * 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 1990 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-
-#include <sgtty.h>
-#include <ctype.h>
-#include <sys/ioctl.h>
-
-/* termcap.c */
-int tgetent(bp, name) char *bp; char *name; { static int x; return(x); }
-int tgetnum(id) char *id; { static int x; return(x); }
-int tgetflag(id) char *id; { static int x; return(x); }
-char *tgetstr(id, area) char *id; char **area; { static char *x; return(x); }
-
-/* tgoto.c */
-char *tgoto(cm, destcol, destline) char *cm; int destcol; int destline; { static char *x; return(x); }
-
-/* tputs.c */
-int tputs(cp, affcnt, outc) register char *cp; int affcnt; int (*outc)(); { static int x; return(x); }
-
diff --git a/usr/src/ucblib/libtermcap/sparc/Makefile b/usr/src/ucblib/libtermcap/sparc/Makefile
index e2a26e9aea..c9b8beb496 100644
--- a/usr/src/ucblib/libtermcap/sparc/Makefile
+++ b/usr/src/ucblib/libtermcap/sparc/Makefile
@@ -19,11 +19,9 @@
# CDDL HEADER END
#
#
-# Copyright 2006 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"
-#
include ../Makefile.com
@@ -31,4 +29,4 @@ BUILD.SO= $(CC) -o $@ -G $(DYNFLAGS) $(PICS) -L $(ROOT)/usr/ucblib $(LDLIBS)
.KEEP_STATE:
-install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
+install: all $(ROOTLIBS) $(ROOTLINKS)
diff --git a/usr/src/ucblib/libtermcap/sparcv9/Makefile b/usr/src/ucblib/libtermcap/sparcv9/Makefile
index 5567585245..4faa7cf698 100644
--- a/usr/src/ucblib/libtermcap/sparcv9/Makefile
+++ b/usr/src/ucblib/libtermcap/sparcv9/Makefile
@@ -19,11 +19,9 @@
# CDDL HEADER END
#
#
-# Copyright 2006 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"
-#
include ../Makefile.com
include $(SRC)/lib/Makefile.lib.64
@@ -34,4 +32,4 @@ BUILD.SO= $(CC) $(CFLAGS) -o $@ -G $(DYNFLAGS) $(PICS) \
.KEEP_STATE:
-install: all $(ROOTLIBS64) $(ROOTLINKS64) $(ROOTLINT64)
+install: all $(ROOTLIBS64) $(ROOTLINKS64)