diff options
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 17 |
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 \ |