aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-08-27 04:42:47 +0200
committerTristan Gingold <tgingold@free.fr>2017-08-27 04:42:47 +0200
commitbabffb119ed9b7f8659083d120216d44340714ca (patch)
tree4d2c51feda1917da554f47e8d31e37faa6a0ad26 /Makefile.in
parent8342d5af61fc7c936c3f1f8354f3332d47a636b1 (diff)
downloadghdl-babffb119ed9b7f8659083d120216d44340714ca.tar.gz
ghdl-babffb119ed9b7f8659083d120216d44340714ca.tar.bz2
ghdl-babffb119ed9b7f8659083d120216d44340714ca.zip
travis: add gpl packaging
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in17
1 files changed, 14 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index 23770e800..77d14b878 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -408,10 +408,20 @@ install.vpi: all.vpi install.dirs
LIBSRC_DIR:=$(srcdir)/libraries
LIBDST_DIR:=$(libdirsuffix)
-VHDLLIB_SUBDIRS= src/std src/ieee src/vital95 src/vital2000 src/synopsys src/mentor src/ieee2008 src/openieee \
+VHDLLIB_SUBDIRS_COMMON= src/std src/synopsys src/openieee \
v87/std v87/ieee v87/synopsys \
- v93/std v93/ieee v93/mentor v93/synopsys \
- v08/std v08/ieee v08/synopsys
+ v93/std v93/ieee v93/synopsys \
+ v08/std
+
+VHDLLIB_SUBDIRS_FULL= src/ieee src/vital95 src/vital2000 src/mentor \
+ src/ieee2008 \
+ v93/mentor v08/ieee v08/synopsys
+
+ifeq ($(enable_openieee),false)
+VHDLLIB_SUBDIRS=$(VHDLLIB_SUBDIRS_COMMON) $(VHDLLIB_SUBDIRS_FULL)
+else
+VHDLLIB_SUBDIRS=$(VHDLLIB_SUBDIRS_COMMON)
+endif
install.dirs:
# Use -p to create parents and to avoid error if existing.
@@ -422,6 +432,7 @@ install.dirs:
$(MKDIR) -p $(DESTDIR)$(incdir)
install.vhdllib: install.dirs
+# Libraries (only if not empty)
for d in $(VHDLLIB_SUBDIRS); do \
$(MKDIR) -p $(DESTDIR)$(VHDL_LIB_DIR)/$$d; \
$(INSTALL_DATA) -p \