~ubuntu-branches/ubuntu/wily/dnsjava/wily-proposed

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Thierry Carrez
  • Date: 2009-07-21 15:17:03 UTC
  • Revision ID: james.westby@ubuntu.com-20090721151703-6v0107p1s3h7gv1c
Tags: upstream-2.0.6
ImportĀ upstreamĀ versionĀ 2.0.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
JAVAC = javac
 
2
JFLAGS = -g
 
3
JAR = jar cf
 
4
 
 
5
SUNAPIDOC = http://java.sun.com/j2se/1.4/docs/api
 
6
JAVADOC=javadoc -classpath . -d doc -windowtitle "dnsjava documentation" -link ${SUNAPIDOC}
 
7
 
 
8
VERSION = 2.0.6
 
9
 
 
10
DNSSRC = org/xbill/DNS/*.java \
 
11
         org/xbill/DNS/utils/*.java \
 
12
         org/xbill/DNS/security/*.java
 
13
PROGSRC = *.java
 
14
 
 
15
DNSCLASS = org/xbill/DNS/*.class \
 
16
           org/xbill/DNS/utils/*.class \
 
17
           org/xbill/DNS/security/*.class
 
18
PROGCLASS = *.class
 
19
 
 
20
CLASSLIST = org.xbill.DNS org.xbill.DNS.utils org.xbill.DNS.security
 
21
 
 
22
JARFILE = dnsjava-${VERSION}.jar
 
23
 
 
24
all:
 
25
        ${JAVAC} ${JFLAGS} ${PROGSRC} ${DNSSRC}
 
26
 
 
27
jar:
 
28
        ${JAR} ${JARFILE} ${PROGCLASS} ${DNSCLASS}
 
29
 
 
30
clean:
 
31
        rm -f ${PROGCLASS} ${DNSCLASS} ${JARFILE}
 
32
 
 
33
doc docs: docsclean
 
34
        if test ! -d doc ; then mkdir doc ; fi
 
35
        ${JAVADOC} ${CLASSLIST}
 
36
 
 
37
docclean docsclean:     
 
38
        rm -rf doc/*