equal
deleted
inserted
replaced
1 # |
1 # |
2 # Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved. |
2 # Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 # |
4 # |
5 # This code is free software; you can redistribute it and/or modify it |
5 # This code is free software; you can redistribute it and/or modify it |
6 # under the terms of the GNU General Public License version 2 only, as |
6 # under the terms of the GNU General Public License version 2 only, as |
7 # published by the Free Software Foundation. |
7 # published by the Free Software Foundation. |
40 SOURCE.AD = $(OUTDIR)/$(OS)_$(Platform_arch_model).ad |
40 SOURCE.AD = $(OUTDIR)/$(OS)_$(Platform_arch_model).ad |
41 |
41 |
42 SOURCES.AD = $(GAMMADIR)/src/cpu/$(ARCH)/vm/$(Platform_arch_model).ad \ |
42 SOURCES.AD = $(GAMMADIR)/src/cpu/$(ARCH)/vm/$(Platform_arch_model).ad \ |
43 $(GAMMADIR)/src/os_cpu/$(OS)_$(ARCH)/vm/$(OS)_$(Platform_arch_model).ad |
43 $(GAMMADIR)/src/os_cpu/$(OS)_$(ARCH)/vm/$(OS)_$(Platform_arch_model).ad |
44 |
44 |
45 Src_Dirs += $(GAMMADIR)/src/share/vm/adlc |
|
46 |
|
47 EXEC = $(OUTDIR)/adlc |
45 EXEC = $(OUTDIR)/adlc |
48 |
46 |
49 # set VPATH so make knows where to look for source files |
47 # set VPATH so make knows where to look for source files |
50 Src_Dirs_V = ${Src_Dirs} $(GENERATED)/incls |
48 Src_Dirs_V += $(GAMMADIR)/src/share/vm/adlc |
51 VPATH += $(Src_Dirs_V:%=%:) |
49 VPATH += $(Src_Dirs_V:%=%:) |
52 |
50 |
53 # set INCLUDES for C preprocessor |
51 # set INCLUDES for C preprocessor |
54 Src_Dirs_I = ${Src_Dirs} $(GENERATED) |
52 Src_Dirs_I += $(GAMMADIR)/src/share/vm/adlc $(GENERATED) |
55 INCLUDES += $(Src_Dirs_I:%=-I%) |
53 INCLUDES += $(Src_Dirs_I:%=-I%) |
56 |
54 |
57 # set flags for adlc compilation |
55 # set flags for adlc compilation |
58 CPPFLAGS = $(SYSDEFS) $(INCLUDES) |
56 CPPFLAGS = $(SYSDEFS) $(INCLUDES) |
59 |
57 |