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 |
28 ################################################################################ |
28 ################################################################################ |
29 |
29 |
30 ifeq ($(OPENJDK_TARGET_OS_TYPE), unix) |
30 ifeq ($(OPENJDK_TARGET_OS_TYPE), unix) |
31 |
31 |
32 ifeq (, $(filter $(OPENJDK_TARGET_OS), macosx aix)) |
32 ifeq (, $(filter $(OPENJDK_TARGET_OS), macosx aix)) |
33 $(eval $(call SetupNativeCompilation,BUILD_LIBSCTP, \ |
33 $(eval $(call SetupNativeCompilation, BUILD_LIBSCTP, \ |
34 LIBRARY := sctp, \ |
34 NAME := sctp, \ |
35 OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \ |
35 OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \ |
36 SRC := $(TOPDIR)/src/jdk.sctp/$(OPENJDK_TARGET_OS_TYPE)/native/libsctp, \ |
36 SRC := $(TOPDIR)/src/jdk.sctp/$(OPENJDK_TARGET_OS_TYPE)/native/libsctp, \ |
37 OPTIMIZATION := LOW, \ |
37 OPTIMIZATION := LOW, \ |
38 CFLAGS := $(CFLAGS_JDKLIB) \ |
38 CFLAGS := $(CFLAGS_JDKLIB) \ |
39 -I $(TOPDIR)/src/java.base/$(OPENJDK_TARGET_OS_TYPE)/native/libnio/ch \ |
39 -I $(TOPDIR)/src/java.base/$(OPENJDK_TARGET_OS_TYPE)/native/libnio/ch \ |