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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/dtrace/test/tst/common/java_api/Makefile
          +++ new/usr/src/cmd/dtrace/test/tst/common/java_api/Makefile
↓ open down ↓ 52 lines elided ↑ open up ↑
  53   53  
  54   54  clobber: clean
  55   55          $(RM) $(TEST_JAR)
  56   56  
  57   57  all: default
  58   58  
  59   59  lint:
  60   60  
  61   61  install: all $(PROTO_TEST_JAR)
  62   62  
  63      -JFLAGS= -g -cp $(CLASSPATH) -d $(CLASSDIR) -deprecation
  64      -JFLAGS += -target 1.5
  65      -JFLAGS += -Xlint
       63 +JFLAGS= -g -cp $(CLASSPATH) -d $(CLASSDIR)
       64 +JFLAGS += -source 1.5 -target 1.6 -Xlint:all,-options,-rawtypes
  66   65  COMPILE.java=$(JAVAC) $(JFLAGS)
  67   66  
  68   67  $(TEST_JAR): $(SRCDIR)/*.java
  69   68          @mkdir -p $(CLASSDIR)
  70   69          $(COMPILE.java) $(SRCDIR)/*.java
  71   70          $(JAR) -cmf $(MANIFEST) $(TEST_JAR) -C $(CLASSDIR) .
  72   71  
  73   72  $(PROTO_TEST_JAR): $(JAR_DSTDIR)
  74   73  
  75   74  $(JAR_DSTDIR):
  76   75          $(INS.dir)
  77   76  
  78   77  $(JAR_DSTDIR)/%: $(JAR_SRCDIR)/%
  79   78          $(INS.file)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX