Fix a build error on FreeBSD 12, bison 3.3.2, automake 1.16.1 and BSD make
by dropping the rules to run bison and use automake's built-in rules instead
This commit is contained in:
parent
0149e6af3a
commit
5b28b4a8a8
|
|
@ -4,6 +4,8 @@ SUBDIRS = plotting help parser wdisp numparam trannoise
|
|||
DIST_SUBDIRS = plotting help parser wdisp numparam trannoise
|
||||
EXTRA_DIST = testcommands.c
|
||||
|
||||
BUILT_SOURCES = parse-bison.h
|
||||
|
||||
noinst_LTLIBRARIES = libfte.la
|
||||
|
||||
libfte_la_SOURCES = \
|
||||
|
|
@ -150,7 +152,6 @@ libfte_la_SOURCES = \
|
|||
parse.c \
|
||||
parse.h \
|
||||
parse-bison.y \
|
||||
parse-bison-y.h \
|
||||
points.c \
|
||||
points.h \
|
||||
postcoms.c \
|
||||
|
|
@ -198,8 +199,3 @@ AM_CFLAGS = $(STATIC)
|
|||
AM_YFLAGS = -d
|
||||
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
$(srcdir)/parse.c : parse-bison.c
|
||||
|
||||
parse-bison.c : parse-bison.y
|
||||
$(am__skipyacc) $(YACCCOMPILE) -o $@ $<
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
noinst_LTLIBRARIES = libinp.la
|
||||
|
||||
BUILT_SOURCES = inpptree-parser.h
|
||||
|
||||
libinp_la_SOURCES = \
|
||||
ifeval.c \
|
||||
ifnewuid.c \
|
||||
|
|
@ -60,18 +62,12 @@ libinp_la_SOURCES = \
|
|||
inppname.c \
|
||||
inpptree.c \
|
||||
inpptree-parser.y \
|
||||
inpptree-parser-y.h \
|
||||
inpsymt.c \
|
||||
inptyplk.c \
|
||||
ptfuncs.c \
|
||||
sperror.c \
|
||||
inpxx.h
|
||||
|
||||
$(srcdir)/inpptree.c : inpptree-parser.c
|
||||
|
||||
inpptree-parser.c : inpptree-parser.y
|
||||
$(am__skipyacc) $(YACCCOMPILE) -o $@ $<
|
||||
|
||||
AM_CPPFLAGS = @AM_CPPFLAGS@ -I$(top_srcdir)/src/include -I$(top_srcdir)/src/frontend
|
||||
AM_CFLAGS = $(STATIC)
|
||||
AM_YFLAGS = -d
|
||||
|
|
|
|||
Loading…
Reference in New Issue