Fix vhdlpp Makefile for out-of-tree builds.
The INCLUDE_PATH in the vhdlpp Makefile was not including $(srcdir) and $(srcdir)/.. when building outside of the source tree.
This commit is contained in:
parent
dd0ea9db40
commit
ffca523d39
|
|
@ -39,10 +39,10 @@ INSTALL_DATA = @INSTALL_DATA@
|
|||
LEX = @LEX@
|
||||
YACC = @YACC@
|
||||
|
||||
ifeq (.,.)
|
||||
ifeq (@srcdir@,.)
|
||||
INCLUDE_PATH = -I. -I.. -I../libmisc
|
||||
else
|
||||
INCLUDE_PATH = -I. -I.. -I$(srcdir) -I$(srcdir)/../libmisc
|
||||
INCLUDE_PATH = -I. -I.. -I$(srcdir) -I$(srcdir)/.. -I$(srcdir)/../libmisc
|
||||
endif
|
||||
|
||||
CPPFLAGS = $(INCLUDE_PATH) @CPPFLAGS@ @DEFS@
|
||||
|
|
|
|||
Loading…
Reference in New Issue