drw@BOURBAKI.MIT.EDU (08/16/89)
The following changes need to be made to bash's Makefile to run under SunOS 3. (Not including changes documented in the distribution.) Some of these are upward-compatible, and they should probably be folded into the regular distribution. *** Makefile~ Sat Jul 1 22:12:29 1989 --- Makefile Mon Aug 14 00:30:47 1989 *************** *** 18,24 **** # Here is a rule for making .o files from .c files that doesn't force # the type of the machine (like -sun3) into the flags. ! %.o : %.c $(CC) -c $(CFLAGS) $(CPPFLAGS) $< -o $@ # Of course, you cannot do this the first time through... --- 18,24 ---- # Here is a rule for making .o files from .c files that doesn't force # the type of the machine (like -sun3) into the flags. ! .c.o : $(CC) -c $(CFLAGS) $(CPPFLAGS) $< -o $@ # Of course, you cannot do this the first time through... *************** *** 124,130 **** # Support libraries required. Termcap, Readline, and History. # We would like to use GNU's termcap library. Where is it? LIBDIR = ./lib/ ! TERMCAP = /lib/libtermcap.a HISTORY = $(LIBDIR)libhistory.a READLINE= $(LIBDIR)libreadline.a --- 124,130 ---- # Support libraries required. Termcap, Readline, and History. # We would like to use GNU's termcap library. Where is it? LIBDIR = ./lib/ ! TERMCAP = /usr/lib/libtermcap.a HISTORY = $(LIBDIR)libhistory.a READLINE= $(LIBDIR)libreadline.a These changes need to be made to the Makefile in the directory "lib" (which is not documented in the README file): *** Makefile~ Fri Jun 30 14:45:03 1989 --- Makefile Mon Aug 14 00:27:37 1989 *************** *** 6,12 **** # Here is a rule for making .o files from .c files that doesn't force # the type of the machine (like -sun3) into the flags. ! %.o : %.c $(CC) -c $(CFLAGS) $(CPPFLAGS) $< -o $@ # Destination installation directory. The libraries are copied here if --- 6,12 ---- # Here is a rule for making .o files from .c files that doesn't force # the type of the machine (like -sun3) into the flags. ! .c.o : $(CC) -c $(CFLAGS) $(CPPFLAGS) $< -o $@ # Destination installation directory. The libraries are copied here if *************** *** 47,52 **** --- 47,56 ---- SUPPORT = LICENSE Makefile $(DOCUMENTATION) ChangeLog THINGS_TO_TAR = $(SOURCES) $(SUPPORT) + + RM = rm + + AR = ar ########################################################################## Dale