From 66cd5e0aa897b947533d269535fde4c0852472c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Kruszewski?= Date: Fri, 5 Mar 2021 19:17:57 +0100 Subject: Include directory structure proposal. --- Makefile.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Makefile.in') 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)/ -- cgit v1.2.3