File: examples

package info (click to toggle)
gprbuild 2014dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 9,564 kB
  • ctags: 195
  • sloc: ada: 110,384; xml: 3,632; sh: 2,810; makefile: 363; ansic: 204; cpp: 89; fortran: 62; asm: 27
file content (22 lines) | stat: -rw-r--r-- 393 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
set -C -e -f -u
TOP_SOURCE_DIR="`pwd`"
cd "$ADTTMP"

cp -a "$TOP_SOURCE_DIR/examples" .
cd examples

rm -fr ada_f77
# Needs gnat-sjlj and asm.

rm -fr ppc-elf
# Needs zfp runtime.

make
make clean

# test running gprbuild with the default config file
gprbuild first_steps/c_main.gpr
gprclean first_steps/c_main.gpr
gprbuild first_steps/ada_main.gpr
gprclean first_steps/ada_main.gpr