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 |
40 -I $(TOPDIR)/src/java.base/share/native/libnio/ch \ |
40 -I $(TOPDIR)/src/java.base/share/native/libnio/ch \ |
41 $(addprefix -I, $(call FindSrcDirsForLib, java.base, net)) \ |
41 $(addprefix -I, $(call FindSrcDirsForLib, java.base, net)) \ |
42 $(LIBJAVA_HEADER_FLAGS) \ |
42 $(LIBJAVA_HEADER_FLAGS) \ |
43 -I$(SUPPORT_OUTPUTDIR)/headers/jdk.sctp \ |
43 -I$(SUPPORT_OUTPUTDIR)/headers/jdk.sctp \ |
44 -I$(SUPPORT_OUTPUTDIR)/headers/java.base, \ |
44 -I$(SUPPORT_OUTPUTDIR)/headers/java.base, \ |
45 MAPFILE := $(TOPDIR)/make/mapfiles/libsctp/mapfile-vers, \ |
|
46 LDFLAGS := $(LDFLAGS_JDKLIB) \ |
45 LDFLAGS := $(LDFLAGS_JDKLIB) \ |
47 $(call SET_SHARED_LIBRARY_ORIGIN), \ |
46 $(call SET_SHARED_LIBRARY_ORIGIN), \ |
48 LIBS_unix := -lnio -lnet -ljava -ljvm, \ |
47 LIBS_unix := -lnio -lnet -ljava -ljvm, \ |
49 LIBS_linux := -lpthread $(LIBDL), \ |
48 LIBS_linux := -lpthread $(LIBDL), \ |
50 LIBS_solaris := -lsocket -lc, \ |
49 LIBS_solaris := -lsocket -lc, \ |