equal
deleted
inserted
replaced
1 # |
1 # |
2 # Copyright (c) 2011, 2016, 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 |
34 -I$(TOPDIR)/src/jdk.jdwp.agent/share/native/libjdwp/export \ |
34 -I$(TOPDIR)/src/jdk.jdwp.agent/share/native/libjdwp/export \ |
35 -I$(TOPDIR)/src/jdk.jdwp.agent/share/native/libjdwp \ |
35 -I$(TOPDIR)/src/jdk.jdwp.agent/share/native/libjdwp \ |
36 -I$(TOPDIR)/src/jdk.jdwp.agent/share/native/include \ |
36 -I$(TOPDIR)/src/jdk.jdwp.agent/share/native/include \ |
37 # |
37 # |
38 |
38 |
39 $(eval $(call SetupNativeCompilation,BUILD_LIBDT_SOCKET, \ |
39 $(eval $(call SetupNativeCompilation, BUILD_LIBDT_SOCKET, \ |
40 LIBRARY := dt_socket, \ |
40 NAME := dt_socket, \ |
41 OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \ |
41 OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \ |
42 SRC := $(LIBDT_SOCKET_SRC), \ |
42 SRC := $(LIBDT_SOCKET_SRC), \ |
43 OPTIMIZATION := LOW, \ |
43 OPTIMIZATION := LOW, \ |
44 CFLAGS := $(CFLAGS_JDKLIB) -DUSE_MMAP \ |
44 CFLAGS := $(CFLAGS_JDKLIB) -DUSE_MMAP \ |
45 $(LIBDT_SOCKET_CPPFLAGS), \ |
45 $(LIBDT_SOCKET_CPPFLAGS), \ |
71 -I$(TOPDIR)/src/jdk.jdwp.agent/share/native/libjdwp/export \ |
71 -I$(TOPDIR)/src/jdk.jdwp.agent/share/native/libjdwp/export \ |
72 -I$(TOPDIR)/src/jdk.jdwp.agent/share/native/include \ |
72 -I$(TOPDIR)/src/jdk.jdwp.agent/share/native/include \ |
73 $(addprefix -I, $(LIBJDWP_SRC)) |
73 $(addprefix -I, $(LIBJDWP_SRC)) |
74 |
74 |
75 # JDWP_LOGGING causes log messages to be compiled into the library. |
75 # JDWP_LOGGING causes log messages to be compiled into the library. |
76 $(eval $(call SetupNativeCompilation,BUILD_LIBJDWP, \ |
76 $(eval $(call SetupNativeCompilation, BUILD_LIBJDWP, \ |
77 LIBRARY := jdwp, \ |
77 NAME := jdwp, \ |
78 OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \ |
78 OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \ |
79 SRC := $(LIBJDWP_SRC), \ |
79 SRC := $(LIBJDWP_SRC), \ |
80 OPTIMIZATION := LOW, \ |
80 OPTIMIZATION := LOW, \ |
81 CFLAGS := $(CFLAGS_JDKLIB) -DJDWP_LOGGING \ |
81 CFLAGS := $(CFLAGS_JDKLIB) -DJDWP_LOGGING \ |
82 $(LIBJDWP_CPPFLAGS) \ |
82 $(LIBJDWP_CPPFLAGS) \ |