equal
deleted
inserted
replaced
1 # |
1 # |
2 # Copyright (c) 2011, 2017, 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 |
23 # questions. |
23 # questions. |
24 # |
24 # |
25 |
25 |
26 LIBNET_SRC_DIRS := $(call FindSrcDirsForLib, java.base, net) |
26 LIBNET_SRC_DIRS := $(call FindSrcDirsForLib, java.base, net) |
27 |
27 |
28 $(eval $(call SetupNativeCompilation,BUILD_LIBNET, \ |
28 $(eval $(call SetupNativeCompilation, BUILD_LIBNET, \ |
29 LIBRARY := net, \ |
29 NAME := net, \ |
30 OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \ |
30 OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \ |
31 SRC := $(LIBNET_SRC_DIRS), \ |
31 SRC := $(LIBNET_SRC_DIRS), \ |
32 OPTIMIZATION := LOW, \ |
32 OPTIMIZATION := LOW, \ |
33 CFLAGS := $(CFLAGS_JDKLIB) -I$(SUPPORT_OUTPUTDIR)/headers/java.base \ |
33 CFLAGS := $(CFLAGS_JDKLIB) -I$(SUPPORT_OUTPUTDIR)/headers/java.base \ |
34 $(LIBJAVA_HEADER_FLAGS) $(addprefix -I, $(LIBNET_SRC_DIRS)), \ |
34 $(LIBJAVA_HEADER_FLAGS) $(addprefix -I, $(LIBNET_SRC_DIRS)), \ |