Article View: gnu.bash.bug
Article #470Fixes needed in bash Makefile for SunOS 3
From: drw
Date: Wed, 16 Aug 1989 03:08
Date: Wed, 16 Aug 1989 03:08
78 lines
2842 bytes
2842 bytes
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
Technical Details
Message-ID:
<8908160308.AA07099@schubert.mit.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watmath!iuvax!cica!tut.cis.ohio-state.edu!BOURBAKI.MIT.EDU!drwShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!iuvax!cica!tut.cis.ohio-state.edu!BOURBAKI.MIT.EDU!drw From: drw@BOURBAKI.MIT.EDU Newsgroups: gnu.bash.bug Subject: Fixes needed in bash Makefile for SunOS 3 Message-ID: <8908160308.AA07099@schubert.mit.edu> Date: 16 Aug 89 03:08:30 GMT Distribution: gnu Organization: GNUs Not Usenet Lines: 78