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 |
25 |
25 |
26 include LibCommon.gmk |
26 include LibCommon.gmk |
27 |
27 |
28 ################################################################################ |
28 ################################################################################ |
29 |
29 |
30 LIBJAAS_MAPFILE := |
|
31 ifeq ($(OPENJDK_TARGET_OS), solaris) |
|
32 # only on solaris...wonder why |
|
33 LIBJAAS_MAPFILE := $(TOPDIR)/make/mapfiles/libjaas/mapfile-vers |
|
34 endif |
|
35 |
|
36 LIBJAAS_NAME := jaas_unix |
30 LIBJAAS_NAME := jaas_unix |
37 ifeq ($(OPENJDK_TARGET_OS), windows) |
31 ifeq ($(OPENJDK_TARGET_OS), windows) |
38 LIBJAAS_NAME := jaas_nt |
32 LIBJAAS_NAME := jaas_nt |
39 endif |
33 endif |
40 |
34 |
42 LIBRARY := $(LIBJAAS_NAME), \ |
36 LIBRARY := $(LIBJAAS_NAME), \ |
43 OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \ |
37 OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \ |
44 SRC := $(call FindSrcDirsForLib, jdk.security.auth, jaas), \ |
38 SRC := $(call FindSrcDirsForLib, jdk.security.auth, jaas), \ |
45 OPTIMIZATION := LOW, \ |
39 OPTIMIZATION := LOW, \ |
46 CFLAGS := $(CFLAGS_JDKLIB) -I$(SUPPORT_OUTPUTDIR)/headers/jdk.security.auth, \ |
40 CFLAGS := $(CFLAGS_JDKLIB) -I$(SUPPORT_OUTPUTDIR)/headers/jdk.security.auth, \ |
47 MAPFILE := $(LIBJAAS_MAPFILE), \ |
|
48 LDFLAGS := $(LDFLAGS_JDKLIB) \ |
41 LDFLAGS := $(LDFLAGS_JDKLIB) \ |
49 $(call SET_SHARED_LIBRARY_ORIGIN), \ |
42 $(call SET_SHARED_LIBRARY_ORIGIN), \ |
50 LIBS_solaris := -lc, \ |
43 LIBS_solaris := -lc, \ |
51 LIBS_windows := netapi32.lib user32.lib mpr.lib advapi32.lib $(JDKLIB_LIBS), \ |
44 LIBS_windows := netapi32.lib user32.lib mpr.lib advapi32.lib $(JDKLIB_LIBS), \ |
52 VERSIONINFO_RESOURCE := $(GLOBAL_VERSION_INFO_RESOURCE), \ |
45 VERSIONINFO_RESOURCE := $(GLOBAL_VERSION_INFO_RESOURCE), \ |