diff options
Diffstat (limited to 'usr/src/lib/libplot/plot')
-rw-r--r-- | usr/src/lib/libplot/plot/Makefile | 21 | ||||
-rw-r--r-- | usr/src/lib/libplot/plot/Makefile.com | 19 | ||||
-rw-r--r-- | usr/src/lib/libplot/plot/amd64/Makefile | 9 | ||||
-rw-r--r-- | usr/src/lib/libplot/plot/common/mapfile-vers (renamed from usr/src/lib/libplot/plot/spec/versions) | 55 | ||||
-rw-r--r-- | usr/src/lib/libplot/plot/i386/Makefile | 14 | ||||
-rw-r--r-- | usr/src/lib/libplot/plot/sparc/Makefile | 14 | ||||
-rw-r--r-- | usr/src/lib/libplot/plot/sparcv9/Makefile | 14 | ||||
-rw-r--r-- | usr/src/lib/libplot/plot/spec/Makefile | 30 | ||||
-rw-r--r-- | usr/src/lib/libplot/plot/spec/Makefile.targ | 36 | ||||
-rw-r--r-- | usr/src/lib/libplot/plot/spec/amd64/Makefile | 42 | ||||
-rw-r--r-- | usr/src/lib/libplot/plot/spec/i386/Makefile | 42 | ||||
-rw-r--r-- | usr/src/lib/libplot/plot/spec/plot.spec | 133 | ||||
-rw-r--r-- | usr/src/lib/libplot/plot/spec/sparc/Makefile | 44 | ||||
-rw-r--r-- | usr/src/lib/libplot/plot/spec/sparcv9/Makefile | 43 |
14 files changed, 64 insertions, 452 deletions
diff --git a/usr/src/lib/libplot/plot/Makefile b/usr/src/lib/libplot/plot/Makefile index e94f5e4ccb..3e7d04deb5 100644 --- a/usr/src/lib/libplot/plot/Makefile +++ b/usr/src/lib/libplot/plot/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,18 +19,16 @@ # CDDL HEADER END # # -# Copyright (c) 1989-1999 by Sun Microsystems, Inc. -# All rights reserved. +# Copyright 2006 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. # -#pragma ident "%Z%%M% %I% %E% SMI" -# -# Copyright (c) 1989-1998 by Sun Microsystems, Inc. -# -# lib/libplot/plot/Makefile +# ident "%Z%%M% %I% %E% SMI" # + include ../../Makefile.lib -SUBDIRS= spec .WAIT $(MACH) $(BUILD64) $(MACH64) +SUBDIRS = $(MACH) +$(BUILD64)SUBDIRS += $(MACH64) all := TARGET= all clean := TARGET= clean @@ -45,7 +42,7 @@ lint := TARGET= lint all clean clobber delete install lint: $(SUBDIRS) -$(MACH) $(MACH64) spec: FRC +$(SUBDIRS): FRC @cd $@; pwd; $(MAKE) $(TARGET) FRC: diff --git a/usr/src/lib/libplot/plot/Makefile.com b/usr/src/lib/libplot/plot/Makefile.com index 89695bfb81..e3de94f3ee 100644 --- a/usr/src/lib/libplot/plot/Makefile.com +++ b/usr/src/lib/libplot/plot/Makefile.com @@ -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,13 +19,11 @@ # CDDL HEADER END # # -# Copyright 2004 Sun Microsystems, Inc. All rights reserved. +# Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # ident "%Z%%M% %I% %E% SMI" # -# lib/libplot/plot/Makefile.com -# LIBRARY= libplot.a VERS= .1 @@ -40,9 +37,7 @@ OBJECTS= \ # include library definitions include ../../../Makefile.lib -MAPFILE= $(MAPDIR)/mapfile -MAPOPTS= $(MAPFILE:%=-M %) -SRCS= $(OBJECTS:%.o=../common/%.c) +SRCDIR = ../common LIBS = $(DYNLIB) $(LINTLIB) @@ -51,18 +46,12 @@ $(LINTLIB):= SRCS=../common/llib-lplot LINTSRC= $(LINTLIB:%.ln=%) CFLAGS += $(CCVERBOSE) -DYNFLAGS += $(MAPOPTS) LDLIBS += -lc .KEEP_STATE: lint: lintcheck -$(DYNLIB): $(MAPFILE) - -$(MAPFILE): - @cd $(MAPDIR); $(MAKE) mapfile - # include library targets include ../../../Makefile.targ diff --git a/usr/src/lib/libplot/plot/amd64/Makefile b/usr/src/lib/libplot/plot/amd64/Makefile index 7ca1ce38bf..7a373bbdcd 100644 --- a/usr/src/lib/libplot/plot/amd64/Makefile +++ b/usr/src/lib/libplot/plot/amd64/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,14 +19,12 @@ # CDDL HEADER END # # -# Copyright 2004 Sun Microsystems, Inc. All rights reserved. +# Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # ident "%Z%%M% %I% %E% SMI" # -MAPDIR= ../spec/amd64 - include ../Makefile.com include ../../../Makefile.lib.64 diff --git a/usr/src/lib/libplot/plot/spec/versions b/usr/src/lib/libplot/plot/common/mapfile-vers index 38a2cfc77a..ca180f5c41 100644 --- a/usr/src/lib/libplot/plot/spec/versions +++ b/usr/src/lib/libplot/plot/common/mapfile-vers @@ -1,13 +1,9 @@ # -# Copyright 2005 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. -# # 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. @@ -22,22 +18,37 @@ # # CDDL HEADER END # +# +# Copyright 2006 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. +# # ident "%Z%%M% %I% %E% SMI" # -sparc { - SUNW_1.1; - SUNWprivate_1.1; -} -sparcv9 { - SUNW_1.1; - SUNWprivate_1.1; -} -i386 { - SUNW_1.1; - SUNWprivate_1.1; -} -amd64 { - SUNW_1.1; - SUNWprivate_1.1; -} +SUNW_1.1 { + global: + arc; + box; + circle; + closepl; + closevt; + cont; + erase; + label; + line; + linemod; + move; + openpl; + openvt; + point; + space; +}; + +SUNWprivate_1.1 { + global: + dot; + _lib_version; + putsi; + local: + *; +}; diff --git a/usr/src/lib/libplot/plot/i386/Makefile b/usr/src/lib/libplot/plot/i386/Makefile index 7d46601f07..2a944b0b43 100644 --- a/usr/src/lib/libplot/plot/i386/Makefile +++ b/usr/src/lib/libplot/plot/i386/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,14 +19,11 @@ # CDDL HEADER END # # -# Copyright (c) 1997-1999 by Sun Microsystems, Inc. -# All rights reserved. +# Copyright 2006 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. # -#pragma ident "%Z%%M% %I% %E% SMI" +# ident "%Z%%M% %I% %E% SMI" # -# lib/libplot/plot/i386/Makefile - -MAPDIR= ../spec/i386 include ../Makefile.com diff --git a/usr/src/lib/libplot/plot/sparc/Makefile b/usr/src/lib/libplot/plot/sparc/Makefile index b18ebae1a5..2a944b0b43 100644 --- a/usr/src/lib/libplot/plot/sparc/Makefile +++ b/usr/src/lib/libplot/plot/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,14 +19,11 @@ # CDDL HEADER END # # -# Copyright (c) 1997-1999 by Sun Microsystems, Inc. -# All rights reserved. +# Copyright 2006 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. # -#pragma ident "%Z%%M% %I% %E% SMI" +# ident "%Z%%M% %I% %E% SMI" # -# lib/libplot/plot/sparc/Makefile - -MAPDIR= ../spec/sparc include ../Makefile.com diff --git a/usr/src/lib/libplot/plot/sparcv9/Makefile b/usr/src/lib/libplot/plot/sparcv9/Makefile index 8c2cffc092..b10cb39a45 100644 --- a/usr/src/lib/libplot/plot/sparcv9/Makefile +++ b/usr/src/lib/libplot/plot/sparcv9/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,14 +19,11 @@ # CDDL HEADER END # # -# Copyright (c) 1997-1999 by Sun Microsystems, Inc. -# All rights reserved. +# Copyright 2006 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. # -#pragma ident "%Z%%M% %I% %E% SMI" +# ident "%Z%%M% %I% %E% SMI" # -# lib/libplot/plot/sparcv9/Makefile - -MAPDIR= ../spec/sparcv9 include ../Makefile.com include ../../../Makefile.lib.64 diff --git a/usr/src/lib/libplot/plot/spec/Makefile b/usr/src/lib/libplot/plot/spec/Makefile deleted file mode 100644 index fb4e1aa5cd..0000000000 --- a/usr/src/lib/libplot/plot/spec/Makefile +++ /dev/null @@ -1,30 +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-1999 by Sun Microsystems, Inc. -# All rights reserved. -# -#pragma ident "%Z%%M% %I% %E% SMI" -# -# lib/libplot/plot/spec/Makefile - -include $(SRC)/lib/Makefile.spec.arch diff --git a/usr/src/lib/libplot/plot/spec/Makefile.targ b/usr/src/lib/libplot/plot/spec/Makefile.targ deleted file mode 100644 index 9d527efb4e..0000000000 --- a/usr/src/lib/libplot/plot/spec/Makefile.targ +++ /dev/null @@ -1,36 +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-1999 by Sun Microsystems, Inc. -# All rights reserved. -# -#pragma ident "%Z%%M% %I% %E% SMI" -# -# lib/libplot/plot/spec/Makefile.targ - -LIBRARY = libplot.a -VERS = .1 - -OBJECTS = plot.o - -TRANSCPP = -SPECCPP = diff --git a/usr/src/lib/libplot/plot/spec/amd64/Makefile b/usr/src/lib/libplot/plot/spec/amd64/Makefile deleted file mode 100644 index 5dd1b7240f..0000000000 --- a/usr/src/lib/libplot/plot/spec/amd64/Makefile +++ /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 2004 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. -# -# ident "%Z%%M% %I% %E% SMI" -# - -include ../Makefile.targ - -# Add arch specific objects here -OBJECTS += - -include $(SRC)/lib/Makefile.lib -include $(SRC)/lib/Makefile.lib.64 - -# Uncomment the following if the linker complains -#amd64_C_PICFLAGS = $(amd64_C_BIGPICFLAGS) - -include $(SRC)/lib/Makefile.spec - -install: $(ROOTABILIB64) diff --git a/usr/src/lib/libplot/plot/spec/i386/Makefile b/usr/src/lib/libplot/plot/spec/i386/Makefile deleted file mode 100644 index 7f79ddec84..0000000000 --- a/usr/src/lib/libplot/plot/spec/i386/Makefile +++ /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) 1997-1999 by Sun Microsystems, Inc. -# All rights reserved. -# -#pragma ident "%Z%%M% %I% %E% SMI" -# -# lib/libplot/plot/spec/i386/Makefile - -include ../Makefile.targ - -# Add arch specific objects here -OBJECTS += - -include $(SRC)/lib/Makefile.lib - -# Uncomment the following if the linker complains -#i386_C_PICFLAGS = -K PIC - -include $(SRC)/lib/Makefile.spec - -install: $(ROOTABILIB) diff --git a/usr/src/lib/libplot/plot/spec/plot.spec b/usr/src/lib/libplot/plot/spec/plot.spec deleted file mode 100644 index 9ccf6250e3..0000000000 --- a/usr/src/lib/libplot/plot/spec/plot.spec +++ /dev/null @@ -1,133 +0,0 @@ -# -# Copyright 2005 Sun Microsystems, Inc. All rights reserved. -# Use is subject to license terms. -# -# 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 -# -#pragma ident "%Z%%M% %I% %E% SMI" -# -# lib/libplot/plot/spec/plot.spec - -function arc -include <plot.h> -declaration void arc(short x0, short y0, short x1, short y1, \ - short x2, short y2) -version SUNW_1.1 -end - -function box -include <plot.h> -declaration void box(short x0, short y0, short x1, short y1) -version SUNW_1.1 -end - -function circle -include <plot.h> -declaration void circle(short x, short y, short r) -version SUNW_1.1 -end - -function closepl -include <plot.h> -declaration void closepl(void) -version SUNW_1.1 -end - -function closevt -include <plot.h> -declaration void closevt(void) -version SUNW_1.1 -end - -function cont -include <plot.h> -declaration void cont(short x, short y) -version SUNW_1.1 -end - -function dot -include <plot.h> -declaration void dot(short xi, short yi, short dx, short n, short pat[]) -version SUNWprivate_1.1 -end - -function erase -include <plot.h> -declaration void erase(void) -version SUNW_1.1 -end - -function label -include <plot.h> -declaration void label(char *s) -version SUNW_1.1 -end - -function line -include <plot.h> -declaration void line(short x0, short y0, short x1, short y1) -version SUNW_1.1 -end - -function linemod -include <plot.h> -declaration void linemod(char *s) -version SUNW_1.1 -end - -function move -include <plot.h> -declaration void move(short x, short y) -version SUNW_1.1 -end - -function openpl -include <plot.h> -declaration void openpl(void) -version SUNW_1.1 -end - -function openvt -include <plot.h> -declaration void openvt(void) -version SUNW_1.1 -end - -function point -include <plot.h> -declaration void point(short x, short y) -version SUNW_1.1 -end - -function space -include <plot.h> -declaration void space(short x0, short y0, short x1, short y1) -version SUNW_1.1 -end - -function putsi -version SUNWprivate_1.1 -end - -function _lib_version -version SUNWprivate_1.1 -end - diff --git a/usr/src/lib/libplot/plot/spec/sparc/Makefile b/usr/src/lib/libplot/plot/spec/sparc/Makefile deleted file mode 100644 index d2cc8ab285..0000000000 --- a/usr/src/lib/libplot/plot/spec/sparc/Makefile +++ /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) 1997-1999 by Sun Microsystems, Inc. -# All rights reserved. -# -#pragma ident "%Z%%M% %I% %E% SMI" -# -# lib/libplot/plot/spec/sparc/Makefile - -.KEEP_STATE: - -include ../Makefile.targ - -# Add arch specific objects here -OBJECTS += - -include $(SRC)/lib/Makefile.lib - -# Uncomment the following if the linker complains -#sparc_C_PICFLAGS = -K PIC - -include $(SRC)/lib/Makefile.spec - -install: $(ROOTABILIB) diff --git a/usr/src/lib/libplot/plot/spec/sparcv9/Makefile b/usr/src/lib/libplot/plot/spec/sparcv9/Makefile deleted file mode 100644 index 9283948d89..0000000000 --- a/usr/src/lib/libplot/plot/spec/sparcv9/Makefile +++ /dev/null @@ -1,43 +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-1999 by Sun Microsystems, Inc. -# All rights reserved. -# -#pragma ident "%Z%%M% %I% %E% SMI" -# -# lib/libplot/plot/spec/sparcv9/Makefile - -include ../Makefile.targ - -# Add arch specific objects here -OBJECTS += - -include $(SRC)/lib/Makefile.lib -include $(SRC)/lib/Makefile.lib.64 - -# Uncomment the following if the linker complains -#sparcv9_C_PICFLAGS = -K PIC - -include $(SRC)/lib/Makefile.spec - -install: $(ROOTABILIB64) |