diff options
| author | stevel@tonic-gate <none@none> | 2005-06-14 00:00:00 -0700 |
|---|---|---|
| committer | stevel@tonic-gate <none@none> | 2005-06-14 00:00:00 -0700 |
| commit | 7c478bd95313f5f23a4c958a745db2134aa03244 (patch) | |
| tree | c871e58545497667cbb4b0a4f2daf204743e1fe7 /usr/src/lib/libw | |
| download | illumos-joyent-7c478bd95313f5f23a4c958a745db2134aa03244.tar.gz | |
OpenSolaris Launch
Diffstat (limited to 'usr/src/lib/libw')
| -rw-r--r-- | usr/src/lib/libw/Makefile | 45 | ||||
| -rw-r--r-- | usr/src/lib/libw/Makefile.com | 54 | ||||
| -rw-r--r-- | usr/src/lib/libw/amd64/Makefile | 35 | ||||
| -rw-r--r-- | usr/src/lib/libw/common/mapfile-vers | 124 | ||||
| -rw-r--r-- | usr/src/lib/libw/i386/Makefile | 32 | ||||
| -rw-r--r-- | usr/src/lib/libw/sparc/Makefile | 32 | ||||
| -rw-r--r-- | usr/src/lib/libw/sparcv9/Makefile | 35 |
7 files changed, 357 insertions, 0 deletions
diff --git a/usr/src/lib/libw/Makefile b/usr/src/lib/libw/Makefile new file mode 100644 index 0000000000..e49536d662 --- /dev/null +++ b/usr/src/lib/libw/Makefile @@ -0,0 +1,45 @@ +# +# 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 2003 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. +# +# ident "%Z%%M% %I% %E% SMI" + +include ../Makefile.lib + +SUBDIRS= $(MACH) $(BUILD64) $(MACH64) + +all := TARGET= all +clean := TARGET= clean +clobber := TARGET= clobber +install := TARGET= install +lint := TARGET= lint + +.KEEP_STATE: + +all clean clobber install lint: $(SUBDIRS) + +$(MACH) $(MACH64): FRC + @cd $@; pwd; $(MAKE) $(TARGET) + +FRC: diff --git a/usr/src/lib/libw/Makefile.com b/usr/src/lib/libw/Makefile.com new file mode 100644 index 0000000000..9ecc982a0a --- /dev/null +++ b/usr/src/lib/libw/Makefile.com @@ -0,0 +1,54 @@ +# +# 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" + +LIBRARY= libw.a +VERS= .1 + +include ../../Makefile.lib +include ../../Makefile.rootfs + +MAPFILES= ../common/mapfile-vers $(MAPFILE-FLTR) +MAPOPTS= $(MAPFILES:%=-M %) + +DYNFLAGS += -F libc.so.1 $(MAPOPTS) + +LIBS= $(DYNLIB) + +# Redefine shared object build rule to use $(LD) directly (this avoids .init +# and .fini sections being added). Also, since there are no OBJECTS, turn +# off CTF. + +BUILD.SO= $(LD) -o $@ -G $(DYNFLAGS) +CTFMERGE_LIB= : + +include ../../Makefile.targ + +all: $(LIBS) + +lint: + +$(DYNLIB): $(MAPFILES) diff --git a/usr/src/lib/libw/amd64/Makefile b/usr/src/lib/libw/amd64/Makefile new file mode 100644 index 0000000000..0c09de3ef5 --- /dev/null +++ b/usr/src/lib/libw/amd64/Makefile @@ -0,0 +1,35 @@ +# +# 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 2003 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 + +BUILD.SO= $(LD) -o $@ -G -64 $(DYNFLAGS) + +.KEEP_STATE: + +install: all $(ROOTLIBS64) $(ROOTLINKS64) diff --git a/usr/src/lib/libw/common/mapfile-vers b/usr/src/lib/libw/common/mapfile-vers new file mode 100644 index 0000000000..f333ea6398 --- /dev/null +++ b/usr/src/lib/libw/common/mapfile-vers @@ -0,0 +1,124 @@ +# ident "%Z%%M% %I% %E% SMI" +# 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 +# + +SUNW_1.1 { + global: + SUNW_1.1; + local: + *; +} SUNW_0.8; + +SUNW_0.8 { + global: + getwc = FUNCTION; + putwc = FUNCTION; + iswctype = FUNCTION; + wcscoll = FUNCTION; + wcsftime = FUNCTION; + wcstod = FUNCTION; + wcstol = FUNCTION; + wcstoul = FUNCTION; + wcscat = FUNCTION; + wcsncat = FUNCTION; + wcscmp = FUNCTION; + wcsncmp = FUNCTION; + wcscpy = FUNCTION; + wcsncpy = FUNCTION; + wcslen = FUNCTION; + wcwidth = FUNCTION; + wcswidth = FUNCTION; + wcschr = FUNCTION; + wcsrchr = FUNCTION; + wcspbrk = FUNCTION; + wcsxfrm = FUNCTION; + wctype = FUNCTION; + strtows = FUNCTION; + wcscspn = FUNCTION; + wcsspn = FUNCTION; + wcstok = FUNCTION; + wcswcs = FUNCTION; + wstostr = FUNCTION; +} SUNW_0.7; + +SUNW_0.7 { + global: + getws = FUNCTION; + fgetws = FUNCTION; + fgetwc = FUNCTION; + getwchar = FUNCTION; + ungetwc = FUNCTION; + iswalpha = FUNCTION; + iswupper = FUNCTION; + iswlower = FUNCTION; + iswdigit = FUNCTION; + iswxdigit = FUNCTION; + iswalnum = FUNCTION; + iswspace = FUNCTION; + iswpunct = FUNCTION; + iswprint = FUNCTION; + iswgraph = FUNCTION; + iswcntrl = FUNCTION; + isphonogram = FUNCTION; + isideogram = FUNCTION; + isenglish = FUNCTION; + isnumber = FUNCTION; + isspecial = FUNCTION; + putws = FUNCTION; + fputwc = FUNCTION; + fputws = FUNCTION; + putwchar = FUNCTION; + towlower = FUNCTION; + towupper = FUNCTION; + wscoll = FUNCTION; + wstod = FUNCTION; + wstol = FUNCTION; + wscat = FUNCTION; + wsncat = FUNCTION; + wscmp = FUNCTION; + wsncmp = FUNCTION; + wscpy = FUNCTION; + wsncpy = FUNCTION; + wslen = FUNCTION; + wschr = FUNCTION; + wsrchr = FUNCTION; + wspbrk = FUNCTION; + wsxfrm = FUNCTION; + wsprintf = FUNCTION; + wsscanf = FUNCTION; + wscasecmp = FUNCTION; + wsncasecmp = FUNCTION; + wsdup = FUNCTION; + wscol = FUNCTION; + watoll = FUNCTION; + wscspn = FUNCTION; + wsspn = FUNCTION; + wstok = FUNCTION; + wstoll = FUNCTION; +}; + +SUNWprivate_1.1 { + global: + SUNWprivate_1.1; +}; diff --git a/usr/src/lib/libw/i386/Makefile b/usr/src/lib/libw/i386/Makefile new file mode 100644 index 0000000000..0351e399ad --- /dev/null +++ b/usr/src/lib/libw/i386/Makefile @@ -0,0 +1,32 @@ +# +# 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 2003 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. +# +# ident "%Z%%M% %I% %E% SMI" + +include ../Makefile.com + +.KEEP_STATE: + +install: all $(ROOTLIBS) $(ROOTLINKS) diff --git a/usr/src/lib/libw/sparc/Makefile b/usr/src/lib/libw/sparc/Makefile new file mode 100644 index 0000000000..0351e399ad --- /dev/null +++ b/usr/src/lib/libw/sparc/Makefile @@ -0,0 +1,32 @@ +# +# 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 2003 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. +# +# ident "%Z%%M% %I% %E% SMI" + +include ../Makefile.com + +.KEEP_STATE: + +install: all $(ROOTLIBS) $(ROOTLINKS) diff --git a/usr/src/lib/libw/sparcv9/Makefile b/usr/src/lib/libw/sparcv9/Makefile new file mode 100644 index 0000000000..0c09de3ef5 --- /dev/null +++ b/usr/src/lib/libw/sparcv9/Makefile @@ -0,0 +1,35 @@ +# +# 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 2003 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 + +BUILD.SO= $(LD) -o $@ -G -64 $(DYNFLAGS) + +.KEEP_STATE: + +install: all $(ROOTLIBS64) $(ROOTLINKS64) |
