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
bfe9e29580
commit
b4ee4e28d6
|
|
@ -4,6 +4,8 @@ SUBDIRS = plotting help parser wdisp numparam trannoise
|
||||||
DIST_SUBDIRS = plotting help parser wdisp numparam trannoise
|
DIST_SUBDIRS = plotting help parser wdisp numparam trannoise
|
||||||
EXTRA_DIST = testcommands.c
|
EXTRA_DIST = testcommands.c
|
||||||
|
|
||||||
|
BUILT_SOURCES = parse-bison.h
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libfte.la
|
noinst_LTLIBRARIES = libfte.la
|
||||||
|
|
||||||
libfte_la_SOURCES = \
|
libfte_la_SOURCES = \
|
||||||
|
|
@ -150,7 +152,6 @@ libfte_la_SOURCES = \
|
||||||
parse.c \
|
parse.c \
|
||||||
parse.h \
|
parse.h \
|
||||||
parse-bison.y \
|
parse-bison.y \
|
||||||
parse-bison-y.h \
|
|
||||||
points.c \
|
points.c \
|
||||||
points.h \
|
points.h \
|
||||||
postcoms.c \
|
postcoms.c \
|
||||||
|
|
@ -198,8 +199,3 @@ AM_CFLAGS = $(STATIC)
|
||||||
AM_YFLAGS = -d
|
AM_YFLAGS = -d
|
||||||
|
|
||||||
MAINTAINERCLEANFILES = Makefile.in
|
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
|
noinst_LTLIBRARIES = libinp.la
|
||||||
|
|
||||||
|
BUILT_SOURCES = inpptree-parser.h
|
||||||
|
|
||||||
libinp_la_SOURCES = \
|
libinp_la_SOURCES = \
|
||||||
ifeval.c \
|
ifeval.c \
|
||||||
ifnewuid.c \
|
ifnewuid.c \
|
||||||
|
|
@ -60,18 +62,12 @@ libinp_la_SOURCES = \
|
||||||
inppname.c \
|
inppname.c \
|
||||||
inpptree.c \
|
inpptree.c \
|
||||||
inpptree-parser.y \
|
inpptree-parser.y \
|
||||||
inpptree-parser-y.h \
|
|
||||||
inpsymt.c \
|
inpsymt.c \
|
||||||
inptyplk.c \
|
inptyplk.c \
|
||||||
ptfuncs.c \
|
ptfuncs.c \
|
||||||
sperror.c \
|
sperror.c \
|
||||||
inpxx.h
|
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_CPPFLAGS = @AM_CPPFLAGS@ -I$(top_srcdir)/src/include -I$(top_srcdir)/src/frontend
|
||||||
AM_CFLAGS = $(STATIC)
|
AM_CFLAGS = $(STATIC)
|
||||||
AM_YFLAGS = -d
|
AM_YFLAGS = -d
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue