• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/bash
2#
3# Assists with importing a new version of Strace for Android.
4# Removes source files from the Strace original distribution that are not
5# needed on Android.
6#
7# Run this script after extracting an Strace distribution into external/strace.
8#
9
10UNNEEDED_SOURCES="\
11  Makefile.am \
12  Makefile.in \
13  README-freebsd \
14  README-sunos4 \
15  README-svr4 \
16  acinclude.m4 \
17  aclocal.m4 \
18  config.guess \
19  config.h.in \
20  config.log \
21  config.status \
22  config.sub \
23  configure \
24  configure.ac \
25  debian \
26  depcomp \
27  errnoent.sh \
28  freebsd \
29  install-sh \
30  linux/alpha \
31  linux/arm/ioctlent.h.in \
32  linux/avr32 \
33  linux/bfin \
34  linux/hppa \
35  linux/i386/ioctlent.h.in \
36  linux/ia64 \
37  linux/ioctlent.h.in \
38  linux/m68k \
39  linux/microblaze \
40  linux/mips/ioctlent.h.in \
41  linux/powerpc \
42  linux/s390 \
43  linux/s390x \
44  linux/sh/ioctlent.h.in \
45  linux/sh64 \
46  linux/sparc \
47  linux/sparc64 \
48  linux/tile \
49  linux/x86_64 \
50  m4 \
51  missing \
52  mkinstalldirs \
53  signalent.sh \
54  sunos4 \
55  svr4 \
56  syscallent.sh \
57  test \
58  tests \
59  xlate.el \
60"
61
62rm -rvf $UNNEEDED_SOURCES
63
64