-
Notifications
You must be signed in to change notification settings - Fork 15
/
Makefile
48 lines (35 loc) · 788 Bytes
/
Makefile
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
43
44
45
46
47
validator = /usr/bin/xmllint --noout --schema
mapper = ../tools/xsd2bgf
build:
test:
make testbgf
make testxbgf
make testbtf
make testxbtf
#make testldf
make testxldf
make testlcf
#make testedd
#make testrgf
make check
testbgf:
${validator} bgf.xsd ../../topics/fl/lci/snapshot/*.bgf
testxbgf:
${validator} xbgf.xsd ../../topics/fl/lci/xbgf/*.xbgf
testbtf:
${validator} btf.xsd ../../topics/fl/lci/xmlsamples/*.btf
testxbtf:
testlcf:
${validator} lcf.xsd ../../topics/*/*/*.lcf
testldf:
${validator} ldf.xsd ../../topics/languedoc/*/*.ldf
testxldf:
${validator} xldf.xsd ../../topics/languedoc/*/xldf/*.xldf
testedd:
${validator} edd.xsd ../edd/*.edd
check:
ls -1 *.xsd | xargs -n1 -I _ ${mapper} _ tmp.bgf
clean:
rm -rf bin obj
rm -f *.user
rm -f *.suo