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 |
36 LIBJAAS_NAME := jaas_unix |
36 LIBJAAS_NAME := jaas_unix |
37 ifeq ($(OPENJDK_TARGET_OS), windows) |
37 ifeq ($(OPENJDK_TARGET_OS), windows) |
38 LIBJAAS_NAME := jaas_nt |
38 LIBJAAS_NAME := jaas_nt |
39 endif |
39 endif |
40 |
40 |
41 $(eval $(call SetupNativeCompilation,BUILD_LIBJAAS, \ |
41 $(eval $(call SetupNativeCompilation, BUILD_LIBJAAS, \ |
42 LIBRARY := $(LIBJAAS_NAME), \ |
42 NAME := $(LIBJAAS_NAME), \ |
43 OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \ |
43 OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \ |
44 SRC := $(call FindSrcDirsForLib, jdk.security.auth, jaas), \ |
44 SRC := $(call FindSrcDirsForLib, jdk.security.auth, jaas), \ |
45 OPTIMIZATION := LOW, \ |
45 OPTIMIZATION := LOW, \ |
46 CFLAGS := $(CFLAGS_JDKLIB) -I$(SUPPORT_OUTPUTDIR)/headers/jdk.security.auth, \ |
46 CFLAGS := $(CFLAGS_JDKLIB) -I$(SUPPORT_OUTPUTDIR)/headers/jdk.security.auth, \ |
47 MAPFILE := $(LIBJAAS_MAPFILE), \ |
47 MAPFILE := $(LIBJAAS_MAPFILE), \ |