jdk/make/javax/crypto/Makefile
changeset 8583 15dea0fdc2ea
parent 7668 d4a77089c587
child 9035 1255eb81cc2f
equal deleted inserted replaced
8471:fd444c61e7ed 8583:15dea0fdc2ea
   106 #
   106 #
   107 # This makefile was written to support parallel target execution.
   107 # This makefile was written to support parallel target execution.
   108 #
   108 #
   109 
   109 
   110 BUILDDIR = ../..
   110 BUILDDIR = ../..
   111 MODULE  = base
       
   112 PACKAGE = javax.crypto
   111 PACKAGE = javax.crypto
   113 PRODUCT = sun
   112 PRODUCT = sun
   114 
   113 
   115 #
   114 #
   116 # The following is for when we need to do postprocessing
   115 # The following is for when we need to do postprocessing
   292 	    $(UNSIGNED_POLICY_BUILDDIR)/limited/US_export_policy.jar	\
   291 	    $(UNSIGNED_POLICY_BUILDDIR)/limited/US_export_policy.jar	\
   293 	    $(UNSIGNED_POLICY_BUILDDIR)/limited/local_policy.jar
   292 	    $(UNSIGNED_POLICY_BUILDDIR)/limited/local_policy.jar
   294 
   293 
   295 $(UNSIGNED_POLICY_BUILDDIR)/limited/US_export_policy.jar:		\
   294 $(UNSIGNED_POLICY_BUILDDIR)/limited/US_export_policy.jar:		\
   296 	    $(UNSIGNED_POLICY_BUILDDIR)/unlimited/US_export_policy.jar
   295 	    $(UNSIGNED_POLICY_BUILDDIR)/unlimited/US_export_policy.jar
   297 	$(install-non-module-file)
   296 	$(install-file)
   298 
   297 
   299 $(UNSIGNED_POLICY_BUILDDIR)/limited/local_policy.jar:			\
   298 $(UNSIGNED_POLICY_BUILDDIR)/limited/local_policy.jar:			\
   300 	    policy/limited/default_local.policy				\
   299 	    policy/limited/default_local.policy				\
   301 	    policy/limited/exempt_local.policy				\
   300 	    policy/limited/exempt_local.policy				\
   302 	    policy/limited/LIMITED
   301 	    policy/limited/LIMITED
   413 ifdef OPENJDK
   412 ifdef OPENJDK
   414 $(JAR_DESTFILE): $(UNSIGNED_DIR)/jce.jar
   413 $(JAR_DESTFILE): $(UNSIGNED_DIR)/jce.jar
   415 else
   414 else
   416 $(JAR_DESTFILE): $(SIGNED_DIR)/jce.jar
   415 $(JAR_DESTFILE): $(SIGNED_DIR)/jce.jar
   417 endif
   416 endif
   418 	$(install-non-module-file)
   417 	$(install-file)
   419 
   418 
   420 #
   419 #
   421 # Install the appropriate policy file, depending on the type of build.
   420 # Install the appropriate policy file, depending on the type of build.
   422 #
   421 #
   423 ifdef OPENJDK
   422 ifdef OPENJDK
   433 	$(RM) \
   432 	$(RM) \
   434 	    $(POLICY_DESTDIR)/US_export_policy.jar		\
   433 	    $(POLICY_DESTDIR)/US_export_policy.jar		\
   435 	    $(POLICY_DESTDIR)/local_policy.jar
   434 	    $(POLICY_DESTDIR)/local_policy.jar
   436 	$(CP) $^ $(POLICY_DESTDIR)
   435 	$(CP) $^ $(POLICY_DESTDIR)
   437 
   436 
   438 install-limited: install-limited-jars install-module-files
   437 install-limited: install-limited-jars
   439 ifndef OPENJDK
   438 ifndef OPENJDK
   440 	$(release-warning)
   439 	$(release-warning)
   441 endif
   440 endif
   442 
   441 
   443 install-unlimited-jars: \
   442 install-unlimited-jars: \
   447 	$(RM) \
   446 	$(RM) \
   448 	    $(POLICY_DESTDIR)/US_export_policy.jar		\
   447 	    $(POLICY_DESTDIR)/US_export_policy.jar		\
   449 	    $(POLICY_DESTDIR)/local_policy.jar
   448 	    $(POLICY_DESTDIR)/local_policy.jar
   450 	$(CP) $^ $(POLICY_DESTDIR)
   449 	$(CP) $^ $(POLICY_DESTDIR)
   451 
   450 
   452 install-unlimited: install-unlimited-jars install-module-files
   451 install-unlimited: install-unlimited-jars
   453 ifndef OPENJDK
   452 ifndef OPENJDK
   454 	$(release-warning)
   453 	$(release-warning)
   455 endif
   454 endif
   456 
   455 
   457 ifndef OPENJDK
   456 ifndef OPENJDK
   464 	$(CP) \
   463 	$(CP) \
   465 	    $(PREBUILT_DIR)/jce/US_export_policy.jar \
   464 	    $(PREBUILT_DIR)/jce/US_export_policy.jar \
   466 	    $(PREBUILT_DIR)/jce/local_policy.jar \
   465 	    $(PREBUILT_DIR)/jce/local_policy.jar \
   467 	    $(POLICY_DESTDIR)
   466 	    $(POLICY_DESTDIR)
   468 
   467 
   469 install-prebuilt: install-prebuilt-jars install-module-files
   468 install-prebuilt: install-prebuilt-jars
   470 endif
   469 endif
   471 
       
   472 install-module-files: \
       
   473 	   $(POLICY_DESTDIR)/US_export_policy.jar \
       
   474 	   $(POLICY_DESTDIR)/local_policy.jar
       
   475 
       
   476 $(POLICY_DESTDIR)/%.jar :
       
   477 	$(install-module-file)
       
   478 
   470 
   479 # =====================================================
   471 # =====================================================
   480 # Support routines.
   472 # Support routines.
   481 #
   473 #
   482 
   474