Lines Matching refs:jar
27 # Makefile for building sunpkcs11.jar and native libraries.
37 # jar files do not require signing, but those for JDK do. If an unsigned
38 # jar file is installed into JDK, things will break when the crypto
42 # the jar files built here are installed directly into the OpenJDK.
52 # be built, signed, and then the resulting jar files MUST BE CHECKED
63 # If OpenJDK, installs sunpkcs11.jar.
65 # sunpkcs11.jar.
67 # jar Builds/installs sunpkcs11.jar
73 # build-jar Builds sunpkcs11.jar
76 # install-jar Alias for "jar" above.
80 # sign Alias for sign-jar
81 # sign-jar Builds/signs sunpkcs11.jar (no install)
86 # install-prebuilt Installs the pre-built jar files
189 all: $(SUNPKCS11_CFG) build-jar install-jar
191 all: $(SUNPKCS11_CFG) build-jar install-prebuilt
204 # Build the unsigned sunpkcs11.jar file.
207 JAR_DESTFILE = $(EXTDIR)/sunpkcs11.jar
210 # The sunpkcs11.jar needs to be in the extension class directory,
217 # Since the -C option to jar is used below, each directory entry must be
222 build-jar: $(UNSIGNED_DIR)/sunpkcs11.jar
225 # Build sunpkcs11.jar.
227 $(UNSIGNED_DIR)/sunpkcs11.jar: build $(JCE_MANIFEST_FILE)
236 # Sign the provider jar file. Not needed for OpenJDK.
241 sign: sign-jar
243 sign-jar: $(SIGNED_DIR)/sunpkcs11.jar
246 $(SIGNED_DIR)/sunpkcs11.jar: $(UNSIGNED_DIR)/sunpkcs11.jar
252 $(SIGNED_DIR)/sunpkcs11.jar:
253 @if [ ! -r $(UNSIGNED_DIR)/sunpkcs11.jar ] ; then \
254 $(ECHO) "Couldn't find $(UNSIGNED_DIR)/sunpkcs11.jar"; \
258 $(call sign-file, $(UNSIGNED_DIR)/sunpkcs11.jar)
265 release: $(SIGNED_DIR)/sunpkcs11.jar
266 $(RM) $(JCE_BUILD_DIR)/release/sunpkcs11.jar
268 $(CP) $(SIGNED_DIR)/sunpkcs11.jar $(JCE_BUILD_DIR)/release
279 # Install sunpkcs11.jar, depending on which type is requested.
281 install-jar jar: $(JAR_DESTFILE)
287 $(JAR_DESTFILE): $(UNSIGNED_DIR)/sunpkcs11.jar
289 $(JAR_DESTFILE): $(SIGNED_DIR)/sunpkcs11.jar
297 $(CP) $(PREBUILT_DIR)/pkcs11/sunpkcs11.jar $(JAR_DESTFILE)
309 .PHONY: build-jar jar install-jar
311 .PHONY: sign sign-jar release install-prebuilt