File: makefile

package info (click to toggle)
libtemplates-parser 10.0+20060522-5
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,880 kB
  • ctags: 52
  • sloc: ada: 9,842; makefile: 360; sh: 26
file content (42 lines) | stat: -rw-r--r-- 855 bytes parent folder | download | duplicates (3)
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
37
38
39
40
41
42

.SILENT:

MODE	= RELEASE

VERSION	= 10.0

ALL_OPTIONS = INCLUDES="$(INCLUDES)" LIBS="$(LIBS)" MODE="$(MODE)" \
		TP_XMLADA="$(TP_XMLADA)" GNATMAKE="gnatmake"

all:
	echo ""
	echo "Targets:"
	echo ""
	echo "build     : build package"
	echo "test      : run a regression test"
	echo "doc       : build documentation"
	echo "distrib   : build tarball distribution"
	echo ""

force:

build: force
	gnatmake -Ptemplates_parser

test: build
	make -C regtests $(ALL_OPTIONS) test

doc:
	make -C docs $(ALL_OPTIONS) doc
	echo Templates_Parser Documentation built with success.

clean:
	gnatclean -Ptemplates_parser
	make -C docs clean
	make -C regtests clean

distrib:
	-rm templates_parser-?.?.tar*
	tar cf templates_parser-$(VERSION).tar src/templates_parser*ad[sb] \
		src/ChangeLog include/*.ad* templates_parser.gpr
	gzip -9 templates_parser-$(VERSION).tar