File: build

package info (click to toggle)
libaws 2.2dfsg-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 7,624 kB
  • ctags: 1,173
  • sloc: ada: 61,829; ansic: 6,483; makefile: 1,282; xml: 196; sh: 119; java: 112; python: 66; sed: 40
file content (28 lines) | stat: -rw-r--r-- 798 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
#
# $Id: build,v 1.5 2006/01/20 09:51:46 anisimko Exp $
#
# This script can be used to build test programs for AWS, it supports XML/Ada
#
# usage: build <main>
#

XMLADA=/opt/xmlada
AWS=..
BDIR=$AWS/.build/debug

if [ "$OS" = "Windows_NT" ]; then
   lopts=$BDIR/obj/poll.o
fi;

gnatmake -O0 -g $1 -I. -I$XMLADA/include/xmlada -I$XMLADA/include/xmlada/obj \
 -gnatec$BDIR/gnat.adc \
 -aI$AWS/include -aI$AWS/include/ai302 -aI$AWS/ssl -aI$AWS/config \
 -aI$AWS/templates_parser/src -aI$AWS/src \
 -aL$BDIR/include -aO$BDIR/include \
 -aL$BDIR/include/ai302 -aO$BDIR/include/ai302 \
 -aO$BDIR/obj -aO$BDIR/include/obj \
 -aL$BDIR/ssl/obj \
 -L$BDIR/win32/lib -L$AWS/lib \
-largs -L$XMLADA/lib \
-lxmlada_input_sources -lxmlada_dom -lxmlada_sax -lxmlada_unicode  \
 $lopts -lcrypto -lssl -lz -bargs -E