51 $(TOPDIR)/src/$(strip $1)/share/native/lib$(strip $2))) 52 53 ################################################################################ 54 # Find a library 55 # Param 1 - module name 56 # Param 2 - library name 57 # Param 3 - subdir for library 58 FindLib = \ 59 $(call FindLibDirForModule, \ 60 $(strip $1))$(strip $3)/$(LIBRARY_PREFIX)$(strip $2)$(SHARED_LIBRARY_SUFFIX) 61 62 63 ################################################################################ 64 # Define the header include flags needed to compile against it. 65 LIBJAVA_HEADER_FLAGS := $(addprefix -I, $(call FindSrcDirsForLib, java.base, java)) 66 67 # Put the libraries here. 68 INSTALL_LIBRARIES_HERE := $(call FindLibDirForModule, $(MODULE)) 69 70 ################################################################################ 71 72 # Define it here since there are multiple uses. 73 ifeq ($(USE_EXTERNAL_LIBZ), true) 74 LIBZ := -lz 75 else 76 ZLIB_CPPFLAGS := -I$(TOPDIR)/src/java.base/share/native/libzip/zlib 77 endif 78 79 ############################################################################### | 51 $(TOPDIR)/src/$(strip $1)/share/native/lib$(strip $2))) 52 53 ################################################################################ 54 # Find a library 55 # Param 1 - module name 56 # Param 2 - library name 57 # Param 3 - subdir for library 58 FindLib = \ 59 $(call FindLibDirForModule, \ 60 $(strip $1))$(strip $3)/$(LIBRARY_PREFIX)$(strip $2)$(SHARED_LIBRARY_SUFFIX) 61 62 63 ################################################################################ 64 # Define the header include flags needed to compile against it. 65 LIBJAVA_HEADER_FLAGS := $(addprefix -I, $(call FindSrcDirsForLib, java.base, java)) 66 67 # Put the libraries here. 68 INSTALL_LIBRARIES_HERE := $(call FindLibDirForModule, $(MODULE)) 69 70 ################################################################################ |