Index: ossp-pkg/js/src/config/AIX4.1.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/AIX4.1.mk,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/AIX4.1.mk,v' | diff -u /dev/null - -L'ossp-pkg/js/src/config/AIX4.1.mk' 2>/dev/null --- ossp-pkg/js/src/config/AIX4.1.mk +++ - 2025-04-08 06:32:40.735436302 +0200 @@ -0,0 +1,65 @@ +# -*- Mode: makefile -*- +# +# ***** BEGIN LICENSE BLOCK ***** +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is Mozilla Communicator client code, released +# March 31, 1998. +# +# The Initial Developer of the Original Code is +# Netscape Communications Corporation. +# Portions created by the Initial Developer are Copyright (C) 1998 +# the Initial Developer. All Rights Reserved. +# +# Contributor(s): +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 2 or later (the "GPL"), or +# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), +# in which case the provisions of the GPL or the LGPL are applicable instead +# of those above. If you wish to allow use of your version of this file only +# under the terms of either the GPL or the LGPL, and not to allow others to +# use your version of this file under the terms of the MPL, indicate your +# decision by deleting the provisions above and replace them with the notice +# and other provisions required by the GPL or the LGPL. If you do not delete +# the provisions above, a recipient may use your version of this file under +# the terms of any one of the MPL, the GPL or the LGPL. +# +# ***** END LICENSE BLOCK ***** + +# +# Config stuff for AIX +# + +CC = xlC_r +CCC = xlC_r + +RANLIB = ranlib + +#.c.o: +# $(CC) -c -MD $*.d $(CFLAGS) $< +ARCH := aix +CPU_ARCH = rs6000 +GFX_ARCH = x +INLINES = js_compare_and_swap:js_fast_lock1:js_fast_unlock1:js_lock_get_slot:js_lock_set_slot:js_lock_scope1 + +OS_CFLAGS = -qarch=com -qinline+$(INLINES) -DXP_UNIX -DAIX -DAIXV3 -DSYSV -DHAVE_LOCALTIME_R +OS_LIBS = -lbsd -lsvld -lm +#-lpthreads -lc_r + +MKSHLIB = $(LD) -bM:SRE -bh:4 -bnoentry -berok +XLDFLAGS += -lc + +ifdef JS_THREADSAFE +XLDFLAGS += -lsvld +endif Index: ossp-pkg/js/src/config/AIX4.1.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/AIX4.1.mk,v rcsdiff -q -kk '-r1.1' '-r1.1.1.1' -u '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/AIX4.1.mk,v' 2>/dev/null Index: ossp-pkg/js/src/config/AIX4.2.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/AIX4.2.mk,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/AIX4.2.mk,v' | diff -u /dev/null - -L'ossp-pkg/js/src/config/AIX4.2.mk' 2>/dev/null --- ossp-pkg/js/src/config/AIX4.2.mk +++ - 2025-04-08 06:32:40.880991990 +0200 @@ -0,0 +1,64 @@ +# -*- Mode: makefile -*- +# +# ***** BEGIN LICENSE BLOCK ***** +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is Mozilla Communicator client code, released +# March 31, 1998. +# +# The Initial Developer of the Original Code is +# Netscape Communications Corporation. +# Portions created by the Initial Developer are Copyright (C) 1998 +# the Initial Developer. All Rights Reserved. +# +# Contributor(s): +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 2 or later (the "GPL"), or +# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), +# in which case the provisions of the GPL or the LGPL are applicable instead +# of those above. If you wish to allow use of your version of this file only +# under the terms of either the GPL or the LGPL, and not to allow others to +# use your version of this file under the terms of the MPL, indicate your +# decision by deleting the provisions above and replace them with the notice +# and other provisions required by the GPL or the LGPL. If you do not delete +# the provisions above, a recipient may use your version of this file under +# the terms of any one of the MPL, the GPL or the LGPL. +# +# ***** END LICENSE BLOCK ***** + +# +# Config stuff for AIX +# + +CC = xlC_r +CCC = xlC_r +CFLAGS += -qarch=com -qnoansialias -qinline+$(INLINES) -DXP_UNIX -DAIX -DAIXV3 -DSYSV -DHAVE_LOCALTIME_R + +RANLIB = ranlib + +#.c.o: +# $(CC) -c -MD $*.d $(CFLAGS) $< +ARCH := aix +CPU_ARCH = rs6000 +GFX_ARCH = x +INLINES = js_compare_and_swap:js_fast_lock1:js_fast_unlock1:js_lock_get_slot:js_lock_set_slot:js_lock_scope1 + +#-lpthreads -lc_r + +MKSHLIB = /usr/lpp/xlC/bin/makeC++SharedLib_r -p 0 -G -berok + +ifdef JS_THREADSAFE +XLDFLAGS += -ldl +endif + Index: ossp-pkg/js/src/config/AIX4.2.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/AIX4.2.mk,v rcsdiff -q -kk '-r1.1' '-r1.1.1.1' -u '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/AIX4.2.mk,v' 2>/dev/null Index: ossp-pkg/js/src/config/AIX4.3.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/AIX4.3.mk,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/AIX4.3.mk,v' | diff -u /dev/null - -L'ossp-pkg/js/src/config/AIX4.3.mk' 2>/dev/null --- ossp-pkg/js/src/config/AIX4.3.mk +++ - 2025-04-08 06:32:40.887539463 +0200 @@ -0,0 +1,65 @@ +# -*- Mode: makefile -*- +# +# ***** BEGIN LICENSE BLOCK ***** +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is Mozilla Communicator client code, released +# March 31, 1998. +# +# The Initial Developer of the Original Code is +# Netscape Communications Corporation. +# Portions created by the Initial Developer are Copyright (C) 1998 +# the Initial Developer. All Rights Reserved. +# +# Contributor(s): +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 2 or later (the "GPL"), or +# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), +# in which case the provisions of the GPL or the LGPL are applicable instead +# of those above. If you wish to allow use of your version of this file only +# under the terms of either the GPL or the LGPL, and not to allow others to +# use your version of this file under the terms of the MPL, indicate your +# decision by deleting the provisions above and replace them with the notice +# and other provisions required by the GPL or the LGPL. If you do not delete +# the provisions above, a recipient may use your version of this file under +# the terms of any one of the MPL, the GPL or the LGPL. +# +# ***** END LICENSE BLOCK ***** + +# +# Config stuff for AIX +# + +CC = xlC_r +CCC = xlC_r +CFLAGS += -qarch=com -qnoansialias -qinline+$(INLINES) -DXP_UNIX -DAIX -DAIXV3 -DSYSV -DAIX4_3 -DHAVE_LOCALTIME_R + +RANLIB = ranlib + +#.c.o: +# $(CC) -c -MD $*.d $(CFLAGS) $< +ARCH := aix +CPU_ARCH = rs6000 +GFX_ARCH = x +INLINES = js_compare_and_swap:js_fast_lock1:js_fast_unlock1:js_lock_get_slot:js_lock_set_slot:js_lock_scope1 + +#-lpthreads -lc_r + +MKSHLIB_BIN = /usr/ibmcxx/bin/makeC++SharedLib_r +MKSHLIB = $(MKSHLIB_BIN) -p 0 -G -berok -bM:UR + +ifdef JS_THREADSAFE +XLDFLAGS += -ldl +endif + Index: ossp-pkg/js/src/config/AIX4.3.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/AIX4.3.mk,v rcsdiff -q -kk '-r1.1' '-r1.1.1.1' -u '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/AIX4.3.mk,v' 2>/dev/null Index: ossp-pkg/js/src/config/Darwin.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/Darwin.mk,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/Darwin.mk,v' | diff -u /dev/null - -L'ossp-pkg/js/src/config/Darwin.mk' 2>/dev/null --- ossp-pkg/js/src/config/Darwin.mk +++ - 2025-04-08 06:32:40.894016992 +0200 @@ -0,0 +1,81 @@ +# -*- Mode: makefile -*- +# +# ***** BEGIN LICENSE BLOCK ***** +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is Mozilla Communicator client code, released +# March 31, 1998. +# +# The Initial Developer of the Original Code is +# Netscape Communications Corporation. +# Portions created by the Initial Developer are Copyright (C) 1998 +# the Initial Developer. All Rights Reserved. +# +# Contributor(s): +# Steve Zellers (zellers@apple.com) +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 2 or later (the "GPL"), or +# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), +# in which case the provisions of the GPL or the LGPL are applicable instead +# of those above. If you wish to allow use of your version of this file only +# under the terms of either the GPL or the LGPL, and not to allow others to +# use your version of this file under the terms of the MPL, indicate your +# decision by deleting the provisions above and replace them with the notice +# and other provisions required by the GPL or the LGPL. If you do not delete +# the provisions above, a recipient may use your version of this file under +# the terms of any one of the MPL, the GPL or the LGPL. +# +# ***** END LICENSE BLOCK ***** + +# +# Config for Mac OS X as of PR3 +# Just ripped from Linux config +# + +CC = cc +CCC = g++ +CFLAGS += -Wall -Wno-format +OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DDARWIN + +RANLIB = ranlib +MKSHLIB = libtool $(XMKSHLIBOPTS) -framework System + +#.c.o: +# $(CC) -c -MD $*.d $(CFLAGS) $< + +CPU_ARCH = $(shell uname -m) +ifeq (86,$(findstring 86,$(CPU_ARCH))) +CPU_ARCH = x86 +OS_CFLAGS+= -DX86_LINUX +endif +GFX_ARCH = x + +OS_LIBS = -lc -framework System + +ASFLAGS += -x assembler-with-cpp + +ifeq ($(CPU_ARCH),alpha) + +# Ask the C compiler on alpha linux to let us work with denormalized +# double values, which are required by the ECMA spec. + +OS_CFLAGS += -mieee +endif + +# Use the editline library to provide line-editing support. +JS_EDITLINE = 1 + +# Don't allow Makefile.ref to use libmath +NO_LIBM = 1 + Index: ossp-pkg/js/src/config/Darwin.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/Darwin.mk,v rcsdiff -q -kk '-r1.1' '-r1.1.1.1' -u '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/Darwin.mk,v' 2>/dev/null Index: ossp-pkg/js/src/config/Darwin1.3.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/Darwin1.3.mk,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/Darwin1.3.mk,v' | diff -u /dev/null - -L'ossp-pkg/js/src/config/Darwin1.3.mk' 2>/dev/null --- ossp-pkg/js/src/config/Darwin1.3.mk +++ - 2025-04-08 06:32:40.900672267 +0200 @@ -0,0 +1,81 @@ +# -*- Mode: makefile -*- +# +# ***** BEGIN LICENSE BLOCK ***** +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is Mozilla Communicator client code, released +# March 31, 1998. +# +# The Initial Developer of the Original Code is +# Netscape Communications Corporation. +# Portions created by the Initial Developer are Copyright (C) 1998 +# the Initial Developer. All Rights Reserved. +# +# Contributor(s): +# Steve Zellers (zellers@apple.com) +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 2 or later (the "GPL"), or +# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), +# in which case the provisions of the GPL or the LGPL are applicable instead +# of those above. If you wish to allow use of your version of this file only +# under the terms of either the GPL or the LGPL, and not to allow others to +# use your version of this file under the terms of the MPL, indicate your +# decision by deleting the provisions above and replace them with the notice +# and other provisions required by the GPL or the LGPL. If you do not delete +# the provisions above, a recipient may use your version of this file under +# the terms of any one of the MPL, the GPL or the LGPL. +# +# ***** END LICENSE BLOCK ***** + +# +# Config for Mac OS X as of PR3 +# Just ripped from Linux config +# + +CC = cc +CCC = g++ +CFLAGS += -Wall -Wno-format +OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DRHAPSODY + +RANLIB = ranlib +MKSHLIB = libtool $(XMKSHLIBOPTS) -framework System + +#.c.o: +# $(CC) -c -MD $*.d $(CFLAGS) $< + +CPU_ARCH = $(shell uname -m) +ifeq (86,$(findstring 86,$(CPU_ARCH))) +CPU_ARCH = x86 +OS_CFLAGS+= -DX86_LINUX +endif +GFX_ARCH = x + +OS_LIBS = -lc -framework System + +ASFLAGS += -x assembler-with-cpp + +ifeq ($(CPU_ARCH),alpha) + +# Ask the C compiler on alpha linux to let us work with denormalized +# double values, which are required by the ECMA spec. + +OS_CFLAGS += -mieee +endif + +# Use the editline library to provide line-editing support. +JS_EDITLINE = 1 + +# Don't allow Makefile.ref to use libmath +NO_LIBM = 1 + Index: ossp-pkg/js/src/config/Darwin1.3.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/Darwin1.3.mk,v rcsdiff -q -kk '-r1.1' '-r1.1.1.1' -u '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/Darwin1.3.mk,v' 2>/dev/null Index: ossp-pkg/js/src/config/Darwin1.4.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/Darwin1.4.mk,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/Darwin1.4.mk,v' | diff -u /dev/null - -L'ossp-pkg/js/src/config/Darwin1.4.mk' 2>/dev/null --- ossp-pkg/js/src/config/Darwin1.4.mk +++ - 2025-04-08 06:32:40.907174373 +0200 @@ -0,0 +1,41 @@ +# -*- Mode: makefile -*- +# +# ***** BEGIN LICENSE BLOCK ***** +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is Mozilla Communicator client code, released +# March 31, 1998. +# +# The Initial Developer of the Original Code is +# Netscape Communications Corporation. +# Portions created by the Initial Developer are Copyright (C) 1998 +# the Initial Developer. All Rights Reserved. +# +# Contributor(s): +# Mike McCabe +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 2 or later (the "GPL"), or +# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), +# in which case the provisions of the GPL or the LGPL are applicable instead +# of those above. If you wish to allow use of your version of this file only +# under the terms of either the GPL or the LGPL, and not to allow others to +# use your version of this file under the terms of the MPL, indicate your +# decision by deleting the provisions above and replace them with the notice +# and other provisions required by the GPL or the LGPL. If you do not delete +# the provisions above, a recipient may use your version of this file under +# the terms of any one of the MPL, the GPL or the LGPL. +# +# ***** END LICENSE BLOCK ***** + +include $(DEPTH)/config/Darwin1.3.mk Index: ossp-pkg/js/src/config/Darwin1.4.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/Darwin1.4.mk,v rcsdiff -q -kk '-r1.1' '-r1.1.1.1' -u '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/Darwin1.4.mk,v' 2>/dev/null Index: ossp-pkg/js/src/config/Darwin5.2.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/Darwin5.2.mk,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/Darwin5.2.mk,v' | diff -u /dev/null - -L'ossp-pkg/js/src/config/Darwin5.2.mk' 2>/dev/null --- ossp-pkg/js/src/config/Darwin5.2.mk +++ - 2025-04-08 06:32:40.913556031 +0200 @@ -0,0 +1,81 @@ +# -*- Mode: makefile -*- +# +# ***** BEGIN LICENSE BLOCK ***** +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is Mozilla Communicator client code, released +# March 31, 1998. +# +# The Initial Developer of the Original Code is +# Netscape Communications Corporation. +# Portions created by the Initial Developer are Copyright (C) 1998 +# the Initial Developer. All Rights Reserved. +# +# Contributor(s): +# Steve Zellers (zellers@apple.com) +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 2 or later (the "GPL"), or +# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), +# in which case the provisions of the GPL or the LGPL are applicable instead +# of those above. If you wish to allow use of your version of this file only +# under the terms of either the GPL or the LGPL, and not to allow others to +# use your version of this file under the terms of the MPL, indicate your +# decision by deleting the provisions above and replace them with the notice +# and other provisions required by the GPL or the LGPL. If you do not delete +# the provisions above, a recipient may use your version of this file under +# the terms of any one of the MPL, the GPL or the LGPL. +# +# ***** END LICENSE BLOCK ***** + +# +# Config for Mac OS X as of PR3 +# Just ripped from Linux config +# + +CC = cc +CCC = g++ +CFLAGS += -Wall -Wno-format +OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DDARWIN + +RANLIB = ranlib +MKSHLIB = libtool $(XMKSHLIBOPTS) -framework System + +#.c.o: +# $(CC) -c -MD $*.d $(CFLAGS) $< + +CPU_ARCH = $(shell uname -m) +ifeq (86,$(findstring 86,$(CPU_ARCH))) +CPU_ARCH = x86 +OS_CFLAGS+= -DX86_LINUX +endif +GFX_ARCH = x + +OS_LIBS = -lc -framework System + +ASFLAGS += -x assembler-with-cpp + +ifeq ($(CPU_ARCH),alpha) + +# Ask the C compiler on alpha linux to let us work with denormalized +# double values, which are required by the ECMA spec. + +OS_CFLAGS += -mieee +endif + +# Use the editline library to provide line-editing support. +JS_EDITLINE = 1 + +# Don't allow Makefile.ref to use libmath +NO_LIBM = 1 + Index: ossp-pkg/js/src/config/Darwin5.2.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/Darwin5.2.mk,v rcsdiff -q -kk '-r1.1' '-r1.1.1.1' -u '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/Darwin5.2.mk,v' 2>/dev/null Index: ossp-pkg/js/src/config/Darwin5.3.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/Darwin5.3.mk,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/Darwin5.3.mk,v' | diff -u /dev/null - -L'ossp-pkg/js/src/config/Darwin5.3.mk' 2>/dev/null --- ossp-pkg/js/src/config/Darwin5.3.mk +++ - 2025-04-08 06:32:40.920010061 +0200 @@ -0,0 +1,81 @@ +# -*- Mode: makefile -*- +# +# ***** BEGIN LICENSE BLOCK ***** +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is Mozilla Communicator client code, released +# March 31, 1998. +# +# The Initial Developer of the Original Code is +# Netscape Communications Corporation. +# Portions created by the Initial Developer are Copyright (C) 1998 +# the Initial Developer. All Rights Reserved. +# +# Contributor(s): +# Steve Zellers (zellers@apple.com) +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 2 or later (the "GPL"), or +# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), +# in which case the provisions of the GPL or the LGPL are applicable instead +# of those above. If you wish to allow use of your version of this file only +# under the terms of either the GPL or the LGPL, and not to allow others to +# use your version of this file under the terms of the MPL, indicate your +# decision by deleting the provisions above and replace them with the notice +# and other provisions required by the GPL or the LGPL. If you do not delete +# the provisions above, a recipient may use your version of this file under +# the terms of any one of the MPL, the GPL or the LGPL. +# +# ***** END LICENSE BLOCK ***** + +# +# Config for Mac OS X as of PR3 +# Just ripped from Linux config +# + +CC = cc +CCC = g++ +CFLAGS += -Wall -Wno-format +OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DDARWIN + +RANLIB = ranlib +MKSHLIB = libtool $(XMKSHLIBOPTS) -framework System + +#.c.o: +# $(CC) -c -MD $*.d $(CFLAGS) $< + +CPU_ARCH = $(shell uname -m) +ifeq (86,$(findstring 86,$(CPU_ARCH))) +CPU_ARCH = x86 +OS_CFLAGS+= -DX86_LINUX +endif +GFX_ARCH = x + +OS_LIBS = -lc -framework System + +ASFLAGS += -x assembler-with-cpp + +ifeq ($(CPU_ARCH),alpha) + +# Ask the C compiler on alpha linux to let us work with denormalized +# double values, which are required by the ECMA spec. + +OS_CFLAGS += -mieee +endif + +# Use the editline library to provide line-editing support. +JS_EDITLINE = 1 + +# Don't allow Makefile.ref to use libmath +NO_LIBM = 1 + Index: ossp-pkg/js/src/config/Darwin5.3.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/Darwin5.3.mk,v rcsdiff -q -kk '-r1.1' '-r1.1.1.1' -u '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/Darwin5.3.mk,v' 2>/dev/null Index: ossp-pkg/js/src/config/HP-UXB.10.10.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/HP-UXB.10.10.mk,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/HP-UXB.10.10.mk,v' | diff -u /dev/null - -L'ossp-pkg/js/src/config/HP-UXB.10.10.mk' 2>/dev/null --- ossp-pkg/js/src/config/HP-UXB.10.10.mk +++ - 2025-04-08 06:32:40.926465409 +0200 @@ -0,0 +1,77 @@ +# -*- Mode: makefile -*- +# +# ***** BEGIN LICENSE BLOCK ***** +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is Mozilla Communicator client code, released +# March 31, 1998. +# +# The Initial Developer of the Original Code is +# Netscape Communications Corporation. +# Portions created by the Initial Developer are Copyright (C) 1998 +# the Initial Developer. All Rights Reserved. +# +# Contributor(s): +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 2 or later (the "GPL"), or +# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), +# in which case the provisions of the GPL or the LGPL are applicable instead +# of those above. If you wish to allow use of your version of this file only +# under the terms of either the GPL or the LGPL, and not to allow others to +# use your version of this file under the terms of the MPL, indicate your +# decision by deleting the provisions above and replace them with the notice +# and other provisions required by the GPL or the LGPL. If you do not delete +# the provisions above, a recipient may use your version of this file under +# the terms of any one of the MPL, the GPL or the LGPL. +# +# ***** END LICENSE BLOCK ***** + +# +# Config stuff for HPUX +# + +# CC = gcc +# CCC = g++ +# CFLAGS += -Wall -Wno-format -fPIC + +CC = cc -Ae +Z +CCC = CC -Ae +a1 +eh +Z + +RANLIB = echo +MKSHLIB = $(LD) -b + +SO_SUFFIX = sl + +#.c.o: +# $(CC) -c -MD $*.d $(CFLAGS) $< + +CPU_ARCH = hppa +GFX_ARCH = x + +OS_CFLAGS = -DXP_UNIX -DHPUX -DSYSV -DHAVE_LOCALTIME_R +OS_LIBS = -ldld + +ifeq ($(OS_RELEASE),B.10) +PLATFORM_FLAGS += -DHPUX10 -Dhpux10 +PORT_FLAGS += -DRW_NO_OVERLOAD_SCHAR -DHAVE_MODEL_H +ifeq ($(OS_VERSION),.10) +PLATFORM_FLAGS += -DHPUX10_10 +endif +ifeq ($(OS_VERSION),.20) +PLATFORM_FLAGS += -DHPUX10_20 +endif +ifeq ($(OS_VERSION),.30) +PLATFORM_FLAGS += -DHPUX10_30 +endif +endif Index: ossp-pkg/js/src/config/HP-UXB.10.10.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/HP-UXB.10.10.mk,v rcsdiff -q -kk '-r1.1' '-r1.1.1.1' -u '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/HP-UXB.10.10.mk,v' 2>/dev/null Index: ossp-pkg/js/src/config/HP-UXB.10.20.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/HP-UXB.10.20.mk,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/HP-UXB.10.20.mk,v' | diff -u /dev/null - -L'ossp-pkg/js/src/config/HP-UXB.10.20.mk' 2>/dev/null --- ossp-pkg/js/src/config/HP-UXB.10.20.mk +++ - 2025-04-08 06:32:40.932933721 +0200 @@ -0,0 +1,77 @@ +# -*- Mode: makefile -*- +# +# ***** BEGIN LICENSE BLOCK ***** +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is Mozilla Communicator client code, released +# March 31, 1998. +# +# The Initial Developer of the Original Code is +# Netscape Communications Corporation. +# Portions created by the Initial Developer are Copyright (C) 1998 +# the Initial Developer. All Rights Reserved. +# +# Contributor(s): +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 2 or later (the "GPL"), or +# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), +# in which case the provisions of the GPL or the LGPL are applicable instead +# of those above. If you wish to allow use of your version of this file only +# under the terms of either the GPL or the LGPL, and not to allow others to +# use your version of this file under the terms of the MPL, indicate your +# decision by deleting the provisions above and replace them with the notice +# and other provisions required by the GPL or the LGPL. If you do not delete +# the provisions above, a recipient may use your version of this file under +# the terms of any one of the MPL, the GPL or the LGPL. +# +# ***** END LICENSE BLOCK ***** + +# +# Config stuff for HPUX +# + +# CC = gcc +# CCC = g++ +# CFLAGS += -Wall -Wno-format -fPIC + +CC = cc -Ae +Z +CCC = CC -Ae +a1 +eh +Z + +RANLIB = echo +MKSHLIB = $(LD) -b + +SO_SUFFIX = sl + +#.c.o: +# $(CC) -c -MD $*.d $(CFLAGS) $< + +CPU_ARCH = hppa +GFX_ARCH = x + +OS_CFLAGS = -DXP_UNIX -DHPUX -DSYSV -DHAVE_LOCALTIME_R +OS_LIBS = -ldld + +ifeq ($(OS_RELEASE),B.10) +PLATFORM_FLAGS += -DHPUX10 -Dhpux10 +PORT_FLAGS += -DRW_NO_OVERLOAD_SCHAR -DHAVE_MODEL_H +ifeq ($(OS_VERSION),.10) +PLATFORM_FLAGS += -DHPUX10_10 +endif +ifeq ($(OS_VERSION),.20) +PLATFORM_FLAGS += -DHPUX10_20 +endif +ifeq ($(OS_VERSION),.30) +PLATFORM_FLAGS += -DHPUX10_30 +endif +endif Index: ossp-pkg/js/src/config/HP-UXB.10.20.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/HP-UXB.10.20.mk,v rcsdiff -q -kk '-r1.1' '-r1.1.1.1' -u '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/HP-UXB.10.20.mk,v' 2>/dev/null Index: ossp-pkg/js/src/config/HP-UXB.11.00.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/HP-UXB.11.00.mk,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/HP-UXB.11.00.mk,v' | diff -u /dev/null - -L'ossp-pkg/js/src/config/HP-UXB.11.00.mk' 2>/dev/null --- ossp-pkg/js/src/config/HP-UXB.11.00.mk +++ - 2025-04-08 06:32:40.939355850 +0200 @@ -0,0 +1,80 @@ +# -*- Mode: makefile -*- +# +# ***** BEGIN LICENSE BLOCK ***** +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is Mozilla Communicator client code, released +# March 31, 1998. +# +# The Initial Developer of the Original Code is +# Netscape Communications Corporation. +# Portions created by the Initial Developer are Copyright (C) 1998 +# the Initial Developer. All Rights Reserved. +# +# Contributor(s): +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 2 or later (the "GPL"), or +# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), +# in which case the provisions of the GPL or the LGPL are applicable instead +# of those above. If you wish to allow use of your version of this file only +# under the terms of either the GPL or the LGPL, and not to allow others to +# use your version of this file under the terms of the MPL, indicate your +# decision by deleting the provisions above and replace them with the notice +# and other provisions required by the GPL or the LGPL. If you do not delete +# the provisions above, a recipient may use your version of this file under +# the terms of any one of the MPL, the GPL or the LGPL. +# +# ***** END LICENSE BLOCK ***** + +# +# Config stuff for HPUX +# + +ifdef NS_USE_NATIVE + CC = cc +Z +DAportable +DS2.0 +u4 +# LD = aCC +Z -b -Wl,+s -Wl,-B,symbolic +else + CC = gcc -Wall -Wno-format -fPIC + CCC = g++ -Wall -Wno-format -fPIC +endif + +RANLIB = echo +MKSHLIB = $(LD) -b + +SO_SUFFIX = sl + +#.c.o: +# $(CC) -c -MD $*.d $(CFLAGS) $< + +CPU_ARCH = hppa +GFX_ARCH = x + +OS_CFLAGS = -DXP_UNIX -DHPUX -DSYSV -D_HPUX -DNATIVE -D_POSIX_C_SOURCE=199506L -DHAVE_LOCALTIME_R +OS_LIBS = -ldld + +XLDFLAGS = -lpthread + +ifeq ($(OS_RELEASE),B.10) +PLATFORM_FLAGS += -DHPUX10 -Dhpux10 +PORT_FLAGS += -DRW_NO_OVERLOAD_SCHAR -DHAVE_MODEL_H +ifeq ($(OS_VERSION),.10) +PLATFORM_FLAGS += -DHPUX10_10 +endif +ifeq ($(OS_VERSION),.20) +PLATFORM_FLAGS += -DHPUX10_20 +endif +ifeq ($(OS_VERSION),.30) +PLATFORM_FLAGS += -DHPUX10_30 +endif +endif Index: ossp-pkg/js/src/config/HP-UXB.11.00.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/HP-UXB.11.00.mk,v rcsdiff -q -kk '-r1.1' '-r1.1.1.1' -u '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/HP-UXB.11.00.mk,v' 2>/dev/null Index: ossp-pkg/js/src/config/IRIX.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/IRIX.mk,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/IRIX.mk,v' | diff -u /dev/null - -L'ossp-pkg/js/src/config/IRIX.mk' 2>/dev/null --- ossp-pkg/js/src/config/IRIX.mk +++ - 2025-04-08 06:32:40.945787351 +0200 @@ -0,0 +1,87 @@ +# -*- Mode: makefile -*- +# +# ***** BEGIN LICENSE BLOCK ***** +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is Mozilla Communicator client code, released +# March 31, 1998. +# +# The Initial Developer of the Original Code is +# Netscape Communications Corporation. +# Portions created by the Initial Developer are Copyright (C) 1998 +# the Initial Developer. All Rights Reserved. +# +# Contributor(s): +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 2 or later (the "GPL"), or +# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), +# in which case the provisions of the GPL or the LGPL are applicable instead +# of those above. If you wish to allow use of your version of this file only +# under the terms of either the GPL or the LGPL, and not to allow others to +# use your version of this file under the terms of the MPL, indicate your +# decision by deleting the provisions above and replace them with the notice +# and other provisions required by the GPL or the LGPL. If you do not delete +# the provisions above, a recipient may use your version of this file under +# the terms of any one of the MPL, the GPL or the LGPL. +# +# ***** END LICENSE BLOCK ***** + +# +# Config stuff for IRIX +# + +CPU_ARCH = mips +GFX_ARCH = x + +RANLIB = /bin/true + +#NS_USE_GCC = 1 + +ifndef NS_USE_NATIVE +CC = gcc +CCC = g++ +AS = $(CC) -x assembler-with-cpp +ODD_CFLAGS = -Wall -Wno-format +ifdef BUILD_OPT +OPTIMIZER = -O6 +endif +else +ifeq ($(OS_RELEASE),6.2) +CC = cc -n32 -DIRIX6_2 +endif +ifeq ($(OS_RELEASE),6.3) +CC = cc -n32 -DIRIX6_3 +endif +ifeq ($(OS_RELEASE),6.5) +CC = cc -n32 -DIRIX6_5 +endif +CCC = CC +# LD = CC +ODD_CFLAGS = -fullwarn -xansi +ifdef BUILD_OPT +OPTIMIZER += -Olimit 4000 +endif +endif + +# For purify +HAVE_PURIFY = 1 +PURE_OS_CFLAGS = $(ODD_CFLAGS) -DXP_UNIX -DSVR4 -DSW_THREADS -DIRIX -DHAVE_LOCALTIME_R + +OS_CFLAGS = $(PURE_OS_CFLAGS) -MDupdate $(DEPENDENCIES) + +BSDECHO = echo +MKSHLIB = $(LD) -n32 -shared + +# Use the editline library to provide line-editing support. +JS_EDITLINE = 1 Index: ossp-pkg/js/src/config/IRIX.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/IRIX.mk,v rcsdiff -q -kk '-r1.1' '-r1.1.1.1' -u '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/IRIX.mk,v' 2>/dev/null Index: ossp-pkg/js/src/config/IRIX5.3.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/IRIX5.3.mk,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/IRIX5.3.mk,v' | diff -u /dev/null - -L'ossp-pkg/js/src/config/IRIX5.3.mk' 2>/dev/null --- ossp-pkg/js/src/config/IRIX5.3.mk +++ - 2025-04-08 06:32:40.952214926 +0200 @@ -0,0 +1,44 @@ +# -*- Mode: makefile -*- +# +# ***** BEGIN LICENSE BLOCK ***** +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is Mozilla Communicator client code, released +# March 31, 1998. +# +# The Initial Developer of the Original Code is +# Netscape Communications Corporation. +# Portions created by the Initial Developer are Copyright (C) 1998 +# the Initial Developer. All Rights Reserved. +# +# Contributor(s): +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 2 or later (the "GPL"), or +# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), +# in which case the provisions of the GPL or the LGPL are applicable instead +# of those above. If you wish to allow use of your version of this file only +# under the terms of either the GPL or the LGPL, and not to allow others to +# use your version of this file under the terms of the MPL, indicate your +# decision by deleting the provisions above and replace them with the notice +# and other provisions required by the GPL or the LGPL. If you do not delete +# the provisions above, a recipient may use your version of this file under +# the terms of any one of the MPL, the GPL or the LGPL. +# +# ***** END LICENSE BLOCK ***** + +# +# Config stuff for IRIX5.3 +# + +include $(DEPTH)/config/IRIX.mk Index: ossp-pkg/js/src/config/IRIX5.3.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/IRIX5.3.mk,v rcsdiff -q -kk '-r1.1' '-r1.1.1.1' -u '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/IRIX5.3.mk,v' 2>/dev/null Index: ossp-pkg/js/src/config/IRIX6.1.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/IRIX6.1.mk,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/IRIX6.1.mk,v' | diff -u /dev/null - -L'ossp-pkg/js/src/config/IRIX6.1.mk' 2>/dev/null --- ossp-pkg/js/src/config/IRIX6.1.mk +++ - 2025-04-08 06:32:40.958625022 +0200 @@ -0,0 +1,44 @@ +# -*- Mode: makefile -*- +# +# ***** BEGIN LICENSE BLOCK ***** +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is Mozilla Communicator client code, released +# March 31, 1998. +# +# The Initial Developer of the Original Code is +# Netscape Communications Corporation. +# Portions created by the Initial Developer are Copyright (C) 1998 +# the Initial Developer. All Rights Reserved. +# +# Contributor(s): +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 2 or later (the "GPL"), or +# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), +# in which case the provisions of the GPL or the LGPL are applicable instead +# of those above. If you wish to allow use of your version of this file only +# under the terms of either the GPL or the LGPL, and not to allow others to +# use your version of this file under the terms of the MPL, indicate your +# decision by deleting the provisions above and replace them with the notice +# and other provisions required by the GPL or the LGPL. If you do not delete +# the provisions above, a recipient may use your version of this file under +# the terms of any one of the MPL, the GPL or the LGPL. +# +# ***** END LICENSE BLOCK ***** + +# +# Config stuff for IRIX6.3 +# + +include $(DEPTH)/config/IRIX.mk Index: ossp-pkg/js/src/config/IRIX6.1.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/IRIX6.1.mk,v rcsdiff -q -kk '-r1.1' '-r1.1.1.1' -u '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/IRIX6.1.mk,v' 2>/dev/null Index: ossp-pkg/js/src/config/IRIX6.2.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/IRIX6.2.mk,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/IRIX6.2.mk,v' | diff -u /dev/null - -L'ossp-pkg/js/src/config/IRIX6.2.mk' 2>/dev/null --- ossp-pkg/js/src/config/IRIX6.2.mk +++ - 2025-04-08 06:32:40.964991665 +0200 @@ -0,0 +1,44 @@ +# -*- Mode: makefile -*- +# +# ***** BEGIN LICENSE BLOCK ***** +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is Mozilla Communicator client code, released +# March 31, 1998. +# +# The Initial Developer of the Original Code is +# Netscape Communications Corporation. +# Portions created by the Initial Developer are Copyright (C) 1998 +# the Initial Developer. All Rights Reserved. +# +# Contributor(s): +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 2 or later (the "GPL"), or +# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), +# in which case the provisions of the GPL or the LGPL are applicable instead +# of those above. If you wish to allow use of your version of this file only +# under the terms of either the GPL or the LGPL, and not to allow others to +# use your version of this file under the terms of the MPL, indicate your +# decision by deleting the provisions above and replace them with the notice +# and other provisions required by the GPL or the LGPL. If you do not delete +# the provisions above, a recipient may use your version of this file under +# the terms of any one of the MPL, the GPL or the LGPL. +# +# ***** END LICENSE BLOCK ***** + +# +# Config stuff for IRIX6.3 +# + +include $(DEPTH)/config/IRIX.mk Index: ossp-pkg/js/src/config/IRIX6.2.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/IRIX6.2.mk,v rcsdiff -q -kk '-r1.1' '-r1.1.1.1' -u '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/IRIX6.2.mk,v' 2>/dev/null Index: ossp-pkg/js/src/config/IRIX6.3.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/IRIX6.3.mk,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/IRIX6.3.mk,v' | diff -u /dev/null - -L'ossp-pkg/js/src/config/IRIX6.3.mk' 2>/dev/null --- ossp-pkg/js/src/config/IRIX6.3.mk +++ - 2025-04-08 06:32:40.971507188 +0200 @@ -0,0 +1,44 @@ +# -*- Mode: makefile -*- +# +# ***** BEGIN LICENSE BLOCK ***** +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is Mozilla Communicator client code, released +# March 31, 1998. +# +# The Initial Developer of the Original Code is +# Netscape Communications Corporation. +# Portions created by the Initial Developer are Copyright (C) 1998 +# the Initial Developer. All Rights Reserved. +# +# Contributor(s): +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 2 or later (the "GPL"), or +# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), +# in which case the provisions of the GPL or the LGPL are applicable instead +# of those above. If you wish to allow use of your version of this file only +# under the terms of either the GPL or the LGPL, and not to allow others to +# use your version of this file under the terms of the MPL, indicate your +# decision by deleting the provisions above and replace them with the notice +# and other provisions required by the GPL or the LGPL. If you do not delete +# the provisions above, a recipient may use your version of this file under +# the terms of any one of the MPL, the GPL or the LGPL. +# +# ***** END LICENSE BLOCK ***** + +# +# Config stuff for IRIX6.3 +# + +include $(DEPTH)/config/IRIX.mk Index: ossp-pkg/js/src/config/IRIX6.3.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/IRIX6.3.mk,v rcsdiff -q -kk '-r1.1' '-r1.1.1.1' -u '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/IRIX6.3.mk,v' 2>/dev/null Index: ossp-pkg/js/src/config/IRIX6.5.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/IRIX6.5.mk,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/IRIX6.5.mk,v' | diff -u /dev/null - -L'ossp-pkg/js/src/config/IRIX6.5.mk' 2>/dev/null --- ossp-pkg/js/src/config/IRIX6.5.mk +++ - 2025-04-08 06:32:40.977931521 +0200 @@ -0,0 +1,44 @@ +# -*- Mode: makefile -*- +# +# ***** BEGIN LICENSE BLOCK ***** +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is Mozilla Communicator client code, released +# March 31, 1998. +# +# The Initial Developer of the Original Code is +# Netscape Communications Corporation. +# Portions created by the Initial Developer are Copyright (C) 1998 +# the Initial Developer. All Rights Reserved. +# +# Contributor(s): +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 2 or later (the "GPL"), or +# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), +# in which case the provisions of the GPL or the LGPL are applicable instead +# of those above. If you wish to allow use of your version of this file only +# under the terms of either the GPL or the LGPL, and not to allow others to +# use your version of this file under the terms of the MPL, indicate your +# decision by deleting the provisions above and replace them with the notice +# and other provisions required by the GPL or the LGPL. If you do not delete +# the provisions above, a recipient may use your version of this file under +# the terms of any one of the MPL, the GPL or the LGPL. +# +# ***** END LICENSE BLOCK ***** + +# +# Config stuff for IRIX6.3 +# + +include $(DEPTH)/config/IRIX.mk Index: ossp-pkg/js/src/config/IRIX6.5.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/IRIX6.5.mk,v rcsdiff -q -kk '-r1.1' '-r1.1.1.1' -u '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/IRIX6.5.mk,v' 2>/dev/null Index: ossp-pkg/js/src/config/Mac_OS10.0.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/Mac_OS10.0.mk,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/Mac_OS10.0.mk,v' | diff -u /dev/null - -L'ossp-pkg/js/src/config/Mac_OS10.0.mk' 2>/dev/null --- ossp-pkg/js/src/config/Mac_OS10.0.mk +++ - 2025-04-08 06:32:40.984266794 +0200 @@ -0,0 +1,82 @@ +# -*- Mode: makefile -*- +# +# ***** BEGIN LICENSE BLOCK ***** +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is Mozilla Communicator client code, released +# March 31, 1998. +# +# The Initial Developer of the Original Code is +# Netscape Communications Corporation. +# Portions created by the Initial Developer are Copyright (C) 1998 +# the Initial Developer. All Rights Reserved. +# +# Contributor(s): +# Steve Zellers (zellers@apple.com) +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 2 or later (the "GPL"), or +# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), +# in which case the provisions of the GPL or the LGPL are applicable instead +# of those above. If you wish to allow use of your version of this file only +# under the terms of either the GPL or the LGPL, and not to allow others to +# use your version of this file under the terms of the MPL, indicate your +# decision by deleting the provisions above and replace them with the notice +# and other provisions required by the GPL or the LGPL. If you do not delete +# the provisions above, a recipient may use your version of this file under +# the terms of any one of the MPL, the GPL or the LGPL. +# +# ***** END LICENSE BLOCK ***** + +# +# Config for Mac OS X as of PR3 +# Just ripped from Linux config +# + +CC = cc +CCC = g++ +CFLAGS += -Wall -Wno-format +OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE +-DRHAPSODY + +RANLIB = ranlib +MKSHLIB = libtool -dynamic $(XMKSHLIBOPTS) -framework System + +#.c.o: +# $(CC) -c -MD $*.d $(CFLAGS) $< + +CPU_ARCH = $(shell uname -m) +ifeq (86,$(findstring 86,$(CPU_ARCH))) +CPU_ARCH = x86 +OS_CFLAGS+= -DX86_LINUX +endif +GFX_ARCH = x + +OS_LIBS = -lc -framework System + +ASFLAGS += -x assembler-with-cpp + +ifeq ($(CPU_ARCH),alpha) + +# Ask the C compiler on alpha linux to let us work with denormalized +# double values, which are required by the ECMA spec. + +OS_CFLAGS += -mieee +endif + +# Use the editline library to provide line-editing support. +JS_EDITLINE = 1 + +# Don't allow Makefile.ref to use libmath +NO_LIBM = 1 + Index: ossp-pkg/js/src/config/Mac_OS10.0.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/Mac_OS10.0.mk,v rcsdiff -q -kk '-r1.1' '-r1.1.1.1' -u '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/Mac_OS10.0.mk,v' 2>/dev/null Index: ossp-pkg/js/src/config/OSF1V4.0.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/OSF1V4.0.mk,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/OSF1V4.0.mk,v' | diff -u /dev/null - -L'ossp-pkg/js/src/config/OSF1V4.0.mk' 2>/dev/null --- ossp-pkg/js/src/config/OSF1V4.0.mk +++ - 2025-04-08 06:32:40.990710392 +0200 @@ -0,0 +1,72 @@ +# -*- Mode: makefile -*- +# +# ***** BEGIN LICENSE BLOCK ***** +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is Mozilla Communicator client code, released +# March 31, 1998. +# +# The Initial Developer of the Original Code is +# Netscape Communications Corporation. +# Portions created by the Initial Developer are Copyright (C) 1998 +# the Initial Developer. All Rights Reserved. +# +# Contributor(s): +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 2 or later (the "GPL"), or +# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), +# in which case the provisions of the GPL or the LGPL are applicable instead +# of those above. If you wish to allow use of your version of this file only +# under the terms of either the GPL or the LGPL, and not to allow others to +# use your version of this file under the terms of the MPL, indicate your +# decision by deleting the provisions above and replace them with the notice +# and other provisions required by the GPL or the LGPL. If you do not delete +# the provisions above, a recipient may use your version of this file under +# the terms of any one of the MPL, the GPL or the LGPL. +# +# ***** END LICENSE BLOCK ***** + +# +# Config stuff for Data General DG/UX +# + +# +# Initial DG/UX port by Marc Fraioli (fraioli@dg-rtp.dg.com) +# + +ifndef NS_USE_NATIVE +CC = gcc +CCC = g++ +CFLAGS += -mieee -Wall -Wno-format +else +CC = cc +CCC = cxx +CFLAGS += -ieee -std +# LD = cxx +endif + +RANLIB = echo +MKSHLIB = $(LD) -shared -taso -all -expect_unresolved "*" + +# +# _DGUX_SOURCE is needed to turn on a lot of stuff in the headers if +# you're not using DG's compiler. It shouldn't hurt if you are. +# +# _POSIX4A_DRAFT10_SOURCE is needed to pick up localtime_r, used in +# prtime.c +# +OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -DDGUX -D_DGUX_SOURCE -D_POSIX4A_DRAFT10_SOURCE -DOSF1 -DHAVE_LOCALTIME_R +OS_LIBS = -lsocket -lnsl + +NOSUCHFILE = /no-such-file Index: ossp-pkg/js/src/config/OSF1V4.0.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/OSF1V4.0.mk,v rcsdiff -q -kk '-r1.1' '-r1.1.1.1' -u '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/OSF1V4.0.mk,v' 2>/dev/null Index: ossp-pkg/js/src/config/OSF1V5.0.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/OSF1V5.0.mk,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/OSF1V5.0.mk,v' | diff -u /dev/null - -L'ossp-pkg/js/src/config/OSF1V5.0.mk' 2>/dev/null --- ossp-pkg/js/src/config/OSF1V5.0.mk +++ - 2025-04-08 06:32:40.997113712 +0200 @@ -0,0 +1,69 @@ +# -*- Mode: makefile -*- +# +# ***** BEGIN LICENSE BLOCK ***** +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is Mozilla Communicator client code, released +# March 31, 1998. +# +# The Initial Developer of the Original Code is +# Netscape Communications Corporation. +# Portions created by the Initial Developer are Copyright (C) 1998 +# the Initial Developer. All Rights Reserved. +# +# Contributor(s): +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 2 or later (the "GPL"), or +# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), +# in which case the provisions of the GPL or the LGPL are applicable instead +# of those above. If you wish to allow use of your version of this file only +# under the terms of either the GPL or the LGPL, and not to allow others to +# use your version of this file under the terms of the MPL, indicate your +# decision by deleting the provisions above and replace them with the notice +# and other provisions required by the GPL or the LGPL. If you do not delete +# the provisions above, a recipient may use your version of this file under +# the terms of any one of the MPL, the GPL or the LGPL. +# +# ***** END LICENSE BLOCK ***** + +# +# Config stuff for Tru64 Unix 5.0 +# + +# +# Initial DG/UX port by Marc Fraioli (fraioli@dg-rtp.dg.com) +# + +ifndef NS_USE_NATIVE +CC = gcc +CCC = g++ +CFLAGS += -mieee -Wall -Wno-format +else +CC = cc +CCC = cxx +CFLAGS += -ieee -std -pthread +# LD = cxx +endif + +RANLIB = echo +MKSHLIB = $(LD) -shared -all -expect_unresolved "*" + +# +# _POSIX4A_DRAFT10_SOURCE is needed to pick up localtime_r, used in +# prtime.c +# +OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -D_POSIX4A_DRAFT10_SOURCE -DOSF1 -DHAVE_LOCALTIME_R +OS_LIBS = -lsocket -lnsl + +NOSUCHFILE = /no-such-file Index: ossp-pkg/js/src/config/OSF1V5.0.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/OSF1V5.0.mk,v rcsdiff -q -kk '-r1.1' '-r1.1.1.1' -u '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/OSF1V5.0.mk,v' 2>/dev/null Index: ossp-pkg/js/src/config/SunOS4.1.4.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/SunOS4.1.4.mk,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/SunOS4.1.4.mk,v' | diff -u /dev/null - -L'ossp-pkg/js/src/config/SunOS4.1.4.mk' 2>/dev/null --- ossp-pkg/js/src/config/SunOS4.1.4.mk +++ - 2025-04-08 06:32:41.003467667 +0200 @@ -0,0 +1,101 @@ +# -*- Mode: makefile -*- +# +# ***** BEGIN LICENSE BLOCK ***** +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is Mozilla Communicator client code, released +# March 31, 1998. +# +# The Initial Developer of the Original Code is +# Netscape Communications Corporation. +# Portions created by the Initial Developer are Copyright (C) 1998 +# the Initial Developer. All Rights Reserved. +# +# Contributor(s): +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 2 or later (the "GPL"), or +# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), +# in which case the provisions of the GPL or the LGPL are applicable instead +# of those above. If you wish to allow use of your version of this file only +# under the terms of either the GPL or the LGPL, and not to allow others to +# use your version of this file under the terms of the MPL, indicate your +# decision by deleting the provisions above and replace them with the notice +# and other provisions required by the GPL or the LGPL. If you do not delete +# the provisions above, a recipient may use your version of this file under +# the terms of any one of the MPL, the GPL or the LGPL. +# +# ***** END LICENSE BLOCK ***** + +# +# Config stuff for SunOS4.1 +# + +CC = gcc +CCC = g++ +RANLIB = ranlib + +#.c.o: +# $(CC) -c -MD $*.d $(CFLAGS) $< + +CPU_ARCH = sparc +GFX_ARCH = x + +# A pile of -D's to build xfe on sunos +MOZ_CFLAGS = -DSTRINGS_ALIGNED -DNO_REGEX -DNO_ISDIR -DUSE_RE_COMP \ + -DNO_REGCOMP -DUSE_GETWD -DNO_MEMMOVE -DNO_ALLOCA \ + -DBOGUS_MB_MAX -DNO_CONST + +# Purify doesn't like -MDupdate +NOMD_OS_CFLAGS = -DXP_UNIX -Wall -Wno-format -DSW_THREADS -DSUNOS4 -DNEED_SYSCALL \ + $(MOZ_CFLAGS) + +OS_CFLAGS = $(NOMD_OS_CFLAGS) -MDupdate $(DEPENDENCIES) +OS_LIBS = -ldl -lm + +MKSHLIB = $(LD) -L$(MOTIF)/lib + +HAVE_PURIFY = 1 +MOTIF = /home/motif/usr +MOTIFLIB = -L$(MOTIF)/lib -lXm +INCLUDES += -I/usr/X11R5/include -I$(MOTIF)/include + +NOSUCHFILE = /solaris-rm-f-sucks + +LOCALE_MAP = $(DEPTH)/cmd/xfe/intl/sunos.lm + +EN_LOCALE = en_US +DE_LOCALE = de +FR_LOCALE = fr +JP_LOCALE = ja +SJIS_LOCALE = ja_JP.SJIS +KR_LOCALE = ko +CN_LOCALE = zh +TW_LOCALE = zh_TW +I2_LOCALE = i2 +IT_LOCALE = it +SV_LOCALE = sv +ES_LOCALE = es +NL_LOCALE = nl +PT_LOCALE = pt + +LOC_LIB_DIR = /usr/openwin/lib/locale + +BSDECHO = echo + +# +# These defines are for building unix plugins +# +BUILD_UNIX_PLUGINS = 1 +DSO_LDOPTS = +DSO_LDFLAGS = Index: ossp-pkg/js/src/config/SunOS4.1.4.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/SunOS4.1.4.mk,v rcsdiff -q -kk '-r1.1' '-r1.1.1.1' -u '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/SunOS4.1.4.mk,v' 2>/dev/null Index: ossp-pkg/js/src/config/SunOS5.3.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/SunOS5.3.mk,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/SunOS5.3.mk,v' | diff -u /dev/null - -L'ossp-pkg/js/src/config/SunOS5.3.mk' 2>/dev/null --- ossp-pkg/js/src/config/SunOS5.3.mk +++ - 2025-04-08 06:32:41.009945820 +0200 @@ -0,0 +1,91 @@ +# -*- Mode: makefile -*- +# +# ***** BEGIN LICENSE BLOCK ***** +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is Mozilla Communicator client code, released +# March 31, 1998. +# +# The Initial Developer of the Original Code is +# Netscape Communications Corporation. +# Portions created by the Initial Developer are Copyright (C) 1998 +# the Initial Developer. All Rights Reserved. +# +# Contributor(s): +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 2 or later (the "GPL"), or +# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), +# in which case the provisions of the GPL or the LGPL are applicable instead +# of those above. If you wish to allow use of your version of this file only +# under the terms of either the GPL or the LGPL, and not to allow others to +# use your version of this file under the terms of the MPL, indicate your +# decision by deleting the provisions above and replace them with the notice +# and other provisions required by the GPL or the LGPL. If you do not delete +# the provisions above, a recipient may use your version of this file under +# the terms of any one of the MPL, the GPL or the LGPL. +# +# ***** END LICENSE BLOCK ***** + +# +# Config stuff for SunOS5.3 +# + +CC = gcc +CCC = g++ +CFLAGS += -Wall -Wno-format + +#CC = /opt/SUNWspro/SC3.0.1/bin/cc +RANLIB = echo + +#.c.o: +# $(CC) -c -MD $*.d $(CFLAGS) $< + +CPU_ARCH = sparc +GFX_ARCH = x + +OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -DSOLARIS -DHAVE_LOCALTIME_R +OS_LIBS = -lsocket -lnsl -ldl + +ASFLAGS += -P -L -K PIC -D_ASM -D__STDC__=0 + +HAVE_PURIFY = 1 + +NOSUCHFILE = /solaris-rm-f-sucks + +ifndef JS_NO_ULTRA +ULTRA_OPTIONS := -xarch=v8plus +ULTRA_OPTIONSD := -DULTRA_SPARC +else +ULTRA_OPTIONS := -xarch=v8 +ULTRA_OPTIONSD := +endif + +ifeq ($(OS_CPUARCH),sun4u) +DEFINES += $(ULTRA_OPTIONSD) +ifeq ($(findstring gcc,$(CC)),gcc) +DEFINES += -Wa,$(ULTRA_OPTIONS),$(ULTRA_OPTIONSD) +else +ASFLAGS += $(ULTRA_OPTIONS) $(ULTRA_OPTIONSD) +endif +endif + +ifeq ($(OS_CPUARCH),sun4m) +ifeq ($(findstring gcc,$(CC)),gcc) +DEFINES += -Wa,-xarch=v8 +else +ASFLAGS += -xarch=v8 +endif +endif + +MKSHLIB = $(LD) -G Index: ossp-pkg/js/src/config/SunOS5.3.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/SunOS5.3.mk,v rcsdiff -q -kk '-r1.1' '-r1.1.1.1' -u '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/SunOS5.3.mk,v' 2>/dev/null Index: ossp-pkg/js/src/config/SunOS5.4.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/SunOS5.4.mk,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/SunOS5.4.mk,v' | diff -u /dev/null - -L'ossp-pkg/js/src/config/SunOS5.4.mk' 2>/dev/null --- ossp-pkg/js/src/config/SunOS5.4.mk +++ - 2025-04-08 06:32:41.016362067 +0200 @@ -0,0 +1,92 @@ +# -*- Mode: makefile -*- +# +# ***** BEGIN LICENSE BLOCK ***** +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is Mozilla Communicator client code, released +# March 31, 1998. +# +# The Initial Developer of the Original Code is +# Netscape Communications Corporation. +# Portions created by the Initial Developer are Copyright (C) 1998 +# the Initial Developer. All Rights Reserved. +# +# Contributor(s): +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 2 or later (the "GPL"), or +# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), +# in which case the provisions of the GPL or the LGPL are applicable instead +# of those above. If you wish to allow use of your version of this file only +# under the terms of either the GPL or the LGPL, and not to allow others to +# use your version of this file under the terms of the MPL, indicate your +# decision by deleting the provisions above and replace them with the notice +# and other provisions required by the GPL or the LGPL. If you do not delete +# the provisions above, a recipient may use your version of this file under +# the terms of any one of the MPL, the GPL or the LGPL. +# +# ***** END LICENSE BLOCK ***** + +# +# Config stuff for SunOS5.4 +# + +ifdef NS_USE_NATIVE +CC = cc +CCC = CC +else +CC = gcc +CCC = g++ +CFLAGS += -Wall -Wno-format +endif + +RANLIB = echo + +CPU_ARCH = sparc +GFX_ARCH = x + +OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -D__svr4 -DSOLARIS -DHAVE_LOCALTIME_R +OS_LIBS = -lsocket -lnsl -ldl + +ASFLAGS += -P -L -K PIC -D_ASM -D__STDC__=0 + +HAVE_PURIFY = 1 + +NOSUCHFILE = /solaris-rm-f-sucks + +ifndef JS_NO_ULTRA +ULTRA_OPTIONS := -xarch=v8plus +ULTRA_OPTIONSD := -DULTRA_SPARC +else +ULTRA_OPTIONS := -xarch=v8 +ULTRA_OPTIONSD := +endif + +ifeq ($(OS_CPUARCH),sun4u) +DEFINES += $(ULTRA_OPTIONSD) +ifeq ($(findstring gcc,$(CC)),gcc) +DEFINES += -Wa,$(ULTRA_OPTIONS),$(ULTRA_OPTIONSD) +else +ASFLAGS += $(ULTRA_OPTIONS) $(ULTRA_OPTIONSD) +endif +endif + +ifeq ($(OS_CPUARCH),sun4m) +ifeq ($(findstring gcc,$(CC)),gcc) +DEFINES += -Wa,-xarch=v8 +else +ASFLAGS += -xarch=v8 +endif +endif + +MKSHLIB = $(LD) -G Index: ossp-pkg/js/src/config/SunOS5.4.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/SunOS5.4.mk,v rcsdiff -q -kk '-r1.1' '-r1.1.1.1' -u '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/SunOS5.4.mk,v' 2>/dev/null Index: ossp-pkg/js/src/config/SunOS5.5.1.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/SunOS5.5.1.mk,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/SunOS5.5.1.mk,v' | diff -u /dev/null - -L'ossp-pkg/js/src/config/SunOS5.5.1.mk' 2>/dev/null --- ossp-pkg/js/src/config/SunOS5.5.1.mk +++ - 2025-04-08 06:32:41.022798719 +0200 @@ -0,0 +1,44 @@ +# -*- Mode: makefile -*- +# +# ***** BEGIN LICENSE BLOCK ***** +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is Mozilla Communicator client code, released +# March 31, 1998. +# +# The Initial Developer of the Original Code is +# Netscape Communications Corporation. +# Portions created by the Initial Developer are Copyright (C) 1998 +# the Initial Developer. All Rights Reserved. +# +# Contributor(s): +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 2 or later (the "GPL"), or +# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), +# in which case the provisions of the GPL or the LGPL are applicable instead +# of those above. If you wish to allow use of your version of this file only +# under the terms of either the GPL or the LGPL, and not to allow others to +# use your version of this file under the terms of the MPL, indicate your +# decision by deleting the provisions above and replace them with the notice +# and other provisions required by the GPL or the LGPL. If you do not delete +# the provisions above, a recipient may use your version of this file under +# the terms of any one of the MPL, the GPL or the LGPL. +# +# ***** END LICENSE BLOCK ***** + +# +# Config stuff for SunOS5.5.1 +# + +include $(DEPTH)/config/SunOS5.5.mk Index: ossp-pkg/js/src/config/SunOS5.5.1.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/SunOS5.5.1.mk,v rcsdiff -q -kk '-r1.1' '-r1.1.1.1' -u '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/SunOS5.5.1.mk,v' 2>/dev/null Index: ossp-pkg/js/src/config/SunOS5.5.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/SunOS5.5.mk,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/SunOS5.5.mk,v' | diff -u /dev/null - -L'ossp-pkg/js/src/config/SunOS5.5.mk' 2>/dev/null --- ossp-pkg/js/src/config/SunOS5.5.mk +++ - 2025-04-08 06:32:41.029175136 +0200 @@ -0,0 +1,87 @@ +# -*- Mode: makefile -*- +# +# ***** BEGIN LICENSE BLOCK ***** +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is Mozilla Communicator client code, released +# March 31, 1998. +# +# The Initial Developer of the Original Code is +# Netscape Communications Corporation. +# Portions created by the Initial Developer are Copyright (C) 1998 +# the Initial Developer. All Rights Reserved. +# +# Contributor(s): +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 2 or later (the "GPL"), or +# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), +# in which case the provisions of the GPL or the LGPL are applicable instead +# of those above. If you wish to allow use of your version of this file only +# under the terms of either the GPL or the LGPL, and not to allow others to +# use your version of this file under the terms of the MPL, indicate your +# decision by deleting the provisions above and replace them with the notice +# and other provisions required by the GPL or the LGPL. If you do not delete +# the provisions above, a recipient may use your version of this file under +# the terms of any one of the MPL, the GPL or the LGPL. +# +# ***** END LICENSE BLOCK ***** + +# +# Config stuff for SunOS5.5 +# + +AS = /usr/ccs/bin/as +ifndef NS_USE_NATIVE +CC = gcc +CCC = g++ +CFLAGS += -Wall -Wno-format +else +CC = cc +CCC = CC +endif + +RANLIB = echo + +#.c.o: +# $(CC) -c -MD $*.d $(CFLAGS) $< + +CPU_ARCH = sparc +GFX_ARCH = x + +OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -DSOLARIS -DHAVE_LOCALTIME_R +OS_LIBS = -lsocket -lnsl -ldl + +ASFLAGS += -P -L -K PIC -D_ASM -D__STDC__=0 + +HAVE_PURIFY = 1 + +NOSUCHFILE = /solaris-rm-f-sucks + +ifeq ($(OS_CPUARCH),sun4u) # ultra sparc? +ifeq ($(CC),gcc) # using gcc? +ifndef JS_NO_ULTRA # do we want ultra? +ifdef JS_THREADSAFE # only in thread-safe mode +DEFINES += -DULTRA_SPARC +DEFINES += -Wa,-xarch=v8plus,-DULTRA_SPARC +else +ASFLAGS += -xarch=v8plus -DULTRA_SPARC +endif +endif +endif +endif + +MKSHLIB = $(LD) -G + +# Use the editline library to provide line-editing support. +JS_EDITLINE = 1 Index: ossp-pkg/js/src/config/SunOS5.5.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/SunOS5.5.mk,v rcsdiff -q -kk '-r1.1' '-r1.1.1.1' -u '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/SunOS5.5.mk,v' 2>/dev/null Index: ossp-pkg/js/src/config/SunOS5.6.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/SunOS5.6.mk,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/SunOS5.6.mk,v' | diff -u /dev/null - -L'ossp-pkg/js/src/config/SunOS5.6.mk' 2>/dev/null --- ossp-pkg/js/src/config/SunOS5.6.mk +++ - 2025-04-08 06:32:41.035545064 +0200 @@ -0,0 +1,89 @@ +# -*- Mode: makefile -*- +# +# ***** BEGIN LICENSE BLOCK ***** +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is Mozilla Communicator client code, released +# March 31, 1998. +# +# The Initial Developer of the Original Code is +# Netscape Communications Corporation. +# Portions created by the Initial Developer are Copyright (C) 1998 +# the Initial Developer. All Rights Reserved. +# +# Contributor(s): +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 2 or later (the "GPL"), or +# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), +# in which case the provisions of the GPL or the LGPL are applicable instead +# of those above. If you wish to allow use of your version of this file only +# under the terms of either the GPL or the LGPL, and not to allow others to +# use your version of this file under the terms of the MPL, indicate your +# decision by deleting the provisions above and replace them with the notice +# and other provisions required by the GPL or the LGPL. If you do not delete +# the provisions above, a recipient may use your version of this file under +# the terms of any one of the MPL, the GPL or the LGPL. +# +# ***** END LICENSE BLOCK ***** + +# +# Config stuff for SunOS5.5 +# + +AS = /usr/ccs/bin/as +ifndef NS_USE_NATIVE + CC = gcc + CCC = g++ + CFLAGS += -Wall -Wno-format +else + CC = cc + CCC = CC + CFLAGS += -mt -KPIC +# LD = CC +endif + +RANLIB = echo + +#.c.o: +# $(CC) -c -MD $*.d $(CFLAGS) $< + +CPU_ARCH = sparc +GFX_ARCH = x + +OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -DSOLARIS -DHAVE_LOCALTIME_R +OS_LIBS = -lsocket -lnsl -ldl + +ASFLAGS += -P -L -K PIC -D_ASM -D__STDC__=0 + +HAVE_PURIFY = 1 + +NOSUCHFILE = /solaris-rm-f-sucks + +ifeq ($(OS_CPUARCH),sun4u) # ultra sparc? +ifeq ($(CC),gcc) # using gcc? +ifndef JS_NO_ULTRA # do we want ultra? +ifdef JS_THREADSAFE # only in thread-safe mode +DEFINES += -DULTRA_SPARC +DEFINES += -Wa,-xarch=v8plus,-DULTRA_SPARC +else +ASFLAGS += -xarch=v8plus -DULTRA_SPARC +endif +endif +endif +endif + +MKSHLIB = $(LD) -G + +# Use the editline library to provide line-editing support. +JS_EDITLINE = 1 Index: ossp-pkg/js/src/config/SunOS5.6.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/SunOS5.6.mk,v rcsdiff -q -kk '-r1.1' '-r1.1.1.1' -u '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/SunOS5.6.mk,v' 2>/dev/null Index: ossp-pkg/js/src/config/SunOS5.7.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/SunOS5.7.mk,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/SunOS5.7.mk,v' | diff -u /dev/null - -L'ossp-pkg/js/src/config/SunOS5.7.mk' 2>/dev/null --- ossp-pkg/js/src/config/SunOS5.7.mk +++ - 2025-04-08 06:32:41.041955528 +0200 @@ -0,0 +1,44 @@ +# -*- Mode: makefile -*- +# +# ***** BEGIN LICENSE BLOCK ***** +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is Mozilla Communicator client code, released +# March 31, 1998. +# +# The Initial Developer of the Original Code is +# Netscape Communications Corporation. +# Portions created by the Initial Developer are Copyright (C) 1999 +# the Initial Developer. All Rights Reserved. +# +# Contributor(s): +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 2 or later (the "GPL"), or +# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), +# in which case the provisions of the GPL or the LGPL are applicable instead +# of those above. If you wish to allow use of your version of this file only +# under the terms of either the GPL or the LGPL, and not to allow others to +# use your version of this file under the terms of the MPL, indicate your +# decision by deleting the provisions above and replace them with the notice +# and other provisions required by the GPL or the LGPL. If you do not delete +# the provisions above, a recipient may use your version of this file under +# the terms of any one of the MPL, the GPL or the LGPL. +# +# ***** END LICENSE BLOCK ***** + +# +# Config stuff for SunOS5.7 +# + +include $(DEPTH)/config/SunOS5.5.mk Index: ossp-pkg/js/src/config/SunOS5.7.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/SunOS5.7.mk,v rcsdiff -q -kk '-r1.1' '-r1.1.1.1' -u '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/SunOS5.7.mk,v' 2>/dev/null Index: ossp-pkg/js/src/config/SunOS5.8.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/SunOS5.8.mk,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/SunOS5.8.mk,v' | diff -u /dev/null - -L'ossp-pkg/js/src/config/SunOS5.8.mk' 2>/dev/null --- ossp-pkg/js/src/config/SunOS5.8.mk +++ - 2025-04-08 06:32:41.048347848 +0200 @@ -0,0 +1,44 @@ +# -*- Mode: makefile -*- +# +# ***** BEGIN LICENSE BLOCK ***** +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is Mozilla Communicator client code, released +# March 31, 1998. +# +# The Initial Developer of the Original Code is +# Netscape Communications Corporation. +# Portions created by the Initial Developer are Copyright (C) 1999 +# the Initial Developer. All Rights Reserved. +# +# Contributor(s): +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 2 or later (the "GPL"), or +# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), +# in which case the provisions of the GPL or the LGPL are applicable instead +# of those above. If you wish to allow use of your version of this file only +# under the terms of either the GPL or the LGPL, and not to allow others to +# use your version of this file under the terms of the MPL, indicate your +# decision by deleting the provisions above and replace them with the notice +# and other provisions required by the GPL or the LGPL. If you do not delete +# the provisions above, a recipient may use your version of this file under +# the terms of any one of the MPL, the GPL or the LGPL. +# +# ***** END LICENSE BLOCK ***** + +# +# Config stuff for SunOS5.8 +# + +include $(DEPTH)/config/SunOS5.5.mk Index: ossp-pkg/js/src/config/SunOS5.8.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/SunOS5.8.mk,v rcsdiff -q -kk '-r1.1' '-r1.1.1.1' -u '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/SunOS5.8.mk,v' 2>/dev/null Index: ossp-pkg/js/src/config/SunOS5.9.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/SunOS5.9.mk,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/SunOS5.9.mk,v' | diff -u /dev/null - -L'ossp-pkg/js/src/config/SunOS5.9.mk' 2>/dev/null --- ossp-pkg/js/src/config/SunOS5.9.mk +++ - 2025-04-08 06:32:41.054745775 +0200 @@ -0,0 +1,44 @@ +# -*- Mode: makefile -*- +# +# ***** BEGIN LICENSE BLOCK ***** +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is Mozilla Communicator client code, released +# March 31, 1998. +# +# The Initial Developer of the Original Code is +# Netscape Communications Corporation. +# Portions created by the Initial Developer are Copyright (C) 1999 +# the Initial Developer. All Rights Reserved. +# +# Contributor(s): +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 2 or later (the "GPL"), or +# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), +# in which case the provisions of the GPL or the LGPL are applicable instead +# of those above. If you wish to allow use of your version of this file only +# under the terms of either the GPL or the LGPL, and not to allow others to +# use your version of this file under the terms of the MPL, indicate your +# decision by deleting the provisions above and replace them with the notice +# and other provisions required by the GPL or the LGPL. If you do not delete +# the provisions above, a recipient may use your version of this file under +# the terms of any one of the MPL, the GPL or the LGPL. +# +# ***** END LICENSE BLOCK ***** + +# +# Config stuff for SunOS5.9 +# + +include $(DEPTH)/config/SunOS5.5.mk Index: ossp-pkg/js/src/config/SunOS5.9.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/SunOS5.9.mk,v rcsdiff -q -kk '-r1.1' '-r1.1.1.1' -u '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/SunOS5.9.mk,v' 2>/dev/null Index: ossp-pkg/js/src/config/dgux.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/dgux.mk,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/dgux.mk,v' | diff -u /dev/null - -L'ossp-pkg/js/src/config/dgux.mk' 2>/dev/null --- ossp-pkg/js/src/config/dgux.mk +++ - 2025-04-08 06:32:41.061108881 +0200 @@ -0,0 +1,64 @@ +# -*- Mode: makefile -*- +# +# ***** BEGIN LICENSE BLOCK ***** +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is Mozilla Communicator client code, released +# March 31, 1998. +# +# The Initial Developer of the Original Code is +# Netscape Communications Corporation. +# Portions created by the Initial Developer are Copyright (C) 1998 +# the Initial Developer. All Rights Reserved. +# +# Contributor(s): +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 2 or later (the "GPL"), or +# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), +# in which case the provisions of the GPL or the LGPL are applicable instead +# of those above. If you wish to allow use of your version of this file only +# under the terms of either the GPL or the LGPL, and not to allow others to +# use your version of this file under the terms of the MPL, indicate your +# decision by deleting the provisions above and replace them with the notice +# and other provisions required by the GPL or the LGPL. If you do not delete +# the provisions above, a recipient may use your version of this file under +# the terms of any one of the MPL, the GPL or the LGPL. +# +# ***** END LICENSE BLOCK ***** + +# +# Config stuff for Data General DG/UX +# + +# +# Initial DG/UX port by Marc Fraioli (fraioli@dg-rtp.dg.com) +# + +AS = as +CC = gcc +CCC = g++ + +RANLIB = echo + +# +# _DGUX_SOURCE is needed to turn on a lot of stuff in the headers if +# you're not using DG's compiler. It shouldn't hurt if you are. +# +# _POSIX4A_DRAFT10_SOURCE is needed to pick up localtime_r, used in +# prtime.c +# +OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -DDGUX -D_DGUX_SOURCE -D_POSIX4A_DRAFT10_SOURCE -DHAVE_LOCALTIME_R +OS_LIBS = -lsocket -lnsl + +NOSUCHFILE = /no-such-file Index: ossp-pkg/js/src/config/dgux.mk RCS File: /v/ossp/cvs/ossp-pkg/js/src/config/Attic/dgux.mk,v rcsdiff -q -kk '-r1.1' '-r1.1.1.1' -u '/v/ossp/cvs/ossp-pkg/js/src/config/Attic/dgux.mk,v' 2>/dev/null Index: ossp-pkg/js/src/editline/Makefile.ref RCS File: /v/ossp/cvs/ossp-pkg/js/src/editline/Attic/Makefile.ref,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/js/src/editline/Attic/Makefile.ref,v' | diff -u /dev/null - -L'ossp-pkg/js/src/editline/Makefile.ref' 2>/dev/null --- ossp-pkg/js/src/editline/Makefile.ref +++ - 2025-04-08 06:32:41.067542757 +0200 @@ -0,0 +1,144 @@ +# -*- Mode: makefile -*- +# +# ***** BEGIN LICENSE BLOCK ***** +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is Mozilla Communicator client code, released +# March 31, 1998. +# +# The Initial Developer of the Original Code is +# Simmule Turner and Rich Salz. +# Portions created by the Initial Developer are Copyright (C) 1998 +# the Initial Developer. All Rights Reserved. +# +# Contributor(s): +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 2 or later (the "GPL"), or +# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), +# in which case the provisions of the GPL or the LGPL are applicable instead +# of those above. If you wish to allow use of your version of this file only +# under the terms of either the GPL or the LGPL, and not to allow others to +# use your version of this file under the terms of the MPL, indicate your +# decision by deleting the provisions above and replace them with the notice +# and other provisions required by the GPL or the LGPL. If you do not delete +# the provisions above, a recipient may use your version of this file under +# the terms of any one of the MPL, the GPL or the LGPL. +# +# ***** END LICENSE BLOCK ***** + +# +# Copyright 1992,1993 Simmule Turner and Rich Salz. All rights reserved. +# +# This software is not subject to any license of the American Telephone +# and Telegraph Company or of the Regents of the University of California. +# +# Permission is granted to anyone to use this software for any purpose on +# any computer system, and to alter it and redistribute it freely, subject +# to the following restrictions: +# 1. The authors are not responsible for the consequences of use of this +# software, no matter how awful, even if they arise from flaws in it. +# 2. The origin of this software must not be misrepresented, either by +# explicit claim or by omission. Since few users ever read sources, +# credits must appear in the documentation. +# 3. Altered versions must be plainly marked as such, and must not be +# misrepresented as being the original software. Since few users +# ever read sources, credits must appear in the documentation. +# 4. This notice may not be removed or altered. +# + +# +# Unix makefile for editline library. +# + +## Set your options: +## -DANSI_ARROWS ANSI arrows keys work like emacs. +## -DHAVE_STDLIB Have . +## -DHAVE_TCGETATTR Have tcgetattr(), tcsetattr(). +## -DHAVE_TERMIO Have "struct termio" and +## (If neither of above two, we use and BSD ioctl's) +## -DHIDE Make static functions static (non debug). +## -DHIST_SIZE=n History size. +## -DNEED_STRDUP Don't have strdup(). +## -DUNIQUE_HISTORY Don't save command if same as last one. +## -DUSE_DIRENT Use , not ? +## -DUSE_TERMCAP Use the termcap library for terminal size +## see LDFLAGS, below, if you set this. +## -DNEED_PERROR Don't have perror() (used in testit) + +## If you have -DUSE_TERMCAP, set this as appropriate: +#LDFLAGS = -ltermlib +#LDFLAGS = -ltermcap + +DEFS = -DANSI_ARROWS -DHAVE_TCGETATTR -DHIDE -DUSE_DIRENT -DSYS_UNIX \ + -DHAVE_STDLIB -DUNIQUE_HISTORY + +DEPTH = .. + +include $(DEPTH)/config.mk + +# +# Default IEEE libm +# +CFLAGS += -DXP_UNIX $(OPTIMIZER) $(OS_CFLAGS) $(DEFINES) $(INCLUDES) \ + -DJSFILE $(XCFLAGS) $(DEFS) + +INCFILES = editline.h +.INIT: $(INCFILES) +.KEEP_STATE: +EDITLINE_CFILES = editline.c sysunix.c + +EDITLINE_OBJS = $(addprefix $(OBJDIR)/, $(EDITLINE_CFILES:.c=.o)) + +LIBRARY = $(OBJDIR)/libedit.a + +define MAKE_OBJDIR +if test ! -d $(@D); then rm -rf $(@D); mkdir $(@D); fi +endef + +all: $(LIBRARY) + +export: + +$(OBJDIR)/%: %.c + @$(MAKE_OBJDIR) + $(CC) -o $@ $(CFLAGS) $*.c $(LDFLAGS) + +$(OBJDIR)/%.o: %.c + @$(MAKE_OBJDIR) + $(CC) -o $@ -c $(CFLAGS) $*.c + +$(OBJDIR)/%.o: %.s + @$(MAKE_OBJDIR) + $(AS) -o $@ $(ASFLAGS) $*.s + +$(LIBRARY): $(EDITLINE_OBJS) + $(AR) rv $@ $? + $(RANLIB) $@ + +#libedit.a : $(EDITLINE_OBJS) +# $(AR) cru $(OBJDIR)/libedit.a $(EDITLINE_OBJS) +# $(RANLIB) $(OBJDIR)/libedit.a + +clean: + rm -rf $(EDITLINE_OBJS) + +clobber: + rm -rf $(EDITLINE_OBJS) $(LIBRARY) $(DEPENDENCIES) + +SUFFIXES: .i +%.i: %.c + $(CC) -C -E $(CFLAGS) $< > $*.i + + + Index: ossp-pkg/js/src/editline/Makefile.ref RCS File: /v/ossp/cvs/ossp-pkg/js/src/editline/Attic/Makefile.ref,v rcsdiff -q -kk '-r1.1' '-r1.1.1.1' -u '/v/ossp/cvs/ossp-pkg/js/src/editline/Attic/Makefile.ref,v' 2>/dev/null Index: ossp-pkg/js/src/editline/editline.h RCS File: /v/ossp/cvs/ossp-pkg/js/src/editline/Attic/editline.h,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/js/src/editline/Attic/editline.h,v' | diff -u /dev/null - -L'ossp-pkg/js/src/editline/editline.h' 2>/dev/null --- ossp-pkg/js/src/editline/editline.h +++ - 2025-04-08 06:32:41.074099099 +0200 @@ -0,0 +1,135 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is Mozilla Communicator client code, released + * March 31, 1998. + * + * The Initial Developer of the Original Code is + * Simmule Turner and Rich Salz. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +/* + * Copyright 1992,1993 Simmule Turner and Rich Salz. All rights reserved. + * + * This software is not subject to any license of the American Telephone + * and Telegraph Company or of the Regents of the University of California. + * + * Permission is granted to anyone to use this software for any purpose on + * any computer system, and to alter it and redistribute it freely, subject + * to the following restrictions: + * 1. The authors are not responsible for the consequences of use of this + * software, no matter how awful, even if they arise from flaws in it. + * 2. The origin of this software must not be misrepresented, either by + * explicit claim or by omission. Since few users ever read sources, + * credits must appear in the documentation. + * 3. Altered versions must be plainly marked as such, and must not be + * misrepresented as being the original software. Since few users + * ever read sources, credits must appear in the documentation. + * 4. This notice may not be removed or altered. + */ + +/* +** Internal header file for editline library. +*/ +#include +#if defined(HAVE_STDLIB) +#include +#include +#endif /* defined(HAVE_STDLIB) */ +#if defined(SYS_UNIX) +#include "unix.h" +#endif /* defined(SYS_UNIX) */ +#if defined(SYS_OS9) +#include "os9.h" +#endif /* defined(SYS_OS9) */ + +#if !defined(SIZE_T) +#define SIZE_T unsigned int +#endif /* !defined(SIZE_T) */ + +typedef unsigned char CHAR; + +#if defined(HIDE) +#define STATIC static +#else +#define STATIC /* NULL */ +#endif /* !defined(HIDE) */ + +#if !defined(CONST) +#if defined(__STDC__) +#define CONST const +#else +#define CONST +#endif /* defined(__STDC__) */ +#endif /* !defined(CONST) */ + + +#define MEM_INC 64 +#define SCREEN_INC 256 + +#define DISPOSE(p) free((char *)(p)) +#define NEW(T, c) \ + ((T *)malloc((unsigned int)(sizeof (T) * (c)))) +#define RENEW(p, T, c) \ + (p = (T *)realloc((char *)(p), (unsigned int)(sizeof (T) * (c)))) +#define COPYFROMTO(new, p, len) \ + (void)memcpy((char *)(new), (char *)(p), (int)(len)) + + +/* +** Variables and routines internal to this package. +*/ +extern int rl_eof; +extern int rl_erase; +extern int rl_intr; +extern int rl_kill; +extern int rl_quit; +extern char *rl_complete(); +extern int rl_list_possib(); +extern void rl_ttyset(); +extern void rl_add_slash(); + +#if !defined(HAVE_STDLIB) +extern char *getenv(); +extern char *malloc(); +extern char *realloc(); +extern char *memcpy(); +extern char *strcat(); +extern char *strchr(); +extern char *strrchr(); +extern char *strcpy(); +extern char *strdup(); +extern int strcmp(); +extern int strlen(); +extern int strncmp(); +#endif /* !defined(HAVE_STDLIB) */ + Index: ossp-pkg/js/src/editline/editline.h RCS File: /v/ossp/cvs/ossp-pkg/js/src/editline/Attic/editline.h,v rcsdiff -q -kk '-r1.1' '-r1.1.1.1' -u '/v/ossp/cvs/ossp-pkg/js/src/editline/Attic/editline.h,v' 2>/dev/null Index: ossp-pkg/js/src/editline/sysunix.c RCS File: /v/ossp/cvs/ossp-pkg/js/src/editline/Attic/sysunix.c,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/js/src/editline/Attic/sysunix.c,v' | diff -u /dev/null - -L'ossp-pkg/js/src/editline/sysunix.c' 2>/dev/null --- ossp-pkg/js/src/editline/sysunix.c +++ - 2025-04-08 06:32:41.080552746 +0200 @@ -0,0 +1,182 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is Mozilla Communicator client code, released + * March 31, 1998. + * + * The Initial Developer of the Original Code is + * Simmule Turner and Rich Salz. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +/* + * Copyright 1992,1993 Simmule Turner and Rich Salz. All rights reserved. + * + * This software is not subject to any license of the American Telephone + * and Telegraph Company or of the Regents of the University of California. + * + * Permission is granted to anyone to use this software for any purpose on + * any computer system, and to alter it and redistribute it freely, subject + * to the following restrictions: + * 1. The authors are not responsible for the consequences of use of this + * software, no matter how awful, even if they arise from flaws in it. + * 2. The origin of this software must not be misrepresented, either by + * explicit claim or by omission. Since few users ever read sources, + * credits must appear in the documentation. + * 3. Altered versions must be plainly marked as such, and must not be + * misrepresented as being the original software. Since few users + * ever read sources, credits must appear in the documentation. + * 4. This notice may not be removed or altered. + */ + + +/* +** Unix system-dependant routines for editline library. +*/ +#include "editline.h" + +#if defined(HAVE_TCGETATTR) +#include + +void +rl_ttyset(Reset) + int Reset; +{ + static struct termios old; + struct termios new; + + if (Reset == 0) { + (void)tcgetattr(0, &old); + rl_erase = old.c_cc[VERASE]; + rl_kill = old.c_cc[VKILL]; + rl_eof = old.c_cc[VEOF]; + rl_intr = old.c_cc[VINTR]; + rl_quit = old.c_cc[VQUIT]; + + new = old; + new.c_cc[VINTR] = -1; + new.c_cc[VQUIT] = -1; + new.c_lflag &= ~(ECHO | ICANON); + new.c_iflag &= ~(ISTRIP | INPCK); + new.c_cc[VMIN] = 1; + new.c_cc[VTIME] = 0; + (void)tcsetattr(0, TCSADRAIN, &new); + } + else + (void)tcsetattr(0, TCSADRAIN, &old); +} + +#else +#if defined(HAVE_TERMIO) +#include + +void +rl_ttyset(Reset) + int Reset; +{ + static struct termio old; + struct termio new; + + if (Reset == 0) { + (void)ioctl(0, TCGETA, &old); + rl_erase = old.c_cc[VERASE]; + rl_kill = old.c_cc[VKILL]; + rl_eof = old.c_cc[VEOF]; + rl_intr = old.c_cc[VINTR]; + rl_quit = old.c_cc[VQUIT]; + + new = old; + new.c_cc[VINTR] = -1; + new.c_cc[VQUIT] = -1; + new.c_lflag &= ~(ECHO | ICANON); + new.c_iflag &= ~(ISTRIP | INPCK); + new.c_cc[VMIN] = 1; + new.c_cc[VTIME] = 0; + (void)ioctl(0, TCSETAW, &new); + } + else + (void)ioctl(0, TCSETAW, &old); +} + +#else +#include + +void +rl_ttyset(Reset) + int Reset; +{ + static struct sgttyb old_sgttyb; + static struct tchars old_tchars; + struct sgttyb new_sgttyb; + struct tchars new_tchars; + + if (Reset == 0) { + (void)ioctl(0, TIOCGETP, &old_sgttyb); + rl_erase = old_sgttyb.sg_erase; + rl_kill = old_sgttyb.sg_kill; + + (void)ioctl(0, TIOCGETC, &old_tchars); + rl_eof = old_tchars.t_eofc; + rl_intr = old_tchars.t_intrc; + rl_quit = old_tchars.t_quitc; + + new_sgttyb = old_sgttyb; + new_sgttyb.sg_flags &= ~ECHO; + new_sgttyb.sg_flags |= RAW; +#if defined(PASS8) + new_sgttyb.sg_flags |= PASS8; +#endif /* defined(PASS8) */ + (void)ioctl(0, TIOCSETP, &new_sgttyb); + + new_tchars = old_tchars; + new_tchars.t_intrc = -1; + new_tchars.t_quitc = -1; + (void)ioctl(0, TIOCSETC, &new_tchars); + } + else { + (void)ioctl(0, TIOCSETP, &old_sgttyb); + (void)ioctl(0, TIOCSETC, &old_tchars); + } +} +#endif /* defined(HAVE_TERMIO) */ +#endif /* defined(HAVE_TCGETATTR) */ + +void +rl_add_slash(path, p) + char *path; + char *p; +{ + struct stat Sb; + + if (stat(path, &Sb) >= 0) + (void)strcat(p, S_ISDIR(Sb.st_mode) ? "/" : " "); +} + Index: ossp-pkg/js/src/editline/sysunix.c RCS File: /v/ossp/cvs/ossp-pkg/js/src/editline/Attic/sysunix.c,v rcsdiff -q -kk '-r1.1' '-r1.1.1.1' -u '/v/ossp/cvs/ossp-pkg/js/src/editline/Attic/sysunix.c,v' 2>/dev/null Index: ossp-pkg/js/src/editline/unix.h RCS File: /v/ossp/cvs/ossp-pkg/js/src/editline/Attic/unix.h,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/js/src/editline/Attic/unix.h,v' | diff -u /dev/null - -L'ossp-pkg/js/src/editline/unix.h' 2>/dev/null --- ossp-pkg/js/src/editline/unix.h +++ - 2025-04-08 06:32:41.087121107 +0200 @@ -0,0 +1,82 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- + * + * ***** BEGIN LICENSE BLOCK ***** + * Version: MPL 1.1/GPL 2.0/LGPL 2.1 + * + * The contents of this file are subject to the Mozilla Public License Version + * 1.1 (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS IS" basis, + * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License + * for the specific language governing rights and limitations under the + * License. + * + * The Original Code is Mozilla Communicator client code, released + * March 31, 1998. + * + * The Initial Developer of the Original Code is + * Simmule Turner and Rich Salz. + * Portions created by the Initial Developer are Copyright (C) 1998 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): + * + * Alternatively, the contents of this file may be used under the terms of + * either the GNU General Public License Version 2 or later (the "GPL"), or + * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), + * in which case the provisions of the GPL or the LGPL are applicable instead + * of those above. If you wish to allow use of your version of this file only + * under the terms of either the GPL or the LGPL, and not to allow others to + * use your version of this file under the terms of the MPL, indicate your + * decision by deleting the provisions above and replace them with the notice + * and other provisions required by the GPL or the LGPL. If you do not delete + * the provisions above, a recipient may use your version of this file under + * the terms of any one of the MPL, the GPL or the LGPL. + * + * ***** END LICENSE BLOCK ***** */ + +/* + * Copyright 1992,1993 Simmule Turner and Rich Salz. All rights reserved. + * + * This software is not subject to any license of the American Telephone + * and Telegraph Company or of the Regents of the University of California. + * + * Permission is granted to anyone to use this software for any purpose on + * any computer system, and to alter it and redistribute it freely, subject + * to the following restrictions: + * 1. The authors are not responsible for the consequences of use of this + * software, no matter how awful, even if they arise from flaws in it. + * 2. The origin of this software must not be misrepresented, either by + * explicit claim or by omission. Since few users ever read sources, + * credits must appear in the documentation. + * 3. Altered versions must be plainly marked as such, and must not be + * misrepresented as being the original software. Since few users + * ever read sources, credits must appear in the documentation. + * 4. This notice may not be removed or altered. + */ + + +/* +** Editline system header file for Unix. +*/ + +#define CRLF "\r\n" +#define FORWARD STATIC + +#include +#include + +#if defined(USE_DIRENT) +#include +typedef struct dirent DIRENTRY; +#else +#include +typedef struct direct DIRENTRY; +#endif /* defined(USE_DIRENT) */ + +#if !defined(S_ISDIR) +#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) +#endif /* !defined(S_ISDIR) */ + Index: ossp-pkg/js/src/editline/unix.h RCS File: /v/ossp/cvs/ossp-pkg/js/src/editline/Attic/unix.h,v rcsdiff -q -kk '-r1.1' '-r1.1.1.1' -u '/v/ossp/cvs/ossp-pkg/js/src/editline/Attic/unix.h,v' 2>/dev/null