summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-06-29 00:25:04 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-06-29 00:25:04 +0000
commitbb4b20153ecfab9789569d85eafab3e1942051d7 (patch)
tree14697e42abddf9c7801fc0850df087fe6f51bd98 /gnu
parentb0594c55ee89492c0a1d4b8ef6425955998d168c (diff)
Don't build from lex/yacc, use prebuilt (yacc files don't seem to like our yacc)
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/bc/bc/Makefile.in18
1 files changed, 9 insertions, 9 deletions
diff --git a/gnu/usr.bin/bc/bc/Makefile.in b/gnu/usr.bin/bc/bc/Makefile.in
index 2398cb00993..df3620a0811 100644
--- a/gnu/usr.bin/bc/bc/Makefile.in
+++ b/gnu/usr.bin/bc/bc/Makefile.in
@@ -64,7 +64,7 @@ RANLIB = @RANLIB@
VERSION = @VERSION@
YACC = @YACC@
-bin_PROGRAMS = bc
+bin_PROGRAMS = gnubc
bc_SOURCES = main.c bc.y scan.l execute.c load.c storage.c util.c global.c
@@ -119,7 +119,7 @@ OBJECTS = $(bc_OBJECTS)
all: Makefile $(PROGRAMS) $(HEADERS)
.SUFFIXES:
-.SUFFIXES: .S .c .l .o .s .y
+.SUFFIXES: .S .c .o .s
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps bc/Makefile
@@ -175,15 +175,15 @@ maintainer-clean-compile:
bc: $(bc_OBJECTS) $(bc_DEPENDENCIES)
@rm -f bc
$(LINK) $(bc_LDFLAGS) $(bc_OBJECTS) $(bc_LDADD) $(LIBS)
-.y.c:
- $(YACC) $(YFLAGS) $< && mv y.tab.c $*.c
- if test -f y.tab.h; then \
- if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \
- else :; fi
+#.y.c:
+# $(YACC) $(YFLAGS) $< && mv y.tab.c $*.c
+# if test -f y.tab.h; then \
+# if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \
+# else :; fi
bc.h: bc.c
-.l.c:
- $(LEX) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@
+#.l.c:
+# $(LEX) $(LFLAGS) $< && mv $(LEX_OUTPUT_ROOT).c $@
tags: TAGS