diff options
author | MichaĆ Kruszewski <mkru@protonmail.com> | 2021-03-05 19:17:57 +0100 |
---|---|---|
committer | tgingold <tgingold@users.noreply.github.com> | 2021-03-07 21:10:05 +0100 |
commit | 66cd5e0aa897b947533d269535fde4c0852472c2 (patch) | |
tree | eb6bb9932eb604b243aa0b2ba57c9faf1c1db883 /Makefile.in | |
parent | 80b41f38598931c14db30232b8b38b12186c156d (diff) | |
download | ghdl-66cd5e0aa897b947533d269535fde4c0852472c2.tar.gz ghdl-66cd5e0aa897b947533d269535fde4c0852472c2.tar.bz2 ghdl-66cd5e0aa897b947533d269535fde4c0852472c2.zip |
Include directory structure proposal.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile.in b/Makefile.in index a8a1ae68f..9b51ae252 100644 --- a/Makefile.in +++ b/Makefile.in @@ -47,7 +47,7 @@ PWD?=$(shell pwd) DESTDIR= bindir=$(prefix)/bin libdir=$(prefix)/lib -incdir=$(prefix)/include +incdir=$(prefix)/include/ghdl MKDIR=mkdir LN=ln -s CP=cp @@ -433,7 +433,7 @@ libghdl.a: lib/$(libghdl_name) ar rc $@ b~libghdl.o $(LIBGHDL_GRT_OBJS) `sed -e /^-/d < libghdl.bind` grep adalib libghdl.bind | sed -e 's/^-L//' -e 's@adalib/@adalib/libgnat.a@' > libghdl.link -$(srcdir)/src/synth/ghdlsynth_gates.h: $(srcdir)/src/synth/netlists.ads $(srcdir)/src/synth/netlists-gates.ads +$(srcdir)/src/synth/include/synth_gates.h: $(srcdir)/src/synth/netlists.ads $(srcdir)/src/synth/netlists-gates.ads echo "/* DO NOT MODIFY" > $@ echo " This file is automatically generated by Makefile. */" >> $@ echo "enum Module_Id {" >> $@ @@ -448,9 +448,9 @@ all.libghdl.true: lib/$(libghdl_name) libghdl.a all.libghdl.false: all.libghdl: all.libghdl.$(enable_libghdl) -install.libghdl.include: install.dirs $(srcdir)/src/synth/ghdlsynth_gates.h - $(INSTALL_DATA) -p $(srcdir)/src/synth/ghdlsynth.h $(DESTDIR)$(incdir)/ - $(INSTALL_DATA) -p $(srcdir)/src/synth/ghdlsynth_gates.h $(DESTDIR)$(incdir)/ +install.libghdl.include: install.dirs $(srcdir)/src/synth/include/synth_gates.h + $(INSTALL_DATA) -p $(srcdir)/src/synth/include/synth.h $(DESTDIR)$(incdir) + $(INSTALL_DATA) -p $(srcdir)/src/synth/include/synth_gates.h $(DESTDIR)$(incdir) install.libghdl.lib: $(INSTALL_PROGRAM) -p lib/$(libghdl_name) $(DESTDIR)$(libdir)/ |