File: no-project

package info (click to toggle)
libxmlada 18-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 7,324 kB
  • sloc: ada: 32,766; makefile: 480; xml: 111; sh: 43; python: 35
file content (29 lines) | stat: -rw-r--r-- 824 bytes parent folder | download
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
#!/bin/sh
set -C -e -f -u

# Requires the dpkg-dev and gcc packages.
DEB_HOST_MULTIARCH=`dpkg-architecture -qDEB_HOST_MULTIARCH`
ADAINCLUDE=/usr/share/ada/adainclude
ADALIB=/usr/lib/$DEB_HOST_MULTIARCH/ada/adainclude

gnatmake -q docs/dom/domexample.adb \
         -D "$ADTTMP" -o "$ADTTMP/domexample" \
         -aI$ADAINCLUDE/xmlada_dom \
         -aI$ADAINCLUDE/xmlada_sax \
         -aI$ADAINCLUDE/xmlada_input \
         -aI$ADAINCLUDE/xmlada_unicode \
         \
         -aO$ADALIB/xmlada_dom \
         -aO$ADALIB/xmlada_sax \
         -aO$ADALIB/xmlada_input \
         -aO$ADALIB/xmlada_unicode \
         \
         -largs \
         -lxmlada_dom \
         -lxmlada_sax \
         -lxmlada_input \
         -lxmlada_unicode

# domexample needs pref.xml in the current directory.
cd docs/dom
"$ADTTMP/domexample"