make/linux/makefiles/adlc.make

Print this page

        

@@ -1,7 +1,7 @@
 #
-# Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 #
 # This code is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License version 2 only, as
 # published by the Free Software Foundation.

@@ -45,15 +45,15 @@
 Src_Dirs += $(GAMMADIR)/src/share/vm/adlc
 
 EXEC    = $(OUTDIR)/adlc
 
 # set VPATH so make knows where to look for source files
-Src_Dirs_V = ${Src_Dirs} $(GENERATED)/incls
+Src_Dirs_V = ${Src_Dirs}
 VPATH    += $(Src_Dirs_V:%=%:)
 
 # set INCLUDES for C preprocessor
-Src_Dirs_I = ${Src_Dirs} $(GENERATED)
+Src_Dirs_I = ${Src_Dirs} $(GAMMADIR)/src/share/vm $(GENERATED)
 INCLUDES += $(Src_Dirs_I:%=-I%)
 
 # set flags for adlc compilation
 CPPFLAGS = $(SYSDEFS) $(INCLUDES)