Print this page
4719 Common patchset for jdk1.7 support preparation


  43 CLASSDIR=classes
  44 MANIFESTDIR=manifest
  45 MANIFEST=$(MANIFESTDIR)/test.jar-manifest
  46 TEST_JAR=$(JAR_SRCDIR)/test.jar
  47 PROTO_TEST_JAR=$(JAR_DSTDIR)/test.jar
  48 
  49 default: $(TEST_JAR)
  50 
  51 clean:
  52         $(RM) $(CLASSDIR)/*.class
  53 
  54 clobber: clean
  55         $(RM) $(TEST_JAR)
  56 
  57 all: default
  58 
  59 lint:
  60 
  61 install: all $(PROTO_TEST_JAR)
  62 
  63 JFLAGS= -g -cp $(CLASSPATH) -d $(CLASSDIR) -deprecation
  64 JFLAGS += -target 1.5
  65 JFLAGS += -Xlint
  66 COMPILE.java=$(JAVAC) $(JFLAGS)
  67 
  68 $(TEST_JAR): $(SRCDIR)/*.java
  69         @mkdir -p $(CLASSDIR)
  70         $(COMPILE.java) $(SRCDIR)/*.java
  71         $(JAR) -cmf $(MANIFEST) $(TEST_JAR) -C $(CLASSDIR) .
  72 
  73 $(PROTO_TEST_JAR): $(JAR_DSTDIR)
  74 
  75 $(JAR_DSTDIR):
  76         $(INS.dir)
  77 
  78 $(JAR_DSTDIR)/%: $(JAR_SRCDIR)/%
  79         $(INS.file)


  43 CLASSDIR=classes
  44 MANIFESTDIR=manifest
  45 MANIFEST=$(MANIFESTDIR)/test.jar-manifest
  46 TEST_JAR=$(JAR_SRCDIR)/test.jar
  47 PROTO_TEST_JAR=$(JAR_DSTDIR)/test.jar
  48 
  49 default: $(TEST_JAR)
  50 
  51 clean:
  52         $(RM) $(CLASSDIR)/*.class
  53 
  54 clobber: clean
  55         $(RM) $(TEST_JAR)
  56 
  57 all: default
  58 
  59 lint:
  60 
  61 install: all $(PROTO_TEST_JAR)
  62 
  63 JFLAGS= -g -cp $(CLASSPATH) -d $(CLASSDIR)
  64 JFLAGS += -source 1.5 -target 1.6 -Xlint:all,-options,-rawtypes

  65 COMPILE.java=$(JAVAC) $(JFLAGS)
  66 
  67 $(TEST_JAR): $(SRCDIR)/*.java
  68         @mkdir -p $(CLASSDIR)
  69         $(COMPILE.java) $(SRCDIR)/*.java
  70         $(JAR) -cmf $(MANIFEST) $(TEST_JAR) -C $(CLASSDIR) .
  71 
  72 $(PROTO_TEST_JAR): $(JAR_DSTDIR)
  73 
  74 $(JAR_DSTDIR):
  75         $(INS.dir)
  76 
  77 $(JAR_DSTDIR)/%: $(JAR_SRCDIR)/%
  78         $(INS.file)