source: trunk/android-headers/libc/C/populate.sh @ 14564

Last change on this file since 14564 was 14564, checked in by gb, 10 years ago

Include the Android linker.h.

File size: 5.5 KB
Line 
1#!/bin/sh
2NDK=/usr/local/android-ndk-r4b
3HOST=linux-x86
4ANDROIDVERSION=android-8
5HEADERS=${NDK}/build/platforms/${ANDROIDVERSION}/arch-arm/usr/include
6CFLAGS="-D__ARM_EABI__ -DANDROID -I${HEADERS}";export CFLAGS
7h-to-ffi.sh ${HEADERS}/util.h
8h-to-ffi.sh ${HEADERS}/stdlib.h
9h-to-ffi.sh ${HEADERS}/dirent.h
10h-to-ffi.sh ${HEADERS}/inttypes.h
11h-to-ffi.sh ${HEADERS}/pathconf.h
12h-to-ffi.sh ${HEADERS}/stdint.h
13h-to-ffi.sh ${HEADERS}/zconf.h
14h-to-ffi.sh ${HEADERS}/regex.h
15h-to-ffi.sh ${HEADERS}/err.h
16h-to-ffi.sh ${HEADERS}/stdio.h
17h-to-ffi.sh ${HEADERS}/fcntl.h
18h-to-ffi.sh ${HEADERS}/ctype.h
19h-to-ffi.sh ${HEADERS}/unistd.h
20h-to-ffi.sh ${HEADERS}/utmp.h
21h-to-ffi.sh ${HEADERS}/locale.h
22h-to-ffi.sh ${HEADERS}/libgen.h
23h-to-ffi.sh ${HEADERS}/malloc.h
24h-to-ffi.sh ${HEADERS}/sgtty.h
25h-to-ffi.sh ${HEADERS}/string.h
26h-to-ffi.sh ${HEADERS}/android/log.h
27h-to-ffi.sh ${HEADERS}/android/bitmap.h
28h-to-ffi.sh -include ${HEADERS}/sys/cdefs.h ${HEADERS}/fenv.h
29h-to-ffi.sh ${HEADERS}/endian.h
30h-to-ffi.sh ${HEADERS}/pwd.h
31#h-to-ffi.sh ${HEADERS}/GLES2/gl2platform.h
32#h-to-ffi.sh ${HEADERS}/GLES2/gl2.h
33h-to-ffi.sh -include ${HEADERS}/GLES2/gl2.h   ${HEADERS}/GLES2/gl2ext.h
34h-to-ffi.sh ${HEADERS}/paths.h
35h-to-ffi.sh ${HEADERS}/utime.h
36h-to-ffi.sh ${HEADERS}/netdb.h
37h-to-ffi.sh ${HEADERS}/net/if.h
38h-to-ffi.sh ${HEADERS}/net/if_arp.h
39h-to-ffi.sh ${HEADERS}/net/route.h
40#h-to-ffi.sh ${HEADERS}/net/if_ieee1394.h
41h-to-ffi.sh ${HEADERS}/net/ethertypes.h
42h-to-ffi.sh ${HEADERS}/net/if_dl.h
43#h-to-ffi.sh ${HEADERS}/net/if_ether.h
44h-to-ffi.sh ${HEADERS}/net/if_packet.h
45h-to-ffi.sh ${HEADERS}/net/if_types.h
46h-to-ffi.sh ${HEADERS}/dlfcn.h
47h-to-ffi.sh ${HEADERS}/time64.h
48h-to-ffi.sh ${HEADERS}/pthread.h
49h-to-ffi.sh ${HEADERS}/memory.h
50h-to-ffi.sh ${HEADERS}/mntent.h
51#h-to-ffi.sh ${HEADERS}/GLES/gl.h
52#h-to-ffi.sh ${HEADERS}/GLES/glplatform.h
53h-to-ffi.sh -include ${HEADERS}/GLES/gl.h   ${HEADERS}/GLES/glext.h
54h-to-ffi.sh ${HEADERS}/sched.h
55h-to-ffi.sh ${HEADERS}/wchar.h
56h-to-ffi.sh ${HEADERS}/zlib.h
57h-to-ffi.sh ${HEADERS}/semaphore.h
58h-to-ffi.sh ${HEADERS}/grp.h
59h-to-ffi.sh ${HEADERS}/byteswap.h
60h-to-ffi.sh ${HEADERS}/features.h
61h-to-ffi.sh ${HEADERS}/nsswitch.h
62h-to-ffi.sh ${HEADERS}/signal.h
63h-to-ffi.sh ${HEADERS}/wctype.h
64h-to-ffi.sh ${HEADERS}/lastlog.h
65h-to-ffi.sh -include ${HEADERS}/sys/types.h ${HEADERS}/fts.h
66h-to-ffi.sh ${HEADERS}/termios.h
67h-to-ffi.sh ${HEADERS}/netpacket/packet.h
68h-to-ffi.sh ${HEADERS}/errno.h
69h-to-ffi.sh ${HEADERS}/resolv.h
70h-to-ffi.sh ${HEADERS}/poll.h
71h-to-ffi.sh ${HEADERS}/math.h
72h-to-ffi.sh ${HEADERS}/netinet/in.h
73h-to-ffi.sh ${HEADERS}/netinet/tcp.h
74h-to-ffi.sh ${HEADERS}/netinet/in6.h
75h-to-ffi.sh -include ${HEADERS}/sys/types.h ${HEADERS}/netinet/udp.h
76h-to-ffi.sh ${HEADERS}/netinet/ip_icmp.h
77h-to-ffi.sh ${HEADERS}/netinet/ip.h
78h-to-ffi.sh ${HEADERS}/netinet/if_ether.h
79#h-to-ffi.sh ${HEADERS}/netinet/ether.h
80h-to-ffi.sh ${HEADERS}/jni.h
81h-to-ffi.sh ${HEADERS}/fnmatch.h
82h-to-ffi.sh ${HEADERS}/elf.h
83h-to-ffi.sh ${HEADERS}/sha1.h
84h-to-ffi.sh ${HEADERS}/alloca.h
85h-to-ffi.sh ${HEADERS}/strings.h
86h-to-ffi.sh ${HEADERS}/sys/sysconf.h
87h-to-ffi.sh ${HEADERS}/sys/dirent.h
88h-to-ffi.sh ${HEADERS}/sys/statfs.h
89h-to-ffi.sh ${HEADERS}/sys/ipc.h
90h-to-ffi.sh ${HEADERS}/sys/ioctl_compat.h
91h-to-ffi.sh ${HEADERS}/sys/sysmacros.h
92h-to-ffi.sh -include ${HEADERS}/sys/socket.h ${HEADERS}/sys/un.h
93h-to-ffi.sh ${HEADERS}/sys/exec_elf.h
94h-to-ffi.sh ${HEADERS}/sys/queue.h
95h-to-ffi.sh ${HEADERS}/sys/inotify.h
96h-to-ffi.sh ${HEADERS}/sys/ptrace.h
97h-to-ffi.sh ${HEADERS}/sys/ttydev.h
98h-to-ffi.sh ${HEADERS}/sys/socketcalls.h
99h-to-ffi.sh ${HEADERS}/sys/linux-syscalls.h
100#h-to-ffi.sh ${HEADERS}/sys/_errdefs.h
101h-to-ffi.sh ${HEADERS}/sys/file.h
102h-to-ffi.sh ${HEADERS}/sys/vfs.h
103h-to-ffi.sh ${HEADERS}/sys/sendfile.h
104h-to-ffi.sh ${HEADERS}/sys/endian.h
105h-to-ffi.sh ${HEADERS}/sys/reboot.h
106h-to-ffi.sh ${HEADERS}/sys/vt.h
107h-to-ffi.sh ${HEADERS}/sys/times.h
108h-to-ffi.sh ${HEADERS}/sys/socket.h
109h-to-ffi.sh -include ${HEADERS}/sys/types.h ${HEADERS}/sys/utime.h
110h-to-ffi.sh ${HEADERS}/sys/cdefs.h
111h-to-ffi.sh ${HEADERS}/sys/resource.h
112h-to-ffi.sh ${HEADERS}/sys/types.h
113h-to-ffi.sh ${HEADERS}/sys/mount.h
114h-to-ffi.sh ${HEADERS}/sys/atomics.h
115#h-to-ffi.sh ${HEADERS}/sys/_system_properties.h
116h-to-ffi.sh ${HEADERS}/sys/param.h
117h-to-ffi.sh -include ${HEADERS}/sys/cdefs.h ${HEADERS}/sys/prctl.h
118h-to-ffi.sh ${HEADERS}/sys/stat.h
119h-to-ffi.sh ${HEADERS}/sys/cdefs_elf.h
120h-to-ffi.sh ${HEADERS}/sys/sysinfo.h
121h-to-ffi.sh ${HEADERS}/sys/timeb.h
122h-to-ffi.sh ${HEADERS}/sys/wait.h
123h-to-ffi.sh ${HEADERS}/sys/syscall.h
124h-to-ffi.sh ${HEADERS}/sys/ttychars.h
125h-to-ffi.sh ${HEADERS}/sys/fsuid.h
126h-to-ffi.sh ${HEADERS}/sys/klog.h
127h-to-ffi.sh ${HEADERS}/sys/errno.h
128h-to-ffi.sh ${HEADERS}/sys/utsname.h
129h-to-ffi.sh ${HEADERS}/sys/poll.h
130#h-to-ffi.sh ${HEADERS}/sys/_sigdefs.h
131h-to-ffi.sh ${HEADERS}/sys/epoll.h
132h-to-ffi.sh ${HEADERS}/sys/syslimits.h
133h-to-ffi.sh ${HEADERS}/sys/select.h
134#h-to-ffi.sh -include ${HEADERS}/sys/types.h ${HEADERS}/sys/linux-unistd.h
135h-to-ffi.sh ${HEADERS}/sys/mman.h
136h-to-ffi.sh ${HEADERS}/sys/limits.h
137h-to-ffi.sh ${HEADERS}/sys/ioctl.h
138h-to-ffi.sh ${HEADERS}/sys/system_properties.h
139h-to-ffi.sh ${HEADERS}/sys/_types.h
140h-to-ffi.sh ${HEADERS}/sys/time.h
141h-to-ffi.sh ${HEADERS}/sys/uio.h
142h-to-ffi.sh ${HEADERS}/limits.h
143h-to-ffi.sh ${HEADERS}/thread_db.h
144h-to-ffi.sh ${HEADERS}/assert.h
145h-to-ffi.sh ${HEADERS}/arpa/nameser.h
146h-to-ffi.sh ${HEADERS}/arpa/inet.h
147h-to-ffi.sh ${HEADERS}/setjmp.h
148#h-to-ffi.sh ${HEADERS}/mtd/mtd-user.h
149#h-to-ffi.sh ${HEADERS}/mtd/mtd-abi.h
150h-to-ffi.sh ${HEADERS}/time.h
151h-to-ffi.sh ${HEADERS}/getopt.h
152h-to-ffi.sh ${HEADERS}/syslog.h
153h-to-ffi.sh -DANDROID_ARM_LINKER `pwd`/../../../lisp-kernel/androidarm/linker.h
154
155
Note: See TracBrowser for help on using the repository browser.