summaryrefslogtreecommitdiff
path: root/usr/src/ucblib/libcurses
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/libcurses
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/libcurses')
-rw-r--r--usr/src/ucblib/libcurses/Makefile.com22
-rw-r--r--usr/src/ucblib/libcurses/amd64/Makefile6
-rw-r--r--usr/src/ucblib/libcurses/i386/Makefile6
-rw-r--r--usr/src/ucblib/libcurses/llib-lcurses148
-rw-r--r--usr/src/ucblib/libcurses/sparc/Makefile6
-rw-r--r--usr/src/ucblib/libcurses/sparcv9/Makefile6
6 files changed, 11 insertions, 183 deletions
diff --git a/usr/src/ucblib/libcurses/Makefile.com b/usr/src/ucblib/libcurses/Makefile.com
index 60cff941a1..0db5f7836c 100644
--- a/usr/src/ucblib/libcurses/Makefile.com
+++ b/usr/src/ucblib/libcurses/Makefile.com
@@ -19,11 +19,9 @@
# CDDL HEADER END
#
#
-# Copyright 2007 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= libcurses.a
VERS= .1
@@ -76,21 +74,7 @@ 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-lcurses
+LIBS = $(DYNLIB)
CFLAGS += $(CCVERBOSE)
CFLAGS64 += $(CCVERBOSE)
@@ -99,7 +83,7 @@ DYNFLAGS32 = -R/usr/ucblib
DYNFLAGS64 = -R/usr/ucblib/$(MACH64)
LDLIBS += -ltermcap -lucb -lc
-CPPFLAGS = -I$(ROOT)/usr/ucbinclude -I../../../lib/libc/inc $(CPPFLAGS.master)
+CPPFLAGS = -I$(SRC)/ucbhead -I../../../lib/libc/inc $(CPPFLAGS.master)
.KEEP_STATE:
diff --git a/usr/src/ucblib/libcurses/amd64/Makefile b/usr/src/ucblib/libcurses/amd64/Makefile
index 121bc4c173..e538678e29 100644
--- a/usr/src/ucblib/libcurses/amd64/Makefile
+++ b/usr/src/ucblib/libcurses/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 ../../../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/libcurses/i386/Makefile b/usr/src/ucblib/libcurses/i386/Makefile
index 7ec09c4a9c..75f501557f 100644
--- a/usr/src/ucblib/libcurses/i386/Makefile
+++ b/usr/src/ucblib/libcurses/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
@@ -32,4 +30,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/libcurses/llib-lcurses b/usr/src/ucblib/libcurses/llib-lcurses
deleted file mode 100644
index a21ce02071..0000000000
--- a/usr/src/ucblib/libcurses/llib-lcurses
+++ /dev/null
@@ -1,148 +0,0 @@
-/*
- * Copyright 1990 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
- */
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-/* LINTLIBRARY */
-
-# include <curses.h>
-# include <signal.h>
-# include <varargs.h>
-# include <ctype.h>
-
-/* addch.c */
-int waddch(win, c) register struct _win_st *win; char c; { static int x; return(x); }
-
-/* addstr.c */
-int waddstr(win, str) register struct _win_st *win; register char *str; { static int x; return(x); }
-
-/* box.c */
-int box(win, vert, hor) register struct _win_st *win; char vert; char hor; { static int x; return(x); }
-
-/* clear.c */
-int wclear(win) register struct _win_st *win; { static int x; return(x); }
-
-/* clrtobot.c */
-int wclrtobot(win) register struct _win_st *win; { static int x; return(x); }
-
-/* clrtoeol.c */
-int wclrtoeol(win) register struct _win_st *win; { static int x; return(x); }
-
-/* cr_put.c */
-int mvcur(ly, lx, y, x) int ly; int lx; int y; int x; { static int z; return(z); }
-int fgoto() { static int x; return(x); }
-int plodput(c) int c; { static int x; return(x); }
-int plod(cnt) int cnt; { static int x; return(x); }
-int tabcol(col, ts) int col; int ts; { static int x; return(x); }
-
-/* cr_tty.c */
-int gettmode() { static int x; return(x); }
-int setterm(type) register char *type; { static int x; return(x); }
-int zap() { static int x; return(x); }
-char *getcap(name) char *name; { static char *x; return(x); }
-
-/* curses.c */
-
-/* delch.c */
-int wdelch(win) register struct _win_st *win; { static int x; return(x); }
-
-/* deleteln.c */
-int wdeleteln(win) register struct _win_st *win; { static int x; return(x); }
-
-/* delwin.c */
-int delwin(win) register struct _win_st *win; { static int x; return(x); }
-
-/* endwin.c */
-int endwin() { static int x; return(x); }
-
-/* erase.c */
-int werase(win) register struct _win_st *win; { static int x; return(x); }
-
-/* fullname.c */
-char *fullname(bp, def) register char *bp; register char *def; { static char *x; return(x); }
-
-/* getch.c */
-int wgetch(win) register struct _win_st *win; { static int x; return(x); }
-
-/* getstr.c */
-int wgetstr(win, str) register struct _win_st *win; register char *str; { static int x; return(x); }
-
-/* id_subwins.c */
-int _id_subwins(orig) register struct _win_st *orig; { static int x; return(x); }
-
-/* idlok.c */
-int idlok(win, bf) register struct _win_st *win; char bf; { static int x; return(x); }
-
-/* initscr.c */
-struct _win_st *initscr() { static struct _win_st *x; return(x); }
-
-/* insch.c */
-int winsch(win, c) register struct _win_st *win; char c; { static int x; return(x); }
-
-/* insertln.c */
-int winsertln(win) register struct _win_st *win; { static int x; return(x); }
-
-/* longname.c */
-char *longname(bp, def) register char *bp; register char *def; { static char *x; return(x); }
-
-/* move.c */
-int wmove(win, y, x) register struct _win_st *win; register int y; register int x; { static int z; return(z); }
-
-/* mvprintw.c */
-int mvprintw(y, x, fmt, __builtin_va_alist) register int y; register int x; char *fmt; int __builtin_va_alist; { static int z; return(z); }
-int mvwprintw(win, y, x, fmt, __builtin_va_alist) register struct _win_st *win; register int y; register int x; char *fmt; int __builtin_va_alist; { static int z; return(z); }
-
-/* mvscanw.c */
-int mvscanw(y, x, fmt, __builtin_va_alist) register int y; register int x; char *fmt; int __builtin_va_alist; { static int z; return(z); }
-int mvwscanw(win, y, x, fmt, __builtin_va_alist) register struct _win_st *win; register int y; register int x; char *fmt; int __builtin_va_alist; { static int z; return(z); }
-
-/* mvwin.c */
-int mvwin(win, by, bx) register struct _win_st *win; register int by; register int bx; { static int x; return(x); }
-
-/* newwin.c */
-struct _win_st *newwin(num_lines, num_cols, begy, begx) int num_lines; int num_cols; int begy; int begx; { static struct _win_st *x; return(x); }
-struct _win_st *subwin(orig, num_lines, num_cols, begy, begx) register struct _win_st *orig; int num_lines; int num_cols; int begy; int begx; { static struct _win_st *x; return(x); }
-int _set_subwin_(orig, win) register struct _win_st *orig; register struct _win_st *win; { static int x; return(x); }
-int _swflags_(win) register struct _win_st *win; { static int x; return(x); }
-
-/* overlay.c */
-int overlay(win1, win2) register struct _win_st *win1; register struct _win_st *win2; { static int x; return(x); }
-
-/* overwrite.c */
-int overwrite(win1, win2) register struct _win_st *win1; register struct _win_st *win2; { static int x; return(x); }
-
-/* printw.c */
-int printw(fmt, __builtin_va_alist) char *fmt; int __builtin_va_alist; { static int x; return(x); }
-int wprintw(win, fmt, __builtin_va_alist) struct _win_st *win; char *fmt; int __builtin_va_alist; { static int x; return(x); }
-int _sprintw(win, fmt, ap) struct _win_st *win; char *fmt; va_list ap; { static int x; return(x); }
-
-/* putchar.c */
-char _putchar(c) register char c; { static char x; return(x); }
-
-/* refresh.c */
-int wrefresh(win) register struct _win_st *win; { static int x; return(x); }
-
-/* scanw.c */
-int scanw(fmt, __builtin_va_alist) char *fmt; int __builtin_va_alist; { static int x; return(x); }
-int wscanw(win, fmt, __builtin_va_alist) struct _win_st *win; char *fmt; int __builtin_va_alist; { static int x; return(x); }
-int _sscans(win, fmt, ap) struct _win_st *win; char *fmt; va_list ap; { static int x; return(x); }
-
-/* scroll.c */
-int scroll(win) register struct _win_st *win; { static int x; return(x); }
-
-/* standout.c */
-char *wstandout(win) register struct _win_st *win; { static char *x; return(x); }
-char *wstandend(win) register struct _win_st *win; { static char *x; return(x); }
-
-/* toucholap.c */
-int touchoverlap(win1, win2) register struct _win_st *win1; register struct _win_st *win2; { static int x; return(x); }
-
-/* touchwin.c */
-int touchwin(win) register struct _win_st *win; { static int x; return(x); }
-int touchline(win, y, sx, ex) register struct _win_st *win; register int y; register int sx; register int ex; { static int x; return(x); }
-
-/* tstp.c */
-void tstp() {}
-
-/* unctrl.c */
diff --git a/usr/src/ucblib/libcurses/sparc/Makefile b/usr/src/ucblib/libcurses/sparc/Makefile
index d88f114405..79054c8e18 100644
--- a/usr/src/ucblib/libcurses/sparc/Makefile
+++ b/usr/src/ucblib/libcurses/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
@@ -32,4 +30,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/libcurses/sparcv9/Makefile b/usr/src/ucblib/libcurses/sparcv9/Makefile
index 121bc4c173..e538678e29 100644
--- a/usr/src/ucblib/libcurses/sparcv9/Makefile
+++ b/usr/src/ucblib/libcurses/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 ../../../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)