mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-20 17:53:02 +00:00
(CFLAGS): Set to @CFLAGS@.
(LDFLAGS): Set to @LDFLAGS@. (configure): Run autoconf only if preceding `cd' succeeds. (bison.s1): Redirect output to temporary file then move the temporary to the target, rather than redirecting directly to bison.s1. (clean): Remove config.status and config.log. (distclean): Don't remove config.status here.
This commit is contained in:
17
Makefile.in
17
Makefile.in
@@ -35,8 +35,8 @@ MAKEINFO = makeinfo
|
|||||||
# -DHAVE_STRERROR If you have strerror function.
|
# -DHAVE_STRERROR If you have strerror function.
|
||||||
DEFS = @DEFS@
|
DEFS = @DEFS@
|
||||||
|
|
||||||
CFLAGS = -g
|
CFLAGS = @CFLAGS@
|
||||||
LDFLAGS =
|
LDFLAGS = @LDFLAGS@
|
||||||
|
|
||||||
LIBS = @LIBS@
|
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
|
all: bison bison.info bison.s1
|
||||||
|
|
||||||
Makefile: Makefile.in config.status
|
Makefile: config.status Makefile.in
|
||||||
./config.status
|
CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status
|
||||||
|
|
||||||
config.status: configure
|
config.status: configure
|
||||||
./config.status --recheck
|
./config.status --recheck
|
||||||
|
|
||||||
configure: configure.in
|
configure: configure.in
|
||||||
cd $(srcdir); autoconf
|
cd $(srcdir) && autoconf
|
||||||
|
|
||||||
# Copy bison.simple, inserting directory name into the #line commands.
|
# Copy bison.simple, inserting directory name into the #line commands.
|
||||||
bison.s1: bison.simple
|
bison.s1: bison.simple
|
||||||
-rm -f bison.s1
|
-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:
|
clean:
|
||||||
rm -f *.o core bison bison.s1
|
rm -f *.o core bison bison.s1 config.status config.log
|
||||||
|
|
||||||
mostlyclean: clean
|
mostlyclean: clean
|
||||||
|
|
||||||
distclean: clean
|
distclean: clean
|
||||||
rm -f Makefile config.status
|
rm -f Makefile
|
||||||
|
|
||||||
realclean: distclean
|
realclean: distclean
|
||||||
rm -f TAGS *.info*
|
rm -f TAGS *.info*
|
||||||
|
|||||||
Reference in New Issue
Block a user