59 $(JARDESTDIR)/%: $(JARS)/%
60 $(INS.file)
61
62 $(DOCEXAMPLESDESTDIR)/%: $(DOCEXAMPLES)/%
63 $(INS.file)
64
65 $(DOCHTMLDESTDIR)/%: $(DOCHTML)/%
66 $(INS.file)
67
68 $(DOCIMAGESDESTDIR)/%: $(DOCIMAGES)/%
69 $(INS.file)
70
71 # Manifest files
72 APIMANI= $(MANIFEST)/dtrace.mf
73 MANIFESTS= $(APIMANI)
74
75 # Controlled CLASSPATH for making
76 APICLASSPATH=$(CLASSES):$(APIJAVASRC)
77
78 # javac flags
79 JFLAGS= -g -d $(CLASSES) -sourcepath $(APICLASSPATH) -deprecation
80 JFLAGS += -target 1.5
81 JFLAGS += -Xlint
82
83 # The default make rule for Java files
84 COMPILE.java=$(JAVAC) $(JFLAGS)
85
86 $(CLASSES)/$(PKGPATH)/%.class: $(APIJAVASRC)/$(PKGPATH)/%.java
87 $(COMPILE.java) $<
88
89 # javah generated headers
90 APIHDR= LocalConsumer.h
91 JNIHDRS=$(JNI)/$(APIHDRS)
92
93 # API classes with native methods
94 JNI_CLASSNAMES=\
95 LocalConsumer
96
97 JNI_CLASSES=${JNI_CLASSNAMES:%=%.class}
98 DTRACE_JNI_CLASSES=${JNI_CLASSES:%=$(CLASSES)/$(PKGPATH)/%}
99 JNI_FULL_CLASSNAMES=${JNI_CLASSNAMES:%=$(PKGNAME).%}
100
101 # All API classes
102 API_CLASSNAMES=\
103 AbstractAggregationValue \
104 Aggregate \
105 AggregateSpec \
106 Aggregation \
107 AggregationRecord \
108 AggregationValue \
109 AvgValue \
110 Consumer \
111 ConsumerAdapter \
|
59 $(JARDESTDIR)/%: $(JARS)/%
60 $(INS.file)
61
62 $(DOCEXAMPLESDESTDIR)/%: $(DOCEXAMPLES)/%
63 $(INS.file)
64
65 $(DOCHTMLDESTDIR)/%: $(DOCHTML)/%
66 $(INS.file)
67
68 $(DOCIMAGESDESTDIR)/%: $(DOCIMAGES)/%
69 $(INS.file)
70
71 # Manifest files
72 APIMANI= $(MANIFEST)/dtrace.mf
73 MANIFESTS= $(APIMANI)
74
75 # Controlled CLASSPATH for making
76 APICLASSPATH=$(CLASSES):$(APIJAVASRC)
77
78 # javac flags
79 JFLAGS= -g -d $(CLASSES) -sourcepath $(APICLASSPATH)
80 JFLAGS += -source 1.5 -target 1.6
81 JFLAGS += -Xlint:all,-rawtypes,-options
82
83 # The default make rule for Java files
84 COMPILE.java=$(JAVAC) $(JFLAGS)
85
86 $(CLASSES)/$(PKGPATH)/%.class: $(APIJAVASRC)/$(PKGPATH)/%.java
87 $(COMPILE.java) $<
88
89 # javah generated headers
90 APIHDR= LocalConsumer.h
91 JNIHDRS=$(JNI)/$(APIHDR)
92
93 # API classes with native methods
94 JNI_CLASSNAMES=\
95 LocalConsumer
96
97 JNI_CLASSES=${JNI_CLASSNAMES:%=%.class}
98 DTRACE_JNI_CLASSES=${JNI_CLASSES:%=$(CLASSES)/$(PKGPATH)/%}
99 JNI_FULL_CLASSNAMES=${JNI_CLASSNAMES:%=$(PKGNAME).%}
100
101 # All API classes
102 API_CLASSNAMES=\
103 AbstractAggregationValue \
104 Aggregate \
105 AggregateSpec \
106 Aggregation \
107 AggregationRecord \
108 AggregationValue \
109 AvgValue \
110 Consumer \
111 ConsumerAdapter \
|