make/lib/Lib-java.security.jgss.gmk
changeset 55354 74f0622db875
parent 53683 48ff68e2fe5c
child 58665 30a5049a36bb
equal deleted inserted replaced
55353:946f7f2d321c 55354:74f0622db875
     1 #
     1 #
     2 # Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
     2 # Copyright (c) 2011, 2019, 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
    55             gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib \
    55             gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib \
    56             ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib, \
    56             ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib, \
    57     ))
    57     ))
    58 
    58 
    59     TARGETS += $(BUILD_LIBW2K_LSA_AUTH)
    59     TARGETS += $(BUILD_LIBW2K_LSA_AUTH)
       
    60 
       
    61     $(eval $(call SetupJdkLibrary, BUILD_LIBSSPI_BRIDGE, \
       
    62         NAME := sspi_bridge, \
       
    63         OPTIMIZATION := LOW, \
       
    64         CFLAGS := $(CFLAGS_JDKLIB) \
       
    65             -I$(TOPDIR)/src/java.security.jgss/share/native/libj2gss, \
       
    66         LDFLAGS := $(LDFLAGS_JDKLIB) \
       
    67             $(call SET_SHARED_LIBRARY_ORIGIN) \
       
    68     ))
       
    69 
       
    70     TARGETS += $(BUILD_LIBSSPI_BRIDGE)
    60   endif
    71   endif
    61 
    72 
    62   ifeq ($(call isTargetOs, macosx), true)
    73   ifeq ($(call isTargetOs, macosx), true)
    63     # libosxkrb5 needs to call deprecated krb5 APIs so that java
    74     # libosxkrb5 needs to call deprecated krb5 APIs so that java
    64     # can use the native credentials cache.
    75     # can use the native credentials cache.