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:
Jared Casper 2011-01-23 16:20:04 -08:00 committed by Stephen Williams
parent dd0ea9db40
commit ffca523d39
1 changed files with 2 additions and 2 deletions

View File

@ -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@