X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/687621a5c555e8ac95f1f35ff1c5f9d567f48ad7..42f95d63c2cdefffd471f76e6c64af7e4872ba24:/Makefile.in diff --git a/Makefile.in b/Makefile.in index baabbf96..d4e9e795 100644 --- a/Makefile.in +++ b/Makefile.in @@ -35,8 +35,8 @@ MAKEINFO = makeinfo # -DHAVE_STRERROR If you have strerror function. DEFS = @DEFS@ -CFLAGS = -g -LDFLAGS = +CFLAGS = @CFLAGS@ +LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ @@ -96,27 +96,28 @@ OBJECTS = LR0.o allocate.o closure.o conflicts.o derives.o files.o \ all: bison bison.info bison.s1 -Makefile: Makefile.in config.status - ./config.status +Makefile: config.status Makefile.in + CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status config.status: configure ./config.status --recheck configure: configure.in - cd $(srcdir); autoconf + cd $(srcdir) && autoconf # Copy bison.simple, inserting directory name into the #line commands. bison.s1: bison.simple -rm -f bison.s1 - sed -e "/^#line/ s|bison|$(datadir)/bison|" < $(srcdir)/$(PFILE) > bison.s1 + sed -e "/^#line/ s|bison|$(datadir)/bison|" < $(srcdir)/$(PFILE) > $@-tmp + mv $@-tmp $@ clean: - rm -f *.o core bison bison.s1 + rm -f *.o core bison bison.s1 config.status config.log mostlyclean: clean distclean: clean - rm -f Makefile config.status + rm -f Makefile realclean: distclean rm -f TAGS *.info* @@ -171,6 +172,7 @@ files.o: files.c $(srcdir)/files.c $(OUTPUT_OPTION) LR0.o: system.h machine.h new.h gram.h state.h +allocate.o: system.h closure.o: system.h machine.h new.h gram.h conflicts.o: system.h machine.h new.h files.h gram.h state.h derives.o: system.h new.h types.h gram.h