$NetBSD: patch-aa,v 1.6 1998/08/23 05:52:46 garbled Exp $ *** Makefile.orig Mon Mar 7 03:32:46 1994 --- Makefile Wed Aug 20 15:19:15 1997 *************** *** 16,23 **** #ADDON=addon.o # Use an ANSI compiler (or at least one that groks prototypes and void *): ! CC=gcc -g -O ! CFLAGS= LDFLAGS= # You may substitute "bison -y" for yacc. (You want to choose the one that --- 16,23 ---- #ADDON=addon.o # Use an ANSI compiler (or at least one that groks prototypes and void *): ! CC=gcc ! CFLAGS= -O2 LDFLAGS= # You may substitute "bison -y" for yacc. (You want to choose the one that *************** *** 28,33 **** --- 28,46 ---- glob.o glom.o hash.o heredoc.o input.o lex.o list.o main.o match.o \ nalloc.o open.o print.o redir.o sigmsgs.o signal.o status.o tree.o \ utils.o var.o version.o wait.o walk.o which.o y.tab.o + + all: rc history + + install: + $(INSTALL) -c rc $(PREFIX)/bin + $(INSTALL) -c history/history $(PREFIX)/bin + for i in - -- -p --p; do rm -f $(PREFIX)/bin/$$i; ln $(PREFIX)/bin/history $(PREFIX)/bin/$$i; done + $(INSTALL) -c rc.1 $(PREFIX)/man/man1 + $(INSTALL) -c history/history.1 $(PREFIX)/man/man1 + strip $(PREFIX)/bin/rc + strip $(PREFIX)/bin/history + gzip -9nf $(PREFIX)/man/man1/rc.1 + gzip -9nf $(PREFIX)/man/man1/history.1 # If rc is compiled with READLINE defined, you must supply the correct # arguments to ld on this line. Typically this would be something like: