7025631: Remove the modules build support from jdk 7
authormchung
Wed, 09 Mar 2011 23:11:07 -0800
changeset 8583 15dea0fdc2ea
parent 8471 fd444c61e7ed
child 8584 cf02844dfd62
7025631: Remove the modules build support from jdk 7 Reviewed-by: alanb, ohair
jdk/make/Makefile
jdk/make/com/sun/crypto/provider/Makefile
jdk/make/com/sun/java/pack/Makefile
jdk/make/com/sun/java/pack/prop/Makefile
jdk/make/com/sun/jndi/cosnaming/Makefile
jdk/make/com/sun/jndi/dns/Makefile
jdk/make/com/sun/jndi/ldap/Makefile
jdk/make/com/sun/jndi/rmi/registry/Makefile
jdk/make/com/sun/nio/sctp/Makefile
jdk/make/com/sun/org/apache/xml/Makefile
jdk/make/com/sun/rowset/Makefile
jdk/make/com/sun/script/Makefile
jdk/make/com/sun/security/auth/module/Makefile
jdk/make/com/sun/servicetag/Makefile
jdk/make/com/sun/tools/attach/Makefile
jdk/make/common/Defs.gmk
jdk/make/common/Demo.gmk
jdk/make/common/Library.gmk
jdk/make/common/Program.gmk
jdk/make/common/Release.gmk
jdk/make/common/Sanity.gmk
jdk/make/common/Subdirs.gmk
jdk/make/common/shared/Sanity.gmk
jdk/make/java/awt/Makefile
jdk/make/java/fdlibm/Makefile
jdk/make/java/instrument/Makefile
jdk/make/java/java/Makefile
jdk/make/java/java_crw_demo/Makefile
jdk/make/java/java_hprof_demo/Makefile
jdk/make/java/jli/Makefile
jdk/make/java/jvm/Makefile
jdk/make/java/logging/Makefile
jdk/make/java/main/java/Makefile
jdk/make/java/main/javaw/Makefile
jdk/make/java/management/Makefile
jdk/make/java/net/Makefile
jdk/make/java/nio/Makefile
jdk/make/java/npt/Makefile
jdk/make/java/redist/Makefile
jdk/make/java/redist/fonts/Makefile
jdk/make/java/redist/sajdi/Makefile
jdk/make/java/security/Makefile
jdk/make/java/sql/Makefile
jdk/make/java/text/base/Makefile
jdk/make/java/verify/Makefile
jdk/make/java/zip/Makefile
jdk/make/javax/crypto/Makefile
jdk/make/javax/imageio/Makefile
jdk/make/javax/print/Makefile
jdk/make/javax/sound/Makefile
jdk/make/javax/sound/jsoundalsa/Makefile
jdk/make/javax/sound/jsoundds/Makefile
jdk/make/javax/sql/Makefile
jdk/make/javax/swing/Makefile
jdk/make/javax/swing/plaf/Makefile
jdk/make/jpda/back/Makefile
jdk/make/jpda/transport/Makefile
jdk/make/jpda/transport/shmem/Makefile
jdk/make/jpda/transport/socket/Makefile
jdk/make/jpda/tty/Makefile
jdk/make/launchers/Makefile
jdk/make/mkdemo/jvmti/Makefile
jdk/make/mkdemo/management/Makefile
jdk/make/mksample/dtrace/Makefile
jdk/make/mksample/jmx/jmx-scandir/Makefile
jdk/make/mksample/nbproject/Makefile
jdk/make/mksample/nio/file/Makefile
jdk/make/mksample/nio/multicast/Makefile
jdk/make/mksample/nio/server/Makefile
jdk/make/mksample/scripting/scriptpad/Makefile
jdk/make/mksample/webservices/EbayClient/Makefile
jdk/make/mksample/webservices/EbayServer/Makefile
jdk/make/sun/applet/Makefile
jdk/make/sun/awt/Makefile
jdk/make/sun/cmm/Makefile
jdk/make/sun/cmm/kcms/Makefile
jdk/make/sun/cmm/lcms/Makefile
jdk/make/sun/dcpr/Makefile
jdk/make/sun/font/Makefile
jdk/make/sun/font/t2k/Makefile
jdk/make/sun/headless/Makefile
jdk/make/sun/image/generic/Makefile
jdk/make/sun/image/vis/Makefile
jdk/make/sun/jar/Makefile
jdk/make/sun/javazic/Makefile
jdk/make/sun/jawt/Makefile
jdk/make/sun/jconsole/Makefile
jdk/make/sun/jdbc/Makefile
jdk/make/sun/jdga/Makefile
jdk/make/sun/jpeg/Makefile
jdk/make/sun/launcher/Makefile
jdk/make/sun/management/Makefile
jdk/make/sun/native2ascii/Makefile
jdk/make/sun/net/others/Makefile
jdk/make/sun/net/spi/nameservice/dns/Makefile
jdk/make/sun/nio/cs/Makefile
jdk/make/sun/org/mozilla/javascript/Makefile
jdk/make/sun/pisces/Makefile
jdk/make/sun/rmi/cgi/Makefile
jdk/make/sun/rmi/oldtools/Makefile
jdk/make/sun/rmi/registry/Makefile
jdk/make/sun/rmi/rmi/Makefile
jdk/make/sun/rmi/rmic/Makefile
jdk/make/sun/rmi/rmid/Makefile
jdk/make/sun/security/ec/Makefile
jdk/make/sun/security/jgss/wrapper/Makefile
jdk/make/sun/security/krb5/Makefile
jdk/make/sun/security/mscapi/Makefile
jdk/make/sun/security/pkcs11/Makefile
jdk/make/sun/security/smartcardio/Makefile
jdk/make/sun/security/tools/Makefile
jdk/make/sun/serialver/Makefile
jdk/make/sun/splashscreen/Makefile
jdk/make/sun/text/Makefile
jdk/make/sun/tools/Makefile
jdk/make/sun/tracing/dtrace/Makefile
jdk/make/sun/xawt/Makefile
--- a/jdk/make/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -74,7 +74,6 @@
 import_product    -- copy in the product components \n\
 import_fastdebug  -- copy in the fastdebug components \n\
 import_debug      -- copy in the debug components \n\
-modules           -- build the jdk and jre module images (experimental) \n\
 create_links      -- create softlinks in Solaris 32bit build to 64bit dirs \n\
 "
 
@@ -261,7 +260,6 @@
 # Release engineering targets.
 #
 include $(BUILDDIR)/common/Release.gmk
-include $(BUILDDIR)/common/Modules.gmk
 
 #
 # Cscope targets.
--- a/jdk/make/com/sun/crypto/provider/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/com/sun/crypto/provider/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -249,7 +249,7 @@
 else
 $(JAR_DESTFILE): $(SIGNED_DIR)/sunjce_provider.jar
 endif
-	$(install-non-module-file)
+	$(install-file)
 
 ifndef OPENJDK
 install-prebuilt:
--- a/jdk/make/com/sun/java/pack/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/com/sun/java/pack/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -28,7 +28,6 @@
 #
 
 BUILDDIR = ../../../..
-MODULE  = pack200
 PACKAGE = com.sun.java.util.jar.pack
 LIBRARY = unpack
 PRODUCT = sun
@@ -156,7 +155,6 @@
 endif
 	$(CP) $(TEMPDIR)/unpack200$(EXE_SUFFIX) $(UNPACK_EXE)
 	@$(call binary_file_verification,$@)
-	$(install-module-file)
 
 ifeq ($(PLATFORM), windows) 
 $(RES):: $(VERSIONINFO_RESOURCE)
--- a/jdk/make/com/sun/java/pack/prop/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/com/sun/java/pack/prop/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -29,7 +29,6 @@
 # to a collision of rules with Classes.gmk and Library.gmk
 
 BUILDDIR = ../../../../..
-MODULE  = pack200
 PACKAGE = com.sun.java.util.jar.pack
 PRODUCT = sun
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/com/sun/jndi/cosnaming/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/com/sun/jndi/cosnaming/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -28,7 +28,6 @@
 #
 
 BUILDDIR = ../../../..
-MODULE  = jndi-cosnaming
 PACKAGE = com.sun.jndi.cosnaming
 PRODUCT = sun
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/com/sun/jndi/dns/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/com/sun/jndi/dns/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -28,7 +28,6 @@
 #
 
 BUILDDIR = ../../../..
-MODULE  = jndi-dns
 PACKAGE = com.sun.jndi.dns
 PRODUCT = sun
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/com/sun/jndi/ldap/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/com/sun/jndi/ldap/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -28,7 +28,6 @@
 #
 
 BUILDDIR = ../../../..
-MODULE  = jndi-ldap
 PACKAGE = com.sun.jndi.ldap
 PRODUCT = sun
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/com/sun/jndi/rmi/registry/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/com/sun/jndi/rmi/registry/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -28,7 +28,6 @@
 #
 
 BUILDDIR = ../../../../..
-MODULE  = jndi-rmiregistry
 PACKAGE = com.sun.jndi.rmi.registry
 PRODUCT = sun
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/com/sun/nio/sctp/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/com/sun/nio/sctp/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -28,7 +28,6 @@
 #
 
 BUILDDIR = ../../../..
-MODULE  = sctp
 PACKAGE = com.sun.nio.sctp
 LIBRARY = sctp
 PRODUCT = sun
--- a/jdk/make/com/sun/org/apache/xml/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/com/sun/org/apache/xml/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -28,7 +28,6 @@
 #
 
 BUILDDIR = ../../../../..
-MODULE  = security-xmldsig
 PACKAGE = com.sun.org.apache.xml
 PRODUCT = xml
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/com/sun/rowset/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/com/sun/rowset/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -28,7 +28,6 @@
 #
 
 BUILDDIR = ../../..
-MODULE  = jdbc-enterprise
 PACKAGE = com.sun.rowset
 PRODUCT = sun
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/com/sun/script/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/com/sun/script/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -25,7 +25,6 @@
 
 
 BUILDDIR = ../../..
-MODULE  = scripting-rhino
 PACKAGE = com.sun.script
 PRODUCT = sun
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/com/sun/security/auth/module/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/com/sun/security/auth/module/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -26,7 +26,6 @@
 # Makefile for building auth modules.
 
 BUILDDIR = ../../../../..
-MODULE  = security-auth
 PACKAGE = com.sun.security.auth.module
 PRODUCT = sun
 
--- a/jdk/make/com/sun/servicetag/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/com/sun/servicetag/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -22,7 +22,6 @@
 # questions.
 
 BUILDDIR = ../../..
-MODULE  = servicetag
 PACKAGE = com.sun.servicetag
 PRODUCT = sun
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/com/sun/tools/attach/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/com/sun/tools/attach/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -25,7 +25,6 @@
 
 
 BUILDDIR = ../../../..
-MODULE  = attach
 PACKAGE = com.sun.tools.attach
 LIBRARY = attach
 PRODUCT = sun
@@ -66,8 +65,7 @@
 	@$(MKDIR) -p $(@D)
 	@$(RM) $@
 	@$(CAT) $< | $(SED) -e "s/^#\[$(PLATFORM)\]//" > $@
-	@$(install-module-file)
-                                                                                                
+
 .PHONY: copy-files
 
 
--- a/jdk/make/common/Defs.gmk	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/common/Defs.gmk	Wed Mar 09 23:11:07 2011 -0800
@@ -224,9 +224,6 @@
 # for generated class files
 CLASSBINDIR         = $(OUTPUTDIR)/classes
 DEMOCLASSDIR        = $(OUTPUTDIR)/democlasses
-# for modules
-MODULES_DIR         = $(OUTPUTDIR)/modules
-ABS_MODULES_DIR     = $(ABS_OUTPUTDIR)/modules
 # for generated tool class files
 BUILDTOOLCLASSDIR   = $(OUTPUTDIR)/btclasses
 # for build tool jar files
@@ -297,22 +294,6 @@
   endif
 endif
 
-#
-# Build units may or may not define MODULE.  Default to "other".
-#
-# MODULE variable defines the lowest-level module name that
-# might or might not be the name of the modules created in
-# the modules build (see make/modules/modules.config and
-# modules.group).
-#
-MODULES_TEMPDIR     = $(OUTPUTDIR)/tmp/modules
-ABS_MODULES_TEMPDIR = $(ABS_OUTPUTDIR)/tmp/modules
-
-ifndef MODULE
-  MODULE = other
-endif
-override MODULE_DEST_DIR = $(MODULES_TEMPDIR)/$(MODULE)
-
 # the use of += above makes a space separated list which we need to 
 # remove for filespecs.
 #
@@ -422,52 +403,13 @@
 #
 include $(JDK_MAKE_SHARED_DIR)/Defs-java.gmk
 
-#
-# Macros to find the module that $@ belongs to
-#
-
 UNIQUE_PATH_PATTERN = $(subst /,.,$(UNIQUE_PATH))
-MODULE_PATH_PATTERN = -e 's%.*\/classes\/%classes\/%' \
-		      -e 's%.*\/$(UNIQUE_PATH_PATTERN)\/%classes\/%' \
-		      -e 's%.*\/lib\/%lib\/%' \
-	              -e 's%.*\/bin\/%bin\/%' \
-	              -e 's%.*\/include\/%include\/%' \
-		      -e 's%.*\/demo\/%demo\/%' \
-		      -e 's%.*\/sample\/%sample\/%'
-
-# Install a file to its module
-define install-module-file
-dest=`echo $(@D)/ | $(SED) $(MODULE_PATH_PATTERN)` ; \
-$(MKDIR) -p $(MODULE_DEST_DIR)/$$dest; \
-$(CP) -f $@ $(MODULE_DEST_DIR)/$$dest
-endef
-
-# Install all files from the directory to its module
-define install-module-dir
-dest=`echo $(@D)/ | $(SED) $(MODULE_PATH_PATTERN)` ; \
-$(MKDIR) -p $(MODULE_DEST_DIR)/$$dest; \
-$(CP) -rf $(@D)/* $(MODULE_DEST_DIR)/$$dest
-endef
-
-# chmod the file in its module
-define chmod-module-file
-dest=`echo $@ | $(SED) $(MODULE_PATH_PATTERN)` ; \
-$(CHMOD) $1 $(MODULE_DEST_DIR)/$$dest
-endef
-
-# install a sym link in its module
-define install-module-sym-link
-dest=`echo $@ | $(SED) $(MODULE_PATH_PATTERN)` ; \
-$(LN) -sf $1 $(MODULE_DEST_DIR)/$$dest
-endef
-
 
 # Run MAKE $@ for a launcher:
 #   $(call make-launcher, name, mainclass, java-args, main-args)
 define make-launcher
 $(CD) $(BUILDDIR)/launchers && \
 $(MAKE) -f Makefile.launcher \
-        MODULE=$(MODULE) \
         PROGRAM=$(strip $1) \
         MAIN_CLASS=$(strip $2) \
         MAIN_JAVA_ARGS="$(strip $3)" \
@@ -488,28 +430,18 @@
 define install-file
 $(prep-target)
 $(CP) $< $@
-@$(install-module-file)
 endef
 
 define chmod-file
 $(CHMOD) $1 $@
-@$(call chmod-module-file, $1)
 endef
 
 define install-sym-link
 $(LN) -s $1 $@
-@$(call install-module-sym-link, $1)
-endef
-
-#
-# Marcos for files not belonging to any module 
-define install-non-module-file
-$(prep-target)
-$(CP) $< $@
 endef
 
 define install-manifest-file
-$(install-non-module-file)
+$(install-file)
 endef
 
 # Cleanup rule for after debug java run (hotspot.log file is left around)
@@ -577,7 +509,6 @@
 
 define install-import-file
 $(install-importonly-file)
-@$(install-module-file)
 endef
 
 .PHONY: all build clean clobber
--- a/jdk/make/common/Demo.gmk	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/common/Demo.gmk	Wed Mar 09 23:11:07 2011 -0800
@@ -25,8 +25,6 @@
 
 # JDK Demo building jar file.
   
-MODULE = demos
-
 # Some names are defined with LIBRARY inside the Defs.gmk file
 LIBRARY=$(DEMONAME)
 OBJDIR=$(TEMPDIR)/$(DEMONAME)
--- a/jdk/make/common/Library.gmk	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/common/Library.gmk	Wed Mar 09 23:11:07 2011 -0800
@@ -168,18 +168,9 @@
 	  $(OTHER_LCF) $(JAVALIB) $(LDLIBS)
 	$(CP) $(OBJDIR)/$(@F) $@
 	@$(call binary_file_verification,$@)
-	$(install-module-file)
 	$(CP) $(OBJDIR)/$(LIBRARY).map $(@D)
 	$(CP) $(OBJDIR)/$(LIBRARY).pdb $(@D)
 
-$(ACTUAL_LIBRARY):: $(ACTUAL_LIBRARY_DIR)/$(LIBRARY).map $(ACTUAL_LIBRARY_DIR)/$(LIBRARY).pdb
-
-$(ACTUAL_LIBRARY_DIR)/%.map: FORCE
-	$(install-module-file)
-
-$(ACTUAL_LIBRARY_DIR)/%.pdb: FORCE
-	$(install-module-file)
-
 endif # LIBRARY
 
 $(OBJDIR)/$(LIBRARY).lcf: $(OBJDIR)/$(LIBRARY).res $(COMPILE_FILES_o) $(FILES_m)
@@ -235,7 +226,6 @@
 else # LIBRARY
 	$(LINKER) $(SHARED_LIBRARY_FLAG) -o $@ $(FILES_o) $(LDLIBS)
 	@$(call binary_file_verification,$@)
-	$(install-module-file)
 ifeq ($(WRITE_LIBVERSION),true)
 	$(MCS) -d -a "$(FULL_VERSION)" $@
 endif # WRITE_LIBVERSION
--- a/jdk/make/common/Program.gmk	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/common/Program.gmk	Wed Mar 09 23:11:07 2011 -0800
@@ -186,7 +186,6 @@
 	$(LINK_PRE_CMD) $(CC) $(CC_OBJECT_OUTPUT_FLAG)$@ $(LDFLAGS) \
 	    $(FILES_o) $(THREADLIBS) $(LDLIBS)
 	@$(call binary_file_verification,$@)
-	$(install-module-file)
 
 endif # PLATFORM
 
--- a/jdk/make/common/Release.gmk	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/common/Release.gmk	Wed Mar 09 23:11:07 2011 -0800
@@ -60,7 +60,7 @@
 #
 # Include the exported private packages in ct.sym.
 # This is an interim solution until the ct.sym is replaced
-# with a new module system (being discussed for JDK 7).
+# with a new module system (being discussed for JDK 8).
 #
 EXPORTED_PRIVATE_PKGS = com.sun.servicetag
 
--- a/jdk/make/common/Sanity.gmk	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/common/Sanity.gmk	Wed Mar 09 23:11:07 2011 -0800
@@ -71,8 +71,7 @@
     sane-cacerts \
     sane-ant_version \
     sane-zip_version \
-    sane-msvcrt_path \
-    sane-build_modules
+    sane-msvcrt_path
 
 # The rules sanity-* have a one-to-one correspondence with the major targets
 # Each sanity-* rule should have no body to ensure that the post-sanity-* is the
--- a/jdk/make/common/Subdirs.gmk	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/common/Subdirs.gmk	Wed Mar 09 23:11:07 2011 -0800
@@ -40,9 +40,6 @@
 #
 # By default, subdirs specified in the SUBDIRS and all SUBDIRS_* 
 # variables will be built.
-# 
-# BUILD_MODULES variable can be used to specify one or more groups
-# to be built (BUILD_MODULES=all will build all groups).
 #
 # Variables of the currently supported groups are:
 #  SUBDIRS_desktop    
@@ -53,15 +50,12 @@
 # 
 # Change to the above list also need to update 
 # make/common/shared/Sanity.gmk.  NOTE: this list is subject
-# to change till the JDK 7 SE profiles/modules are finalized.
+# to change.
 # 
 # Eventually we want to restructure the make directory
 # according to these grouping (e.g. make/desktop/...) and
 # the SUBDIRS_<group> variables would not be needed.
 # 
-# To build the desktop and tools groups only, you can do:
-# gnumake BUILD_MODULES="desktop tools" ...
-# 
 
 # Iterate the subdirectories specified in $1.
 # - cd into each subdir and make them
@@ -96,77 +90,51 @@
 
 #
 # Iterate the list specified in SUBDIRS_<group> only if
-# SUBDIRS_<group> is set and <group> or "all" is specified
-# in the BUILD_MODULES variable
+# SUBDIRS_<group> is set.
 #
 ifdef SUBDIRS_desktop 
-  ifneq (,$(findstring desktop, $(BUILD_MODULES)))
-      define subdirs-desktop-loop
-         @$(call subdirs-group-loop,SUBDIRS_desktop)
-      endef
-  else
-    define subdirs-desktop-loop
-    endef
-  endif
+  define subdirs-desktop-loop
+      @$(call subdirs-group-loop,SUBDIRS_desktop)
+  endef
 else   
   define subdirs-desktop-loop
   endef
 endif   # SUBDIRS_desktop 
 
 ifdef SUBDIRS_enterprise 
-  ifneq (,$(findstring enterprise, $(BUILD_MODULES)))
-      define subdirs-enterprise-loop
-         @$(call subdirs-group-loop,SUBDIRS_enterprise)
-      endef
-  else
-    define subdirs-enterprise-loop
-    endef
-  endif
+  define subdirs-enterprise-loop
+      @$(call subdirs-group-loop,SUBDIRS_enterprise)
+  endef
 else   
 define subdirs-enterprise-loop
 endef
 endif   # SUBDIRS_enterprise 
 
 ifdef SUBDIRS_management 
-  ifneq (,$(findstring management, $(BUILD_MODULES)))
-      define subdirs-management-loop
-         @$(call subdirs-group-loop,SUBDIRS_management)
-      endef
-  else
-    define subdirs-management-loop
-    endef
-  endif
+  define subdirs-management-loop
+      @$(call subdirs-group-loop,SUBDIRS_management)
+  endef
 else   
-define subdirs-management-loop
-endef
+  define subdirs-management-loop
+  endef
 endif   # SUBDIRS_management 
 
 ifdef SUBDIRS_misc 
-  ifneq (,$(findstring misc, $(BUILD_MODULES)))
-      define subdirs-misc-loop
-         @$(call subdirs-group-loop,SUBDIRS_misc)
-      endef
-  else
-    define subdirs-misc-loop
-    endef
-  endif
+  define subdirs-misc-loop
+      @$(call subdirs-group-loop,SUBDIRS_misc)
+  endef
 else   
-define subdirs-misc-loop
-endef
+  define subdirs-misc-loop
+  endef
 endif   # SUBDIRS_misc 
 
 ifdef SUBDIRS_tools 
-  ifneq (,$(findstring tools, $(BUILD_MODULES)))
-      define subdirs-tools-loop
-         @$(call subdirs-group-loop,SUBDIRS_tools)
-      endef
-  else
-    define subdirs-tools-loop
-    endef
-  endif
+  define subdirs-tools-loop
+      @$(call subdirs-group-loop,SUBDIRS_tools)
+  endef
 else   
-define subdirs-tools-loop
-endef
+  define subdirs-tools-loop
+  endef
 endif   # SUBDIRS_tools 
 
 #
@@ -175,30 +143,6 @@
 SUBDIRS_all = $(SUBDIRS) $(SUBDIRS_desktop) $(SUBDIRS_enterprise) \
 	      $(SUBDIRS_management) $(SUBDIRS_misc) $(SUBDIRS_tools)
 
-ifndef BUILD_MODULES
-define SUBDIRS-loop
-  @$(call subdirs-group-loop,SUBDIRS_all)
-endef
-
-else
-
-ifneq (,$(findstring all, $(BUILD_MODULES)))
 define SUBDIRS-loop
   @$(call subdirs-group-loop,SUBDIRS_all)
 endef
-
-else # BUILD_MODULES set 
-#
-# Iterate SUBDIRS and the groups specified in BUILD_MODULES
-#
-define SUBDIRS-loop
-  @$(call subdirs-group-loop,SUBDIRS)
-  @$(subdirs-desktop-loop)
-  @$(subdirs-enterprise-loop)
-  @$(subdirs-management-loop)
-  @$(subdirs-misc-loop)
-  @$(subdirs-tools-loop)
-endef
-
-endif
-endif # BUILD_MODULES
--- a/jdk/make/common/shared/Sanity.gmk	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/common/shared/Sanity.gmk	Wed Mar 09 23:11:07 2011 -0800
@@ -221,8 +221,7 @@
 	sane-zip_version \
 	sane-unzip_version \
  	sane-msvcrt_path \
-        sane-freetype \
-        sane-build_modules
+        sane-freetype
 
 ######################################################
 # check for COPYRIGHT_YEAR variable
@@ -832,21 +831,6 @@
 endif
 
 ######################################################
-# if specified, BUILD_MODULES must contain valid values.
-######################################################
-MODULES_REGEX="all|base|desktop|management|enterprise|misc|tools"
-sane-build_modules:
-ifdef BUILD_MODULES
-	@for m in $(BUILD_MODULES) ; do \
-            valid=`$(ECHO) $$m | $(EGREP) $(MODULES_REGEX)`; \
-            if [ "x$$valid" = "x" ] ; then \
-                $(ECHO) "ERROR: $$m set in the BUILD_MODULES variable is invalid.\n" \
-                "" >> $(ERROR_FILE); \
-            fi \
-	done
-endif
-
-######################################################
 # CUPS_HEADERS_PATH must be valid
 ######################################################
 sane-cups:
@@ -1126,7 +1110,7 @@
 #    be checked when this represents a full control build (i.e. the
 #    HOTSPOT_IMPORT_PATH includes these files in it's 'include' directory).
 $(TEMPDIR)/%.h: $(SHARE_SRC)/javavm/export/%.h
-	@$(install-non-module-file)
+	@$(install-file)
 	@$(RM) $@.IMPORT
 	@if [ -r $(HOTSPOT_IMPORT_PATH)/include/$(@F) ]; then \
 	  $(CP) $(HOTSPOT_IMPORT_PATH)/include/$(@F) $@.IMPORT ; \
@@ -1140,7 +1124,7 @@
 	fi
 
 $(TEMPDIR)/%.h: $(PLATFORM_SRC)/javavm/export/%.h
-	@$(install-non-module-file)
+	@$(install-file)
 	@$(RM) $@.IMPORT
 	@if [ -r $(HOTSPOT_IMPORT_PATH)/include/$(PLATFORM_INCLUDE_NAME)/$(@F) ]; then \
 	  $(CP) $(HOTSPOT_IMPORT_PATH)/include/$(PLATFORM_INCLUDE_NAME)/$(@F) $@.IMPORT ; \
--- a/jdk/make/java/awt/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/java/awt/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -24,7 +24,6 @@
 #
 
 BUILDDIR = ../..
-MODULE  = awt
 PACKAGE = java.awt
 PRODUCT = sun
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/java/fdlibm/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/java/fdlibm/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -31,7 +31,6 @@
 #
 
 BUILDDIR     = ../..
-MODULE       = base
 LIBRARY      = fdlibm
 PRODUCT      = java
 
--- a/jdk/make/java/instrument/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/java/instrument/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -27,7 +27,6 @@
 # agent, supporting java.lang.instrument
 
 BUILDDIR = ../..
-MODULE  = instrument
 PACKAGE = sun.instrument
 LIBRARY = instrument
 PRODUCT = sun
--- a/jdk/make/java/java/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/java/java/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -29,7 +29,6 @@
 #
 
 BUILDDIR = ../..
-MODULE  = base
 PACKAGE = java.lang
 LIBRARY = java
 PRODUCT = java
@@ -244,7 +243,7 @@
 
 $(GENSRCDIR)/java/lang/UNIXProcess.java: \
     $(PLATFORM_SRC)/classes/java/lang/UNIXProcess.java.$(PLATFORM)
-	$(install-non-module-file)
+	$(install-file)
 
 clean:: 
 	$(RM) $(GENSRCDIR)/java/lang/UNIXProcess.java
@@ -318,7 +317,6 @@
 	$(BOOT_JAVA_CMD) -jar $(GENERATECURRENCYDATA_JARFILE) -o $@.temp \
 		< $(SHARE_SRC)/classes/java/util/CurrencyData.properties
 	$(MV) $@.temp $@
-	$(install-module-file)
 	$(call chmod-file, 444)
 
 clean:: 
@@ -373,7 +371,7 @@
 		-usecharforbyte 11 4 1
 
 $(GENSRCDIR)/java/lang/%.java : $(CHARACTERDATA)/%.java.template
-	$(install-non-module-file)
+	$(install-file)
 
 clean::
 	$(RM) $(GENSRCDIR)/java/lang/CharacterDataLatin1.java 
--- a/jdk/make/java/java_crw_demo/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/java/java_crw_demo/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -25,7 +25,6 @@
 
 BUILDDIR = ../..
 
-MODULE  = demos
 LIBRARY = java_crw_demo
 PRODUCT = sun
 LIBRARY_OUTPUT = java_crw_demo
--- a/jdk/make/java/java_hprof_demo/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/java/java_hprof_demo/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -24,7 +24,6 @@
 #
 
 BUILDDIR = ../..
-MODULE  = instrument
 LIBRARY = hprof
 PRODUCT = sun
 LIBRARY_OUTPUT = hprof_jvmti
--- a/jdk/make/java/jli/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/java/jli/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -30,7 +30,6 @@
 # its manifestations (java, javaw, javac, ...).
 #
 BUILDDIR = ../..
-MODULE  = base
 LIBRARY = jli
 PRODUCT = java
 
--- a/jdk/make/java/jvm/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/java/jvm/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -24,7 +24,6 @@
 #
 
 BUILDDIR = ../..
-MODULE   = base
 
 include $(BUILDDIR)/common/Defs.gmk
 
@@ -39,10 +38,10 @@
 	  $(INCLUDEDIR)/classfile_constants.h
 
 $(INCLUDEDIR)/%.h: $(SHARE_SRC)/javavm/export/%.h
-	$(install-non-module-file)
+	$(install-file)
 
 $(PLATFORM_INCLUDE)/%.h: $(PLATFORM_SRC)/javavm/export/%.h
-	$(install-non-module-file)
+	$(install-file)
 
 JVMCFG = $(LIBDIR)/$(LIBARCH)/jvm.cfg
 
--- a/jdk/make/java/logging/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/java/logging/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -24,7 +24,6 @@
 #
 
 BUILDDIR = ../..
-MODULE  = logging
 PACKAGE = java.util.logging
 PRODUCT = java
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/java/main/java/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/java/main/java/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -24,7 +24,6 @@
 #
 
 BUILDDIR = ../../..
-MODULE  = base
 PROGRAM = java
 PRODUCT = java
 
--- a/jdk/make/java/main/javaw/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/java/main/javaw/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -28,7 +28,6 @@
 #
 
 BUILDDIR = ../../..
-MODULE  = base
 PROGRAM = javaw
 PRODUCT = java
 
--- a/jdk/make/java/management/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/java/management/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -24,7 +24,6 @@
 #
 
 BUILDDIR = ../..
-MODULE  = management
 PACKAGE = java.lang.management
 LIBRARY = management
 PRODUCT = java
--- a/jdk/make/java/net/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/java/net/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -24,7 +24,6 @@
 #
 
 BUILDDIR = ../..
-MODULE  = base
 PACKAGE = java.net
 LIBRARY = net
 PRODUCT = sun
--- a/jdk/make/java/nio/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/java/nio/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -28,7 +28,6 @@
 #
 
 BUILDDIR = ../..
-MODULE  = nio
 PACKAGE = java.nio
 LIBRARY = nio
 PRODUCT = java
@@ -304,11 +303,7 @@
 # Rules
 #
 
-SUBDIRS_management = mxbean
-include $(BUILDDIR)/common/Subdirs.gmk
-
 build: sources
-	$(SUBDIRS-loop)
 
 clean clobber::
 	$(RM) -r $(NIO_GEN) $(SNIO_GEN)
@@ -821,7 +816,7 @@
 	$(NAWK) '/^.*Copyright.*Oracle/ { printf "%s %s",$$4,$$5 }') 
 
 $(TEMPDIR)/$(GENSOR_SRC) : $(GENSOR_SRC)
-	$(install-non-module-file)
+	$(install-file)
 
 $(GENSOR_EXE) : $(TEMPDIR)/$(GENSOR_SRC)
 	$(prep-target)
--- a/jdk/make/java/npt/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/java/npt/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -26,7 +26,6 @@
 BUILDDIR = ../..
 
 # It's currently used by jpda and hprof.  Put it in base module for now.
-MODULE  = base
 LIBRARY = npt
 PRODUCT = sun
 LIBRARY_OUTPUT = npt
--- a/jdk/make/java/redist/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/java/redist/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -35,7 +35,6 @@
 # 
 
 BUILDDIR = ../..
-MODULE   = base
 PRODUCT  = java
 include $(BUILDDIR)/common/Defs.gmk
 
@@ -122,32 +121,26 @@
 $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMMAP_NAME):
 	@$(prep-target)
 	-$(CP) $(HOTSPOT_CLIENT_PATH)/$(JVMMAP_NAME)  $@
-	@$(install-module-file)
 
 $(LIB_LOCATION)/$(KERNEL_LOCATION)/$(JVMMAP_NAME):
 	@$(prep-target)
 	-$(CP) $(HOTSPOT_KERNEL_PATH)/$(JVMMAP_NAME)  $@
-	@$(install-module-file)
 
 $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMMAP_NAME):
 	@$(prep-target)
 	-$(CP) $(HOTSPOT_SERVER_PATH)/$(JVMMAP_NAME) $@
-	@$(install-module-file)
 
 $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMPDB_NAME):
 	@$(prep-target)
 	-$(CP) $(HOTSPOT_CLIENT_PATH)/$(JVMPDB_NAME)  $@
-	@$(install-module-file)
 
 $(LIB_LOCATION)/$(KERNEL_LOCATION)/$(JVMPDB_NAME):
 	@$(prep-target)
 	-$(CP) $(HOTSPOT_KERNEL_PATH)/$(JVMPDB_NAME)  $@
-	@$(install-module-file)
 
 $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMPDB_NAME): 
 	@$(prep-target)
 	-$(CP) $(HOTSPOT_SERVER_PATH)/$(JVMPDB_NAME) $@
-	@$(install-module-file)
 
 #  Windows     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  Windows
 else # PLATFORM
@@ -291,7 +284,7 @@
 
 $(LIBDIR)/jce.jar: \
 	    $(BUILDDIR)/closed/tools/crypto/jce/jce.jar
-	$(install-non-module-file)
+	$(install-file)
 $(LIBDIR)/security/US_export_policy.jar: \
 	    $(BUILDDIR)/closed/tools/crypto/jce/US_export_policy.jar
 	$(install-file)
--- a/jdk/make/java/redist/fonts/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/java/redist/fonts/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -24,7 +24,6 @@
 #
 
 BUILDDIR = ../../..
-MODULE   = font
 PRODUCT  = java
 include $(BUILDDIR)/common/Defs.gmk
 
--- a/jdk/make/java/redist/sajdi/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/java/redist/sajdi/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -24,7 +24,6 @@
 #
 
 BUILDDIR = ../../..
-MODULE   = sajdi
 PRODUCT  = java
 include $(BUILDDIR)/common/Defs.gmk
 
--- a/jdk/make/java/security/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/java/security/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -24,7 +24,6 @@
 #
 
 BUILDDIR = ../..
-MODULE  = base
 PACKAGE = java.security
 PRODUCT = sun
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/java/sql/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/java/sql/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -28,7 +28,6 @@
 #
 
 BUILDDIR = ../..
-MODULE  = jdbc-base
 PACKAGE = java.sql
 PRODUCT = sun
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/java/text/base/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/java/text/base/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -24,7 +24,6 @@
 #
 
 BUILDDIR = ../../..
-MODULE  = base
 PACKAGE = java.text
 PRODUCT = sun
 
--- a/jdk/make/java/verify/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/java/verify/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -28,7 +28,6 @@
 #
 
 BUILDDIR = ../..
-MODULE  = base
 PRODUCT = java
 LIBRARY = verify
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/java/zip/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/java/zip/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -25,7 +25,6 @@
 
 
 BUILDDIR = ../..
-MODULE  = base
 PACKAGE = java.util.zip
 LIBRARY = zip
 PRODUCT = sun
--- a/jdk/make/javax/crypto/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/javax/crypto/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -108,7 +108,6 @@
 #
 
 BUILDDIR = ../..
-MODULE  = base
 PACKAGE = javax.crypto
 PRODUCT = sun
 
@@ -294,7 +293,7 @@
 
 $(UNSIGNED_POLICY_BUILDDIR)/limited/US_export_policy.jar:		\
 	    $(UNSIGNED_POLICY_BUILDDIR)/unlimited/US_export_policy.jar
-	$(install-non-module-file)
+	$(install-file)
 
 $(UNSIGNED_POLICY_BUILDDIR)/limited/local_policy.jar:			\
 	    policy/limited/default_local.policy				\
@@ -415,7 +414,7 @@
 else
 $(JAR_DESTFILE): $(SIGNED_DIR)/jce.jar
 endif
-	$(install-non-module-file)
+	$(install-file)
 
 #
 # Install the appropriate policy file, depending on the type of build.
@@ -435,7 +434,7 @@
 	    $(POLICY_DESTDIR)/local_policy.jar
 	$(CP) $^ $(POLICY_DESTDIR)
 
-install-limited: install-limited-jars install-module-files
+install-limited: install-limited-jars
 ifndef OPENJDK
 	$(release-warning)
 endif
@@ -449,7 +448,7 @@
 	    $(POLICY_DESTDIR)/local_policy.jar
 	$(CP) $^ $(POLICY_DESTDIR)
 
-install-unlimited: install-unlimited-jars install-module-files
+install-unlimited: install-unlimited-jars
 ifndef OPENJDK
 	$(release-warning)
 endif
@@ -466,16 +465,9 @@
 	    $(PREBUILT_DIR)/jce/local_policy.jar \
 	    $(POLICY_DESTDIR)
 
-install-prebuilt: install-prebuilt-jars install-module-files
+install-prebuilt: install-prebuilt-jars
 endif
 
-install-module-files: \
-	   $(POLICY_DESTDIR)/US_export_policy.jar \
-	   $(POLICY_DESTDIR)/local_policy.jar
-
-$(POLICY_DESTDIR)/%.jar :
-	$(install-module-file)
-
 # =====================================================
 # Support routines.
 #
--- a/jdk/make/javax/imageio/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/javax/imageio/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -28,7 +28,6 @@
 #
 
 BUILDDIR = ../..
-MODULE  = imageio
 PACKAGE = javax.imageio
 PRODUCT = jiio
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/javax/print/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/javax/print/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -28,7 +28,6 @@
 #
 
 BUILDDIR = ../..
-MODULE  = print
 PACKAGE = javax.print
 PRODUCT = sun
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/javax/sound/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/javax/sound/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -24,7 +24,6 @@
 #
 
 BUILDDIR = ../..
-MODULE  = sound
 PACKAGE = javax.sound
 LIBRARY = jsound
 PRODUCT = sun
--- a/jdk/make/javax/sound/jsoundalsa/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/javax/sound/jsoundalsa/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -24,7 +24,6 @@
 #
 
 BUILDDIR = ../../..
-MODULE  = sound
 PACKAGE = javax.sound
 LIBRARY = jsoundalsa
 PRODUCT = sun
--- a/jdk/make/javax/sound/jsoundds/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/javax/sound/jsoundds/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -24,7 +24,6 @@
 #
 
 BUILDDIR = ../../..
-MODULE  = sound
 PACKAGE = javax.sound
 LIBRARY = jsoundds
 PRODUCT = sun
--- a/jdk/make/javax/sql/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/javax/sql/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -28,7 +28,6 @@
 #
 
 BUILDDIR = ../..
-MODULE  = jdbc-enterprise
 PACKAGE = javax.sql
 PRODUCT = sun
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/javax/swing/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/javax/swing/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -24,7 +24,6 @@
 #
 
 BUILDDIR  = ../..
-MODULE    = swing
 PACKAGE   = javax.swing
 PRODUCT   = com
 SWING_SRC = $(SHARE_SRC)/classes/javax/swing
--- a/jdk/make/javax/swing/plaf/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/javax/swing/plaf/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -24,7 +24,6 @@
 #
 
 BUILDDIR  = ../../..
-MODULE    = swing
 PACKAGE   = javax.swing.plaf
 PRODUCT   = com
 SWING_SRC = $(SHARE_SRC)/classes/javax/swing
--- a/jdk/make/jpda/back/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/jpda/back/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -28,7 +28,6 @@
 #
 
 BUILDDIR = ../..
-MODULE  = debugging
 LIBRARY = jdwp
 PRODUCT = jpda
 
--- a/jdk/make/jpda/transport/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/jpda/transport/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -28,7 +28,6 @@
 #
 
 BUILDDIR = ../..
-MODULE  = debugging
 PRODUCT = jpda
 include $(BUILDDIR)/common/Defs.gmk
 
--- a/jdk/make/jpda/transport/shmem/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/jpda/transport/shmem/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -28,7 +28,6 @@
 #
 
 BUILDDIR = ../../..
-MODULE   = debugging
 LIBRARY  = dt_shmem
 PRODUCT = jbug
 
--- a/jdk/make/jpda/transport/socket/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/jpda/transport/socket/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -28,7 +28,6 @@
 #
 
 BUILDDIR = ../../..
-MODULE  = debugging
 LIBRARY = dt_socket
 PRODUCT = jbug
 
--- a/jdk/make/jpda/tty/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/jpda/tty/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -28,7 +28,6 @@
 #
 
 BUILDDIR = ../..
-MODULE  = jdb
 PACKAGE = com.sun.tools.example.debug.tty
 PRODUCT = jpda
 PROGRAM = jdb
--- a/jdk/make/launchers/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/launchers/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -28,7 +28,6 @@
 #
 
 BUILDDIR = ..
-MODULE  = tools
 PACKAGE = launchers
 PRODUCT = sun
 include $(BUILDDIR)/common/Defs.gmk
@@ -38,7 +37,6 @@
 define make-corba-launcher
 $(CD) $(BUILDDIR)/launchers && \
 $(MAKE) -f Makefile.launcher \
-        MODULE=corba \
         PROGRAM=$(strip $1) \
         MAIN_CLASS=$(strip $2) \
         MAIN_JAVA_ARGS="$(strip $3)" \
--- a/jdk/make/mkdemo/jvmti/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/mkdemo/jvmti/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -28,7 +28,6 @@
 #
 
 BUILDDIR = ../..
-MODULE  = demos
 PRODUCT = demos
 include $(BUILDDIR)/common/Defs.gmk
 
--- a/jdk/make/mkdemo/management/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/mkdemo/management/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -28,7 +28,6 @@
 #
 
 BUILDDIR = ../..
-MODULE  = demos
 PRODUCT = demos
 include $(BUILDDIR)/common/Defs.gmk
 
--- a/jdk/make/mksample/dtrace/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/mksample/dtrace/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -29,7 +29,6 @@
 
 BUILDDIR = ../..
 
-MODULE  = samples
 PRODUCT = java
 
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/mksample/jmx/jmx-scandir/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/mksample/jmx/jmx-scandir/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -29,7 +29,6 @@
 
 BUILDDIR = ../../..
 
-MODULE  = samples
 PRODUCT = java
 
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/mksample/nbproject/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/mksample/nbproject/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -29,7 +29,6 @@
 
 BUILDDIR = ../..
 
-MODULE  = samples
 PRODUCT = java
 
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/mksample/nio/file/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/mksample/nio/file/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -29,7 +29,6 @@
 
 BUILDDIR = ../../..
 
-MODULE  = samples
 PRODUCT = java
 
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/mksample/nio/multicast/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/mksample/nio/multicast/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -29,7 +29,6 @@
 
 BUILDDIR = ../../..
 
-MODULE  = samples
 PRODUCT = java
 
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/mksample/nio/server/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/mksample/nio/server/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -29,7 +29,6 @@
 
 BUILDDIR = ../../..
 
-MODULE  = samples
 PRODUCT = java
 
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/mksample/scripting/scriptpad/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/mksample/scripting/scriptpad/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -29,7 +29,6 @@
 
 BUILDDIR = ../../..
 
-MODULE  = samples
 PRODUCT = java
 
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/mksample/webservices/EbayClient/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/mksample/webservices/EbayClient/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -29,7 +29,6 @@
 
 BUILDDIR = ../../..
 
-MODULE  = samples
 PRODUCT = java
 
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/mksample/webservices/EbayServer/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/mksample/webservices/EbayServer/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -29,7 +29,6 @@
 
 BUILDDIR = ../../..
 
-MODULE  = samples
 PRODUCT = java
 
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/sun/applet/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/applet/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -28,7 +28,6 @@
 #
 
 BUILDDIR = ../..
-MODULE  = applet
 PACKAGE = sun.applet
 PRODUCT = sun
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/sun/awt/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/awt/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -24,7 +24,6 @@
 #
 
 BUILDDIR = ../..
-MODULE  = awt
 PACKAGE = sun.awt
 LIBRARY = awt
 PRODUCT = sun
@@ -405,7 +404,6 @@
     $(COMPILEFONTCONFIG_JARFILE)
 	$(prep-target)
 	$(BOOT_JAVA_CMD) -jar $(COMPILEFONTCONFIG_JARFILE) $(COMPILEFONTCONFIG_FLAGS) $< $@
-	$(install-module-file)
 	$(call chmod-file, 444)
 	@$(java-vm-cleanup)
 
--- a/jdk/make/sun/cmm/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/cmm/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -24,7 +24,6 @@
 #
 
 BUILDDIR = ../..
-MODULE   = java2d
 PRODUCT  = sun
 include $(BUILDDIR)/common/Defs.gmk
 
--- a/jdk/make/sun/cmm/kcms/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/cmm/kcms/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -24,7 +24,6 @@
 #
 
 BUILDDIR = ../../..
-MODULE  = java2d
 PACKAGE = sun.java2d.cmm.kcms
 LIBRARY = kcms
 PRODUCT = sun
--- a/jdk/make/sun/cmm/lcms/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/cmm/lcms/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -24,7 +24,6 @@
 #
 
 BUILDDIR = ../../..
-MODULE  = java2d
 PACKAGE = sun.java2d.cmm.lcms
 LIBRARY = lcms
 PRODUCT = sun
--- a/jdk/make/sun/dcpr/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/dcpr/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -24,7 +24,6 @@
 #
 
 BUILDDIR = ../..
-MODULE  = java2d
 PACKAGE = sun.dc
 LIBRARY = dcpr
 PRODUCT = sun
--- a/jdk/make/sun/font/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/font/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -28,7 +28,6 @@
 #
 
 BUILDDIR = ../..
-MODULE  = font
 PACKAGE = sun.font
 LIBRARY = fontmanager
 PRODUCT = sun
@@ -136,7 +135,6 @@
 
 $(FREETYPE_LIB):
 	$(CP) $(FREETYPE_LIB_PATH)/$(LIB_PREFIX)freetype.$(LIBRARY_SUFFIX) $@
-	$(install-module-file)
 endif
 
 #ifeq ($(PLATFORM), solaris)
--- a/jdk/make/sun/font/t2k/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/font/t2k/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -28,7 +28,6 @@
 #
 
 BUILDDIR = ../../..
-MODULE  = font
 PACKAGE = sun.font
 LIBRARY = t2k
 PRODUCT = sun
--- a/jdk/make/sun/headless/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/headless/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -30,7 +30,6 @@
 MOTIF_VERSION_STRING=none
 LIB_LOCATION = $(LIBDIR)/$(LIBARCH)/headless
 
-MODULE  = awt
 PACKAGE = sun.awt
 LIBRARY = mawt
 LIBRARY_OUTPUT = headless
--- a/jdk/make/sun/image/generic/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/image/generic/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -28,7 +28,6 @@
 #
 
 BUILDDIR = ../../..
-MODULE  = media
 PACKAGE = sun.awt.medialib
 LIBRARY = mlib_image
 PRODUCT = sun
--- a/jdk/make/sun/image/vis/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/image/vis/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -27,7 +27,6 @@
 # Makefile for building the VIS (solaris-only) version of medialib
 #
 BUILDDIR = ../../..
-MODULE  = media
 PACKAGE = sun.awt.medialib
 LIBRARY = mlib_image_v
 PRODUCT = sun
--- a/jdk/make/sun/jar/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/jar/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -28,7 +28,6 @@
 #
 
 BUILDDIR = ../..
-MODULE  = jar-tool
 PACKAGE = sun.tools
 PRODUCT = sun
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/sun/javazic/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/javazic/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -27,7 +27,6 @@
 
 
 BUILDDIR = ../..
-MODULE  = base
 PACKAGE = sun.javazic
 PRODUCT = sun
 include $(BUILDDIR)/common/Defs.gmk
@@ -70,7 +69,6 @@
 	$(RM) -r $(@D)
 	$(prep-target)
 	$(CP) -r $(WORKDIR)/* $(@D)
-	$(install-module-dir)
 
 clean clobber::
 	$(RM) -r $(TEMPDIR) $(INSTALLDIR)
--- a/jdk/make/sun/jawt/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/jawt/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -24,7 +24,6 @@
 #
 
 BUILDDIR = ../..
-MODULE  = awt
 PACKAGE = sun.awt
 LIBRARY = jawt
 PRODUCT = sun
--- a/jdk/make/sun/jconsole/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/jconsole/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -28,7 +28,6 @@
 #
 
 BUILDDIR = ../..
-MODULE  = jconsole
 PACKAGE = sun.tools.jconsole
 PRODUCT = sun
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/sun/jdbc/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/jdbc/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -33,7 +33,6 @@
 #
 
 BUILDDIR = ../..
-MODULE  = jdbc-odbc
 PACKAGE = sun.jdbc.odbc
 LIBRARY = JdbcOdbc
 PRODUCT = sun
--- a/jdk/make/sun/jdga/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/jdga/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -25,7 +25,6 @@
 
 
 BUILDDIR = ../..
-MODULE  = java2d
 PACKAGE = sun.jdga
 LIBRARY = sunwjdga
 PRODUCT = sun
--- a/jdk/make/sun/jpeg/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/jpeg/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -24,7 +24,6 @@
 #
 
 BUILDDIR = ../..
-MODULE  = java2d
 PACKAGE = sun.awt
 LIBRARY = jpeg
 PRODUCT = sun
--- a/jdk/make/sun/launcher/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/launcher/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -24,7 +24,6 @@
 #
 
 BUILDDIR = ../..
-MODULE  = base
 PACKAGE = sun.launcher
 PRODUCT = sun
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/sun/management/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/management/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -28,7 +28,6 @@
 #
 
 BUILDDIR = ../..
-MODULE   = management
 
 include $(BUILDDIR)/common/Defs.gmk
 
--- a/jdk/make/sun/native2ascii/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/native2ascii/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -28,7 +28,6 @@
 #
 
 BUILDDIR = ../..
-MODULE  = tools
 PACKAGE = sun.tools.native2ascii
 PRODUCT = sun
 OTHER_JAVACFLAGS += -Xlint:serial -Werror
--- a/jdk/make/sun/net/others/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/net/others/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -24,7 +24,6 @@
 #
 
 BUILDDIR = ../../..
-MODULE  = base
 PACKAGE = sun.net
 PRODUCT = sun
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/sun/net/spi/nameservice/dns/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/net/spi/nameservice/dns/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -30,7 +30,6 @@
 BUILDDIR = ../../../../..
 
 # dns should probably be its own module
-MODULE  = net-dns
 PACKAGE = sun.net.spi.nameservice.dns
 PRODUCT = sun
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/sun/nio/cs/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/nio/cs/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -30,7 +30,6 @@
 BUILDDIR = ../../..
 
 # charsets should be separated from nio module 
-MODULE  = charsets
 PACKAGE = sun.nio
 PRODUCT = sun
 
--- a/jdk/make/sun/org/mozilla/javascript/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/org/mozilla/javascript/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -28,7 +28,6 @@
 #
 
 BUILDDIR = ../../../..
-MODULE  = scripting-rhino
 PACKAGE = sun.org.mozilla.javascript.internal
 PRODUCT = sun
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/sun/pisces/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/pisces/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -24,7 +24,6 @@
 #
 
 BUILDDIR = ../..
-MODULE  = java2d
 PACKAGE = sun.pisces
 PRODUCT = sun
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/sun/rmi/cgi/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/rmi/cgi/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -29,7 +29,6 @@
 
 BUILDDIR = ../../..
 # java-rmi.cgi is a JDK tool
-MODULE  = tools
 PACKAGE = sun.rmi
 PRODUCT = sun
 PROGRAM = java-rmi
--- a/jdk/make/sun/rmi/oldtools/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/rmi/oldtools/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -28,7 +28,6 @@
 #
 
 BUILDDIR = ../../..
-MODULE   = oldjavac
 PRODUCT	 = oldjavac
 
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/sun/rmi/registry/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/rmi/registry/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -28,7 +28,6 @@
 #
 
 BUILDDIR = ../../..
-MODULE  = rmi
 PACKAGE = sun.rmi.registry
 PRODUCT = sun
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/sun/rmi/rmi/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/rmi/rmi/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -28,7 +28,6 @@
 #
 
 BUILDDIR = ../../..
-MODULE  = rmi
 PACKAGE = sun.rmi
 PRODUCT = sun
 LIBRARY = rmi
--- a/jdk/make/sun/rmi/rmic/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/rmi/rmic/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -28,7 +28,6 @@
 #
 
 BUILDDIR = ../../..
-MODULE  = rmic
 PACKAGE = sun.rmi.rmic
 PRODUCT = sun
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/sun/rmi/rmid/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/rmi/rmid/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -29,7 +29,6 @@
 #
 
 BUILDDIR = ../../..
-MODULE  = rmi-activation
 PACKAGE = sun.rmi.activation
 PRODUCT = sun
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/sun/security/ec/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/security/ec/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -89,7 +89,6 @@
 #
 
 BUILDDIR = ../../..
-MODULE  = security-sunec
 PACKAGE = sun.security.ec
 PRODUCT = sun
 
@@ -309,7 +308,7 @@
 else
 $(JAR_DESTFILE): $(SIGNED_DIR)/sunec.jar
 endif
-	$(install-non-module-file)
+	$(install-file)
 
 ifndef OPENJDK
 install-prebuilt:
--- a/jdk/make/sun/security/jgss/wrapper/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/security/jgss/wrapper/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -24,7 +24,6 @@
 #
 
 BUILDDIR = ../../../..
-MODULE  = security-kerberos
 PACKAGE = sun.security.jgss.wrapper
 PRODUCT = sun
 
--- a/jdk/make/sun/security/krb5/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/security/krb5/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -24,7 +24,6 @@
 #
 
 BUILDDIR = ../../..
-MODULE  = security-kerberos
 PACKAGE = sun.security.krb5
 PRODUCT = sun
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/sun/security/mscapi/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/security/mscapi/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -89,7 +89,6 @@
 #
 
 BUILDDIR = ../../..
-MODULE  = security-sunmscapi
 PACKAGE = sun.security.mscapi
 LIBRARY = sunmscapi
 PRODUCT = sun
@@ -273,7 +272,7 @@
 else
 $(JAR_DESTFILE): $(SIGNED_DIR)/sunmscapi.jar
 endif
-	$(install-non-module-file)
+	$(install-file)
 
 ifndef OPENJDK
 install-prebuilt:
--- a/jdk/make/sun/security/pkcs11/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/security/pkcs11/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -89,7 +89,6 @@
 #
 
 BUILDDIR = ../../..
-MODULE  = security-sunpkcs11
 PACKAGE = sun.security.pkcs11
 LIBRARY = j2pkcs11
 PRODUCT = sun
@@ -288,7 +287,7 @@
 else
 $(JAR_DESTFILE): $(SIGNED_DIR)/sunpkcs11.jar
 endif
-	$(install-non-module-file)
+	$(install-file)
 
 ifndef OPENJDK
 install-prebuilt:
--- a/jdk/make/sun/security/smartcardio/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/security/smartcardio/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -24,7 +24,6 @@
 #
 
 BUILDDIR = ../../..
-MODULE  = security-smartcardio
 PACKAGE = sun.security.smartcardio
 LIBRARY = j2pcsc
 PRODUCT = sun
--- a/jdk/make/sun/security/tools/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/security/tools/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -24,7 +24,6 @@
 #
 
 BUILDDIR = ../../..
-MODULE  = security-tools
 PACKAGE = sun.security.tools
 PRODUCT = sun
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/sun/serialver/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/serialver/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -28,7 +28,6 @@
 #
 
 BUILDDIR = ../..
-MODULE  = serialver
 PACKAGE = sun.tools.serialver
 PRODUCT = sun
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/sun/splashscreen/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/splashscreen/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -24,7 +24,6 @@
 #
 
 BUILDDIR = ../..
-MODULE  = awt
 PACKAGE = sun.awt
 LIBRARY = splashscreen
 PRODUCT = sun
--- a/jdk/make/sun/text/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/text/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -29,7 +29,6 @@
 
 BUILDDIR = ../..
 
-MODULE  = localedata
 PACKAGE = sun.text
 PRODUCT = sun
 
--- a/jdk/make/sun/tools/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/tools/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -28,7 +28,6 @@
 #
 
 BUILDDIR = ../..
-MODULE  = tools
 PACKAGE = sun.tools
 PRODUCT = sun
 include $(BUILDDIR)/common/Defs.gmk
--- a/jdk/make/sun/tracing/dtrace/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/tracing/dtrace/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -27,7 +27,6 @@
 # Makefile for building dtrace extension
 #
 BUILDDIR = ../../..
-MODULE  = tracing
 PACKAGE = sun.tracing.dtrace
 LIBRARY = jsdt
 PRODUCT = sun
--- a/jdk/make/sun/xawt/Makefile	Wed Jul 05 17:37:01 2017 +0200
+++ b/jdk/make/sun/xawt/Makefile	Wed Mar 09 23:11:07 2011 -0800
@@ -24,7 +24,6 @@
 #
 
 BUILDDIR = ../..
-MODULE  = awt
 PACKAGE = sun.awt.X11
 LIBRARY = mawt
 LIBRARY_OUTPUT = xawt