< prev index next >
jdk/make/lib/Lib-jdk.sctp.gmk
Print this page
@@ -1,7 +1,7 @@
#
-# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation. Oracle designates this
@@ -25,13 +25,11 @@
include LibCommon.gmk
################################################################################
-ifeq ($(OPENJDK_TARGET_OS_TYPE), unix)
-
- ifeq (, $(filter $(OPENJDK_TARGET_OS), macosx aix))
+ifneq ($(filter $(OPENJDK_TARGET_OS), linux solaris), )
# DISABLED_WARNINGS_gcc := unused-parameter needed to
# suppress unused parameters required by exported JNI functions.
$(eval $(call SetupNativeCompilation,BUILD_LIBSCTP, \
LIBRARY := sctp, \
@@ -53,12 +51,12 @@
LIBS_linux := -lpthread $(LIBDL), \
LIBS_solaris := -lsocket -lc, \
OBJECT_DIR := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/libsctp, \
))
+
TARGETS += $(BUILD_LIBSCTP)
$(BUILD_LIBSCTP): $(call FindLib, java.base, nio)
- endif
endif
################################################################################
< prev index next >