blob: b107c6b972be6d7a022604b95261de35a97efc3f (
plain)
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
|
# All public include headers should be usable "standalone".
. $srcdir/test-subr.sh
echo '#include "libelf.h"' \
| ${CC} -c -o /dev/null -I ${abs_srcdir}/../libelf -xc -
echo '#include "gelf.h"' \
| ${CC} -c -o /dev/null -I ${abs_srcdir}/../libelf -xc -
echo '#include "dwarf.h"' \
| ${CC} -c -o /dev/null -I ${abs_srcdir}/../libelf \
-I ${abs_srcdir}/../libdw -xc -
echo '#include "libdw.h"' \
| ${CC} -c -o /dev/null -I ${abs_srcdir}/../libelf \
-I ${abs_srcdir}/../libdw -xc -
echo '#include "libdwfl.h"' \
| ${CC} -c -o /dev/null -I ${abs_srcdir}/../libelf \
-I ${abs_srcdir}/../libdw -I ${abs_srcdir}/../libdwfl -xc -
echo '#include "libdwelf.h"' \
| ${CC} -c -o /dev/null -I ${abs_srcdir}/../libelf \
-I ${abs_srcdir}/../libdw -I ${abs_srcdir}/../libdwelf -xc -
echo '#include "libasm.h"' \
| ${CC} -c -o /dev/null -I ${abs_srcdir}/../libelf \
-I ${abs_srcdir}/../libasm -xc -
|