1 # |
1 # |
2 # Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. |
2 # Copyright (c) 2011, 2015, 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. Oracle designates this |
7 # published by the Free Software Foundation. Oracle designates this |
37 $(eval $(call SetupNativeCompilation,BUILD_LIBATTACH, \ |
37 $(eval $(call SetupNativeCompilation,BUILD_LIBATTACH, \ |
38 LIBRARY := attach, \ |
38 LIBRARY := attach, \ |
39 OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \ |
39 OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \ |
40 SRC := $(call FindSrcDirsForLib, jdk.attach, attach), \ |
40 SRC := $(call FindSrcDirsForLib, jdk.attach, attach), \ |
41 OPTIMIZATION := LOW, \ |
41 OPTIMIZATION := LOW, \ |
42 CFLAGS := $(CFLAGS_JDKLIB) $(CFLAGS_WARNINGS_ARE_ERRORS) \ |
42 CFLAGS := $(CFLAGS_JDKLIB) \ |
43 -I$(SUPPORT_OUTPUTDIR)/headers/jdk.attach \ |
43 -I$(SUPPORT_OUTPUTDIR)/headers/jdk.attach \ |
44 $(LIBJAVA_HEADER_FLAGS) $(LIBATTACH_CFLAGS), \ |
44 $(LIBJAVA_HEADER_FLAGS) $(LIBATTACH_CFLAGS), \ |
45 CFLAGS_windows := /Gy, \ |
45 CFLAGS_windows := /Gy, \ |
46 MAPFILE := $(JDK_TOPDIR)/make/mapfiles/libattach/mapfile-$(OPENJDK_TARGET_OS), \ |
46 MAPFILE := $(JDK_TOPDIR)/make/mapfiles/libattach/mapfile-$(OPENJDK_TARGET_OS), \ |
47 VERSIONINFO_RESOURCE := $(GLOBAL_VERSION_INFO_RESOURCE), \ |
47 VERSIONINFO_RESOURCE := $(GLOBAL_VERSION_INFO_RESOURCE), \ |