< prev index next >

jdk/make/lib/Lib-jdk.sctp.gmk

Print this page

        

*** 1,7 **** # ! # Copyright (c) 2011, 2015, 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 --- 1,7 ---- # ! # 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,37 **** include LibCommon.gmk ################################################################################ ! ifeq ($(OPENJDK_TARGET_OS_TYPE), unix) ! ! ifeq (, $(filter $(OPENJDK_TARGET_OS), macosx aix)) # DISABLED_WARNINGS_gcc := unused-parameter needed to # suppress unused parameters required by exported JNI functions. $(eval $(call SetupNativeCompilation,BUILD_LIBSCTP, \ LIBRARY := sctp, \ --- 25,35 ---- include LibCommon.gmk ################################################################################ ! 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,64 **** 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 ################################################################################ --- 51,62 ---- 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 ################################################################################
< prev index next >