1 # |
1 # |
2 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
2 # Copyright (c) 2011, 2016, 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 |
44 CFLAGS := $(CFLAGS_JDKLIB) -DUSE_MMAP \ |
44 CFLAGS := $(CFLAGS_JDKLIB) -DUSE_MMAP \ |
45 $(LIBDT_SOCKET_CPPFLAGS), \ |
45 $(LIBDT_SOCKET_CPPFLAGS), \ |
46 MAPFILE := $(JDK_TOPDIR)/make/mapfiles/libdt_socket/mapfile-vers, \ |
46 MAPFILE := $(JDK_TOPDIR)/make/mapfiles/libdt_socket/mapfile-vers, \ |
47 LDFLAGS := $(LDFLAGS_JDKLIB) \ |
47 LDFLAGS := $(LDFLAGS_JDKLIB) \ |
48 $(call SET_SHARED_LIBRARY_ORIGIN), \ |
48 $(call SET_SHARED_LIBRARY_ORIGIN), \ |
49 LDFLAGS_windows := -export:jdwpTransport_OnLoad, \ |
|
50 LIBS_linux := -lpthread, \ |
49 LIBS_linux := -lpthread, \ |
51 LIBS_solaris := -lnsl -lsocket -lc, \ |
50 LIBS_solaris := -lnsl -lsocket -lc, \ |
52 LIBS_windows := $(JDKLIB_LIBS) ws2_32.lib, \ |
51 LIBS_windows := $(JDKLIB_LIBS) ws2_32.lib, \ |
53 VERSIONINFO_RESOURCE := $(GLOBAL_VERSION_INFO_RESOURCE), \ |
52 VERSIONINFO_RESOURCE := $(GLOBAL_VERSION_INFO_RESOURCE), \ |
54 RC_FLAGS := $(RC_FLAGS) \ |
53 RC_FLAGS := $(RC_FLAGS) \ |