File: Makefile

package info (click to toggle)
dnsjava 2.1.8-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,576 kB
  • ctags: 3,804
  • sloc: java: 24,727; xml: 350; makefile: 34
file content (36 lines) | stat: -rw-r--r-- 717 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
JAVAC = javac
JFLAGS = -g
JAR = jar cf

SUNAPIDOC = http://java.sun.com/j2se/1.4/docs/api
JAVADOC=javadoc -classpath . -d doc -windowtitle "dnsjava documentation" -link ${SUNAPIDOC}

VERSION = 2.1.8

DNSSRC = org/xbill/DNS/*.java \
	 org/xbill/DNS/utils/*.java
PROGSRC = *.java

DNSCLASS = org/xbill/DNS/*.class \
	   org/xbill/DNS/utils/*.class
PROGCLASS = *.class

CLASSLIST = org.xbill.DNS org.xbill.DNS.utils

JARFILE = dnsjava-${VERSION}.jar

all:
	${JAVAC} ${JFLAGS} ${PROGSRC} ${DNSSRC}

jar:
	${JAR} ${JARFILE} ${PROGCLASS} ${DNSCLASS}

clean:
	rm -f ${PROGCLASS} ${DNSCLASS} ${JARFILE}

doc docs: docsclean
	if test ! -d doc ; then mkdir doc ; fi
	${JAVADOC} ${CLASSLIST}

docclean docsclean:	
	rm -rf doc/*