Re: R-alpha: R Version 0.10

Luke Tierney (
Wed, 28 Aug 1996 11:03:25 -0500 (CDT)

From: Luke Tierney <>
Message-Id: <>
Subject: Re: R-alpha: R Version 0.10
To: (Ross Ihaka)
Date: Wed, 28 Aug 1996 11:03:25 -0500 (CDT)
In-Reply-To: <> from "Ross Ihaka" at Aug 27, 96 05:12:03 pm

I messed up in my previous post for HPUX -- I should have changed
src/unic/ instead of the Makefile itself. Here is a new
version of the shar file with the three modified files.


# This is a shell archive.  Remove anything before this line,
# then unpack it by saving it in a file and typing "sh file".
# Wrapped by Luke Tierney <luke@nokomis> on Wed Aug 28 10:31:15 1996
# This archive contains:
#	src/Systems/HP		src/compat/HP/Makefile	
#	src/unix/	

LANG=""; export LANG
PATH=/bin:/usr/bin:$PATH; export PATH

echo x - src/Systems/HP
cat >src/Systems/HP <<'@EOF'
# Hewlett-Packard Unix Machines using X11R5
# This worked on on (thanks Mike!)
# Note the -Dno_f77_underscore

# X11 Base Directory
# Does not seem to apply.  Unbelieveably weird!
X11BASE= /usr/include/X11R5

# C Compiler and Options
CC= gcc
CFLAGS= -g -I../include

# Fortran Compiler and Options (-E for Dynamic loading)
F77= f77

# Yacc (Note: Bison does not work, get byacc).

# Command to Create Libraries from Object Files
MKLIB= ../tools/library.bsd

# Create an Executable from Objects and Libraries (-E for Dynamic loading)
LD= f77 -O -Wl,-E

# Libraries to Load Against
LIBS= -lm ../lib/libHPcompat.a /usr/lib/X11R5/libX11.a -ldld

chmod 644 src/Systems/HP

echo x - src/compat/HP/Makefile
cat >src/compat/HP/Makefile <<'@EOF'
CFLAGS=-g -I. -Aa

OBJS=dlfcn.o vsystem.o

LIB= ../../lib/libHPcompat.a

$(LIB): ${OBJS}
	ar cru ${LIB} ${OBJS}
	cp dlfcn.h ../../include

	rm -f *.o

chmod 644 src/compat/HP/Makefile

echo x - src/unix/
cat >src/unix/ <<'@EOF'

OBJ= \
	dataentry.o \
	devX11.o \
	devPS.o \
	rotated.o \

LIB=		../lib/libunix.a

$(LIB):		$(OBJ)
		$(MKLIB) $(LIB) $(OBJ)

dataentry.o:	dataentry.h dataentry.c ../include/Defn.h
		$(CC) -c $(CFLAGS) -I$(X11BASE) dataentry.c

rotated.o:	rotated.c rotated.h
		$(CC) -c $(CFLAGS) -I$(X11BASE) rotated.c

devX11.o:	devX11.c ../include/Graphics.h
		$(CC) -c $(CFLAGS) -I$(X11BASE) devX11.c

devPS.o:	devPS.c ../include/Graphics.h
		$(CC) -c $(CFLAGS) -I$(X11BASE) devPS.c

		@echo cleaning in unix
		@-rm -f *.o *.a

		@echo cleaning in unix
		@-rm -f *.o *.a Makefile

chmod 755 src/unix/

exit 0

r-testers mailing list -- To (un)subscribe, send
subscribe	or	unsubscribe
(in the "body", not the subject !)  To: