1# All public include headers should be usable "standalone".
2
3. $srcdir/test-subr.sh
4
5echo '#include "libelf.h"' \
6  | ${CC} -c -o /dev/null -I ${abs_srcdir}/../libelf -xc -
7echo '#include "gelf.h"' \
8  | ${CC} -c -o /dev/null -I ${abs_srcdir}/../libelf -xc -
9
10echo '#include "dwarf.h"' \
11  | ${CC} -c -o /dev/null -I ${abs_srcdir}/../libelf \
12        -I ${abs_srcdir}/../libdw -xc -
13echo '#include "libdw.h"' \
14  | ${CC} -c -o /dev/null -I ${abs_srcdir}/../libelf \
15        -I ${abs_srcdir}/../libdw -xc -
16
17echo '#include "libdwfl.h"' \
18  | ${CC} -c -o /dev/null -I ${abs_srcdir}/../libelf \
19    -I ${abs_srcdir}/../libdw -I ${abs_srcdir}/../libdwfl -xc -
20echo '#include "libdwelf.h"' \
21  | ${CC} -c -o /dev/null -I ${abs_srcdir}/../libelf \
22    -I ${abs_srcdir}/../libdw -I ${abs_srcdir}/../libdwelf -xc -
23
24echo '#include "libasm.h"' \
25  | ${CC} -c -o /dev/null -I ${abs_srcdir}/../libelf \
26    -I ${abs_srcdir}/../libasm -xc -
27