aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2018-03-07 05:10:02 +0100
committerTristan Gingold <tgingold@free.fr>2018-03-07 05:10:02 +0100
commitf94f726d515bcf48c50752a3487441fad629ee13 (patch)
tree8f8ddfcdc4f1aa5e825a51a26d6b63bbfcd3f2fb /Makefile.in
parent0e9e1f63cdf19dc45804d7b8728698f879489ee9 (diff)
downloadghdl-f94f726d515bcf48c50752a3487441fad629ee13.tar.gz
ghdl-f94f726d515bcf48c50752a3487441fad629ee13.tar.bz2
ghdl-f94f726d515bcf48c50752a3487441fad629ee13.zip
configure: add --enable-python
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index f46115721..550998656 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -38,6 +38,7 @@ build_mode=@build_mode@
enable_werror=@enable_werror@
enable_checks=@enable_checks@
enable_openieee=@enable_openieee@
+enable_python=@enable_python@
INSTALL_PROGRAM=install -m 755
INSTALL_DATA=install -m 644
@@ -114,7 +115,7 @@ LIBVHDL_FLAGS_TO_PASS=\
enable_openieee="$(enable_openieee)" \
LN="$(LN)" CP="$(CP)" MKDIR="$(MKDIR)"
-all: Makefile all.$(backend)
+all: Makefile all.$(backend) all.libghdl.$(enable_python)
install: install.$(backend)
@@ -339,6 +340,9 @@ LIBGHDL_INCFLAGS=$(GHDL_COMMON_INCFLAGS) -aI$(srcdir)/src/vhdl/python -aI$(srcdi
libghdl$(SOEXT): $(GRT_SRC_DEPS) version.ads force
$(GNATMAKE) -I- -aI. -D pic -z libghdl -o $@ $(GNATFLAGS) $(PIC_FLAGS) -gnat05 $(LIBGHDL_INCFLAGS) -bargs -shared -Llibghdl_ -largs -shared $(SHLIB_FLAGS)
+all.libghdl.true: libghdl$(SOEXT)
+all.libghdl.false:
+
################ ghdlsynth library ######################################
GHDL_SYNTHLIB_INCFLAGS=$(GHDL_COMMON_INCFLAGS) -aI$(srcdir)/src/synth -aI$(srcdir)/src/ghdldrv -aI$(srcdir)/src/vhdl/simulate