equal
deleted
inserted
replaced
1 # |
1 # |
2 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
2 # Copyright (c) 2011, 2018, 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 |
32 # a binary that is compatible with windows versions older than 7/2008R2. |
32 # a binary that is compatible with windows versions older than 7/2008R2. |
33 # See MSDN documentation for GetProcessMemoryInfo for more information. |
33 # See MSDN documentation for GetProcessMemoryInfo for more information. |
34 LIBATTACH_CFLAGS := -DPSAPI_VERSION=1 |
34 LIBATTACH_CFLAGS := -DPSAPI_VERSION=1 |
35 endif |
35 endif |
36 |
36 |
37 $(eval $(call SetupNativeCompilation,BUILD_LIBATTACH, \ |
37 $(eval $(call SetupNativeCompilation, BUILD_LIBATTACH, \ |
38 LIBRARY := attach, \ |
38 NAME := 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) \ |
42 CFLAGS := $(CFLAGS_JDKLIB) \ |
43 -I$(SUPPORT_OUTPUTDIR)/headers/jdk.attach \ |
43 -I$(SUPPORT_OUTPUTDIR)/headers/jdk.attach \ |