File: ant-targets.am

package info (click to toggle)
sipxtapi 3.3.0~test17-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 23,168 kB
  • sloc: cpp: 252,058; ansic: 11,911; sh: 11,657; makefile: 2,449; java: 2,264; xml: 225; perl: 161
file content (26 lines) | stat: -rw-r--r-- 590 bytes parent folder | download | duplicates (5)
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
# Automake - Ant adapter
# ANT_FLAGS
#  -e is to remove extraneous logging to console, not required
#  -Dtop.build.dir is required if you call ./configure from a different dir
abs_top_builddir=`cd $(top_builddir) && pwd`
ANT_FLAGS=-e -Dtop.build.dir=$(abs_top_builddir) -f $(srcdir)/build.xml
ANT_CMD=JAVA_HOME=$(JAVA_HOME) @ANT@

all : all-ant

.PHONY: all-ant
all-ant :
	$(ANT_CMD) $(ANT_FLAGS)

clean :
	$(ANT_CMD) $(ANT_FLAGS) clean

.PHONY: doc
doc :
	$(ANT_CMD) $(ANT_FLAGS) doc

install :
	$(ANT_CMD) $(ANT_FLAGS) -Ddest.dir=$(DESTDIR) install

check :
	$(ANT_CMD) $(ANT_FLAGS) test