diff options
author | Tristan Gingold <tgingold@free.fr> | 2017-08-19 04:48:29 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2017-08-19 04:48:29 +0200 |
commit | a1126998bf603d410f440a068eeaa3047b7c31a3 (patch) | |
tree | 85a4b7bf835244f11856fea84a4f002ba7914651 /Makefile.in | |
parent | 12224473233f2a44a85b14d1b593aaa759b55b84 (diff) | |
download | ghdl-a1126998bf603d410f440a068eeaa3047b7c31a3.tar.gz ghdl-a1126998bf603d410f440a068eeaa3047b7c31a3.tar.bz2 ghdl-a1126998bf603d410f440a068eeaa3047b7c31a3.zip |
Add clean-pure-gpl, allow to build with openieee
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in index 0d22854ba..ca3b9043e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -406,10 +406,10 @@ 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 \ +VHDLLIB_SUBDIRS= src/std src/ieee src/vital95 src/vital2000 src/synopsys src/mentor src/ieee2008 src/openieee \ v87/std v87/ieee v87/synopsys \ v93/std v93/ieee v93/mentor v93/synopsys \ - v08/std v08/ieee v08/synopsys \ + v08/std v08/ieee v08/synopsys install.dirs: # Use -p to create parents and to avoid error if existing. @@ -460,6 +460,16 @@ create-dirs: force $(MKDIR) -p $(LIBDST_DIR)/$$d; \ done +# Remove non GPL compatible source files +clean-pure-gpl: +# IEEE 1164 or vital libraries aren't GPL compatible + $(RM) -rf libraries/ieee libraries/ieee2008 + $(RM) -rf libraries/vital95 libraries/vital2000 +# Don't promote deprecated mentor libraries; synopsys one is ok + $(RM) -rf libraries/mentor +# The GNA testsuite contains open-source reproducer that may not be GPL. + $(RM) -rf testsuite/gna + force: -.PHONY: force clean distclean clean-c +.PHONY: force clean distclean clean-c clean-pure-gpl |