diff options
author | Garrett D'Amore <garrett@nexenta.com> | 2010-10-29 09:19:27 -0700 |
---|---|---|
committer | Garrett D'Amore <garrett@nexenta.com> | 2010-10-29 09:19:27 -0700 |
commit | d3c6c3bbc49912cd6f331bd19a29afe6bcddc8a0 (patch) | |
tree | ed76e96e7abdae8a22d5f14c3d70b7f0e67dd89d /usr/src/lib/libplot/vt0 | |
parent | 73f5adc7ee5816cee39ea31c7fa1fb37df74db28 (diff) | |
download | illumos-gate-d3c6c3bbc49912cd6f331bd19a29afe6bcddc8a0.tar.gz |
364 remove libplot
Reviewed by: gwr@nexenta.com
Approved by: gwr@nexenta.com
Diffstat (limited to 'usr/src/lib/libplot/vt0')
24 files changed, 0 insertions, 1132 deletions
diff --git a/usr/src/lib/libplot/vt0/Makefile b/usr/src/lib/libplot/vt0/Makefile deleted file mode 100644 index f6a079520d..0000000000 --- a/usr/src/lib/libplot/vt0/Makefile +++ /dev/null @@ -1,51 +0,0 @@ -# -# 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 -# 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 2006 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. -# -# ident "%Z%%M% %I% %E% SMI" -# - -include ../../Makefile.lib - -SUBDIRS = $(MACH) -$(BUILD64)SUBDIRS += $(MACH64) - -all := TARGET= all -clean := TARGET= clean -clobber := TARGET= clobber -delete := TARGET= delete -install := TARGET= install -lint := TARGET= lint -catalog := TARGET= catalog -package := TARGET= package - -.KEEP_STATE: - -all clean clobber delete install lint catalog package: $(SUBDIRS) - - -$(SUBDIRS): FRC - @cd $@; pwd; $(MAKE) $(TARGET) - -FRC: - diff --git a/usr/src/lib/libplot/vt0/Makefile.com b/usr/src/lib/libplot/vt0/Makefile.com deleted file mode 100644 index a8ef8c8590..0000000000 --- a/usr/src/lib/libplot/vt0/Makefile.com +++ /dev/null @@ -1,64 +0,0 @@ -# -# 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 -# 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 2006 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. -# -# ident "%Z%%M% %I% %E% SMI" -# - -LIBRARY= libvt0.a -VERS= .1 - -OBJECTS= \ - arc.o box.o circle.o close.o \ - dot.o erase.o label.o frame.o \ - line.o linmod.o move.o open.o \ - point.o space.o subr.o - -# include library definitions -include ../../../Makefile.lib - -SRCDIR = ../common - -LIBS = $(DYNLIB) $(LINTLIB) - -$(LINTLIB):= SRCS=../common/llib-lvt0 - -LINTSRC= $(LINTLIB:%.ln=%) - -CFLAGS += $(CCVERBOSE) -LDLIBS += -lc - -.KEEP_STATE: - -lint: lintcheck - -# include library targets -include ../../../Makefile.targ - -pics/%.o: ../common/%.c - $(COMPILE.c) -o $@ $< - $(POST_PROCESS_O) - -# install rule for lint library target -$(ROOTLINTDIR)/%: ../common/% - $(INS.file) diff --git a/usr/src/lib/libplot/vt0/amd64/Makefile b/usr/src/lib/libplot/vt0/amd64/Makefile deleted file mode 100644 index f5fbe83e2c..0000000000 --- a/usr/src/lib/libplot/vt0/amd64/Makefile +++ /dev/null @@ -1,39 +0,0 @@ -# -# 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 -# 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 2006 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. -# -# ident "%Z%%M% %I% %E% SMI" -# - -include ../Makefile.com -include ../../../Makefile.lib.64 - -LINTFLAGS64 += -erroff=E_ASSIGMENT_CAUSE_LOSS_PREC - -LIBS= $(DYNLIB) $(LINTLIB) - -all: $(LIBS) - -.KEEP_STATE: - -install: all $(ROOTLIBS64) $(ROOTLINKS64) diff --git a/usr/src/lib/libplot/vt0/common/arc.c b/usr/src/lib/libplot/vt0/common/arc.c deleted file mode 100644 index 524d0b2f24..0000000000 --- a/usr/src/lib/libplot/vt0/common/arc.c +++ /dev/null @@ -1,44 +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 (c) 1984, 1986, 1987, 1988, 1989 AT&T */ -/* All Rights Reserved */ - - -/* - * Copyright (c) 1997, by Sun Microsystems, Inc. - * All rights reserved. - */ - -#pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.2 */ -/*LINTLIBRARY*/ - -#include <unistd.h> -#include "con.h" - -/*ARGSUSED*/ -void -arc(short xi, short yi, short x0, short y0, short x1, short y1) -{ - char c = 6; - (void) write(vti, &c, 1); - (void) write(vti, &xi, 12); -} diff --git a/usr/src/lib/libplot/vt0/common/box.c b/usr/src/lib/libplot/vt0/common/box.c deleted file mode 100644 index 5c35e97227..0000000000 --- a/usr/src/lib/libplot/vt0/common/box.c +++ /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 (c) 1984, 1986, 1987, 1988, 1989 AT&T */ -/* All Rights Reserved */ - - -/* - * Copyright (c) 1997, by Sun Microsystems, Inc. - * All rights reserved. - */ - -#pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.2 */ -/*LINTLIBRARY*/ - -#include <plot.h> - -void -box(short x0, short y0, short x1, short y1) -{ - move(x0, y0); - cont(x0, y1); - cont(x1, y1); - cont(x1, y0); - cont(x0, y0); - move(x1, y1); -} diff --git a/usr/src/lib/libplot/vt0/common/circle.c b/usr/src/lib/libplot/vt0/common/circle.c deleted file mode 100644 index 4039bbcc46..0000000000 --- a/usr/src/lib/libplot/vt0/common/circle.c +++ /dev/null @@ -1,44 +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 (c) 1984, 1986, 1987, 1988, 1989 AT&T */ -/* All Rights Reserved */ - - -/* - * Copyright (c) 1997, by Sun Microsystems, Inc. - * All rights reserved. - */ - -#pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.2 */ -/*LINTLIBRARY*/ - -#include <unistd.h> -#include "con.h" - -/*ARGSUSED*/ -void -circle(short x, short y, short r) -{ - char c = 5; - (void) write(vti, &c, 1); - (void) write(vti, &x, 6); -} diff --git a/usr/src/lib/libplot/vt0/common/close.c b/usr/src/lib/libplot/vt0/common/close.c deleted file mode 100644 index 41c530d188..0000000000 --- a/usr/src/lib/libplot/vt0/common/close.c +++ /dev/null @@ -1,47 +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 (c) 1984, 1986, 1987, 1988, 1989 AT&T */ -/* All Rights Reserved */ - - -/* - * Copyright (c) 1997, by Sun Microsystems, Inc. - * All rights reserved. - */ - -#pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.2 */ -/*LINTLIBRARY*/ - -#include <unistd.h> -#include "con.h" - -void -closevt(void) -{ - (void) close(vti); -} - -void -closepl(void) -{ - (void) close(vti); -} diff --git a/usr/src/lib/libplot/vt0/common/con.h b/usr/src/lib/libplot/vt0/common/con.h deleted file mode 100644 index efbfb453e4..0000000000 --- a/usr/src/lib/libplot/vt0/common/con.h +++ /dev/null @@ -1,35 +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 (c) 1997, by Sun Microsystems, Inc. - * All rights reserved. - */ - -#pragma ident "%Z%%M% %I% %E% SMI" - -#include <termio.h> - -extern int xsc(int); -extern int ysc(int); -extern float boty, botx, oboty, obotx, scalex, scaley; -extern float deltx, delty; -extern int xnow, ynow, vti; diff --git a/usr/src/lib/libplot/vt0/common/dot.c b/usr/src/lib/libplot/vt0/common/dot.c deleted file mode 100644 index 6bb75640c0..0000000000 --- a/usr/src/lib/libplot/vt0/common/dot.c +++ /dev/null @@ -1,44 +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 (c) 1984, 1986, 1987, 1988, 1989 AT&T */ -/* All Rights Reserved */ - - -/* - * Copyright (c) 1997, by Sun Microsystems, Inc. - */ - -#pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.2 */ -/*LINTLIBRARY*/ - -#include <unistd.h> -#include "con.h" - -/*ARGSUSED*/ -void -dot(short xi, short yi, short dx, short n, int pat[]) -{ - struct {char pad, c; short xi, yi, dx; } p; - p.c = 7; - (void) write(vti, &p.c, 7); - (void) write(vti, pat, n?n&0377:256); -} diff --git a/usr/src/lib/libplot/vt0/common/erase.c b/usr/src/lib/libplot/vt0/common/erase.c deleted file mode 100644 index 48fee61f59..0000000000 --- a/usr/src/lib/libplot/vt0/common/erase.c +++ /dev/null @@ -1,42 +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 (c) 1984, 1986, 1987, 1988, 1989 AT&T */ -/* All Rights Reserved */ - - -/* - * Copyright (c) 1997, by Sun Microsystems, Inc. - */ - -#pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.2 */ -/*LINTLIBRARY*/ - -#include <unistd.h> -#include "con.h" - -void -erase(void) -{ - int i; - i = 0401; - (void) write(vti, &i, 2); -} diff --git a/usr/src/lib/libplot/vt0/common/frame.c b/usr/src/lib/libplot/vt0/common/frame.c deleted file mode 100644 index b2db02ff0d..0000000000 --- a/usr/src/lib/libplot/vt0/common/frame.c +++ /dev/null @@ -1,42 +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 (c) 1984, 1986, 1987, 1988, 1989 AT&T */ -/* All Rights Reserved */ - - -/* - * Copyright (c) 1997, by Sun Microsystems, Inc. - * All rights reserved. - */ - -#pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.2 */ -/*LINTLIBRARY*/ - -#include <unistd.h> -#include "con.h" - -void -frame(int n) -{ - n = n&0377 | 02000; - (void) write(vti, &n, 2); -} diff --git a/usr/src/lib/libplot/vt0/common/label.c b/usr/src/lib/libplot/vt0/common/label.c deleted file mode 100644 index fddea9b061..0000000000 --- a/usr/src/lib/libplot/vt0/common/label.c +++ /dev/null @@ -1,47 +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 (c) 1984, 1986, 1987, 1988, 1989 AT&T */ -/* All Rights Reserved */ - - -/* - * Copyright (c) 1997, by Sun Microsystems, Inc. - * All rights reserved. - */ - -#pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.2 */ -/*LINTLIBRARY*/ - -#include <unistd.h> -#include "con.h" - -void -label(char *s) -{ - int i, o; - o = 01401; - - (void) write(vti, &o, 2); - for (i = 0; s[i++]; ) - ; - (void) write(vti, s, i); -} diff --git a/usr/src/lib/libplot/vt0/common/line.c b/usr/src/lib/libplot/vt0/common/line.c deleted file mode 100644 index b43d0c4155..0000000000 --- a/usr/src/lib/libplot/vt0/common/line.c +++ /dev/null @@ -1,55 +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 (c) 1984, 1986, 1987, 1988, 1989 AT&T */ -/* All Rights Reserved */ - - -/* - * Copyright (c) 1997, by Sun Microsystems, Inc. - */ - -#pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.2 */ -/*LINTLIBRARY*/ - -#include <unistd.h> -#include <plot.h> -#include "con.h" - -int xnow, ynow; - -void -line(short x0, short y0, short x1, short y1) -{ - struct {char x, c; short x0, y0, x1, y1; } p; - p.c = 3; - p.x0 = xsc(x0); - p.y0 = ysc(y0); - p.x1 = xnow = xsc(x1); - p.y1 = ynow = ysc(y1); - (void) write(vti, &p.c, 9); -} - -void -cont(short x0, short y0) -{ - line(xnow, ynow, xsc(x0), ysc(y0)); -} diff --git a/usr/src/lib/libplot/vt0/common/linmod.c b/usr/src/lib/libplot/vt0/common/linmod.c deleted file mode 100644 index 3292295f7c..0000000000 --- a/usr/src/lib/libplot/vt0/common/linmod.c +++ /dev/null @@ -1,38 +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 (c) 1984, 1986, 1987, 1988, 1989 AT&T */ -/* All Rights Reserved */ - - -/* - * Copyright (c) 1997, by Sun Microsystems, Inc. - * All rights reserved. - */ - -#pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.2 */ -/*LINTLIBRARY*/ - -/*ARGSUSED*/ -void -linemod(char *s) -{ -} diff --git a/usr/src/lib/libplot/vt0/common/llib-lvt0 b/usr/src/lib/libplot/vt0/common/llib-lvt0 deleted file mode 100644 index 204d205bf9..0000000000 --- a/usr/src/lib/libplot/vt0/common/llib-lvt0 +++ /dev/null @@ -1,73 +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 (c) 1997 by Sun Microsystems, Inc. - * All rights reserved - */ - -#pragma ident "%Z%%M% %I% %E% SMI" - -/*LINTLIBRARY*/ -/*PROTOLIB1*/ - -#include <stdio.h> - -/*arc.c*/ -void arc(short, short, short, short, short, short); - -/*box.c*/ -void box(short, short, short, short); - -/*circle.c*/ -void circle(short, short, short); - -/*close.c*/ -void closelp(void); -void closevt(void); - -/*cont.c*/ -void cont(short, short); - -/*erase.c*/ -void erase(void); - -/*label.c*/ -void label(char *); - -/*line.c*/ -void line(short, short); - -/*linmod.c*/ -void linemod(char *); - -/*move.c*/ -void move(short, short); - -/*open.c*/ -void openpt(); -void openvt(); - -/*point.c*/ -void point(short, short); - -/*space.c*/ -void space(short, short, short, short); diff --git a/usr/src/lib/libplot/vt0/common/mapfile-vers b/usr/src/lib/libplot/vt0/common/mapfile-vers deleted file mode 100644 index 66c097ace1..0000000000 --- a/usr/src/lib/libplot/vt0/common/mapfile-vers +++ /dev/null @@ -1,80 +0,0 @@ -# -# 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 -# 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 (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. -# - -# -# MAPFILE HEADER START -# -# WARNING: STOP NOW. DO NOT MODIFY THIS FILE. -# Object versioning must comply with the rules detailed in -# -# usr/src/lib/README.mapfiles -# -# You should not be making modifications here until you've read the most current -# copy of that file. If you need help, contact a gatekeeper for guidance. -# -# MAPFILE HEADER END -# - -$mapfile_version 2 - -SYMBOL_VERSION SUNW_1.1 { - global: - arc; - box; - circle; - closepl; - closevt; - cont; - dot; - erase; - frame; - label; - line; - linemod; - move; - openpl; - openvt; - point; - space; -}; - -SYMBOL_VERSION SUNWprivate_1.1 { - global: - botx; - boty; - deltx; - delty; - _lib_version; - obotx; - oboty; - scalex; - scaley; - vti; - xnow; - xsc; - ynow; - ysc; - local: - *; -}; diff --git a/usr/src/lib/libplot/vt0/common/move.c b/usr/src/lib/libplot/vt0/common/move.c deleted file mode 100644 index e4a46898d1..0000000000 --- a/usr/src/lib/libplot/vt0/common/move.c +++ /dev/null @@ -1,44 +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 (c) 1984, 1986, 1987, 1988, 1989 AT&T */ -/* All Rights Reserved */ - - -/* - * Copyright (c) 1997, by Sun Microsystems, Inc. - */ - -#pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.2 */ -/*LINTLIBRARY*/ - -#include <unistd.h> -#include "con.h" - -void -move(short xi, short yi) -{ - struct {char pad, c; short x, y; } p; - p.c = 9; - p.x = xnow = xsc(xi); - p.y = ynow = ysc(yi); - (void) write(vti, &p.c, 5); -} diff --git a/usr/src/lib/libplot/vt0/common/open.c b/usr/src/lib/libplot/vt0/common/open.c deleted file mode 100644 index 89dd243c72..0000000000 --- a/usr/src/lib/libplot/vt0/common/open.c +++ /dev/null @@ -1,49 +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 (c) 1984, 1986, 1987, 1988, 1989 AT&T */ -/* All Rights Reserved */ - - -/* - * Copyright (c) 1997, by Sun Microsystems, Inc. - * All rights reserved. - */ - -#pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.4 */ -/*LINTLIBRARY*/ - -#include <sys/types.h> -#include <fcntl.h> - -int vti = -1; - -void -openvt(void) -{ - vti = open("/dev/vt0", 1); -} - -void -openpl(void) -{ - vti = open("/dev/vt0", 1); -} diff --git a/usr/src/lib/libplot/vt0/common/point.c b/usr/src/lib/libplot/vt0/common/point.c deleted file mode 100644 index 6e1bf2b526..0000000000 --- a/usr/src/lib/libplot/vt0/common/point.c +++ /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 (c) 1984, 1986, 1987, 1988, 1989 AT&T */ -/* All Rights Reserved */ - - -/* - * Copyright (c) 1997, by Sun Microsystems, Inc. - * All rights reserved. - */ - -#pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.2 */ -/*LINTLIBRARY*/ - -#include <unistd.h> -#include "con.h" - -void -point(short xi, short yi) -{ - struct {char pad, c; short x, y; } p; - p.c = 2; - p.x = xnow = xsc(xi); - p.y = ynow = ysc(yi); - (void) write(vti, &p.c, 5); -} diff --git a/usr/src/lib/libplot/vt0/common/space.c b/usr/src/lib/libplot/vt0/common/space.c deleted file mode 100644 index 5dbd9ef069..0000000000 --- a/usr/src/lib/libplot/vt0/common/space.c +++ /dev/null @@ -1,47 +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 (c) 1984, 1986, 1987, 1988, 1989 AT&T */ -/* All Rights Reserved */ - - -/* - * Copyright (c) 1997, by Sun Microsystems, Inc. - * All rights reserved. - */ - -#pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.2 */ -/*LINTLIBRARY*/ - -#include "con.h" - -float deltx, delty; - -void -space(short x0, short y0, short x1, short y1) -{ - botx = -2047.; - boty = -2047; - obotx = x0; - oboty = y0; - scalex = deltx / (x1 - x0); - scaley = delty / (y1 - y0); -} diff --git a/usr/src/lib/libplot/vt0/common/subr.c b/usr/src/lib/libplot/vt0/common/subr.c deleted file mode 100644 index 263dd9f267..0000000000 --- a/usr/src/lib/libplot/vt0/common/subr.c +++ /dev/null @@ -1,52 +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 (c) 1984, 1986, 1987, 1988, 1989 AT&T */ -/* All Rights Reserved */ - - - -/* - * Copyright 2005 Sun Microsystems, Inc. All rights reserved. - * Use is subject to license terms. - */ - -#pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.2 */ -/*LINTLIBRARY*/ - -float obotx, botx, scalex; -float oboty, boty, scaley; - -int -xsc(int xi) -{ - int xa; - xa = (int)((xi - obotx) * scalex + botx); - return (xa); -} - -int -ysc(int yi) -{ - int ya; - ya = (int)((yi - oboty) * scaley + boty); - return (ya); -} diff --git a/usr/src/lib/libplot/vt0/i386/Makefile b/usr/src/lib/libplot/vt0/i386/Makefile deleted file mode 100644 index 3fa035b373..0000000000 --- a/usr/src/lib/libplot/vt0/i386/Makefile +++ /dev/null @@ -1,34 +0,0 @@ -# -# 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 -# 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 2006 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. -# -# ident "%Z%%M% %I% %E% SMI" -# - -include ../Makefile.com - -all: $(LIBS) - -.KEEP_STATE: - -install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT) diff --git a/usr/src/lib/libplot/vt0/sparc/Makefile b/usr/src/lib/libplot/vt0/sparc/Makefile deleted file mode 100644 index 3fa035b373..0000000000 --- a/usr/src/lib/libplot/vt0/sparc/Makefile +++ /dev/null @@ -1,34 +0,0 @@ -# -# 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 -# 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 2006 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. -# -# ident "%Z%%M% %I% %E% SMI" -# - -include ../Makefile.com - -all: $(LIBS) - -.KEEP_STATE: - -install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT) diff --git a/usr/src/lib/libplot/vt0/sparcv9/Makefile b/usr/src/lib/libplot/vt0/sparcv9/Makefile deleted file mode 100644 index ce59ffd0dd..0000000000 --- a/usr/src/lib/libplot/vt0/sparcv9/Makefile +++ /dev/null @@ -1,37 +0,0 @@ -# -# 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 -# 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 2006 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. -# -# ident "%Z%%M% %I% %E% SMI" -# - -include ../Makefile.com -include ../../../Makefile.lib.64 - -LIBS= $(DYNLIB) $(LINTLIB) - -all: $(LIBS) - -.KEEP_STATE: - -install: all $(ROOTLIBS64) $(ROOTLINKS64) |