- Update to 1.20.0.
Submitted by: Tassilo Philipp <tphilipp@potion-studios.com> (maintainer via email)
This commit is contained in:
parent
f23ff56aea
commit
1bd31e4bde
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=290466
47 changed files with 3479 additions and 2676 deletions
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= newlib
|
||||
PORTVERSION= 1.15.0
|
||||
PORTVERSION= 1.20.0
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ftp://sources.redhat.com/pub/ \
|
||||
${MASTER_SITE_SOURCEWARE}
|
||||
|
@ -19,23 +19,31 @@ COMMENT= PlayStation Portable development toolchain ${PORTNAME}
|
|||
PSP_GCC_STAGE_PREFIX= psp/stage1
|
||||
PSP_SDK_STAGE_PREFIX= psp/stage1
|
||||
|
||||
BUILD_DEPENDS+= ${PREFIX}/${PSP_SDK_STAGE_PREFIX}/sdk/include/pspsdk.h:${PORTSDIR}/devel/psptoolchain-pspsdk-stage1 \
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/${PSP_SDK_STAGE_PREFIX}/sdk/include/pspsdk.h:${PORTSDIR}/devel/psptoolchain-pspsdk-stage1 \
|
||||
psp-ar:${PORTSDIR}/devel/psptoolchain-binutils \
|
||||
psp-as:${PORTSDIR}/devel/psptoolchain-binutils \
|
||||
psp-ld:${PORTSDIR}/devel/psptoolchain-binutils \
|
||||
${PREFIX}/${PSP_GCC_STAGE_PREFIX}/bin/psp-gcc:${PORTSDIR}/devel/psptoolchain-gcc-stage1
|
||||
${LOCALBASE}/${PSP_GCC_STAGE_PREFIX}/bin/psp-gcc:${PORTSDIR}/devel/psptoolchain-gcc-stage1
|
||||
|
||||
USE_GMAKE= yes
|
||||
MAKE_JOBS_SAFE= yes
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_ENV= PATH=${PREFIX}/${PSP_GCC_STAGE_PREFIX}/bin:${PATH}
|
||||
MAKE_ENV= PATH=${PREFIX}/${PSP_GCC_STAGE_PREFIX}/bin:${PATH}
|
||||
CONFIGURE_ARGS= --prefix=${PREFIX} --target=psp
|
||||
CONFIGURE_ENV= PATH=${LOCALBASE}/${PSP_GCC_STAGE_PREFIX}/bin:${PATH}
|
||||
MAKE_ENV= PATH=${LOCALBASE}/${PSP_GCC_STAGE_PREFIX}/bin:${PATH}
|
||||
CONFIGURE_ARGS= --prefix=${PREFIX} --target="psp"
|
||||
MAKE_ARGS+= CC="${CC}" CFLAGS="${CFLAGS} -g" # Apparently, it doesn't work on the PSP without debug information
|
||||
|
||||
# Disable installation of .info files and fix includedir reference.
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -E 's/^(install:.*)(install-info.*)/\1#\2/' ${WRKSRC}/etc/Makefile.in
|
||||
@${REINPLACE_CMD} -E 's#(-I\$${prefix}/)psp(/sdk/include)#\1${PSP_SDK_STAGE_PREFIX:S,/,\\/,}\2#' ${WRKSRC}/newlib/configure.host
|
||||
@${REINPLACE_CMD} -E 's/^(install.*:.*)install-info(.*)/\1\2/' ${WRKSRC}/etc/Makefile.in
|
||||
@${REINPLACE_CMD} -E 's#(-I\$${prefix}/)psp(/sdk/include)#-I${LOCALBASE}/${PSP_SDK_STAGE_PREFIX:S,/,\\/,}\2#' ${WRKSRC}/newlib/configure.host
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
# Rename installed crt0.o as real crt0.o used by PSP code comes with psptoolchain-pspsdk-stage2
|
||||
# and would overwrite the one from this port.
|
||||
post-install:
|
||||
@${MV} ${PREFIX}/psp/lib/crt0.o ${PREFIX}/psp/lib/crt0.newlib.o
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (newlib-1.15.0.tar.gz) = c4496102d38c59d1a47ddd5481af35caa1f65b76e2a94d9607737e17fd9e4465
|
||||
SIZE (newlib-1.15.0.tar.gz) = 10709842
|
||||
SHA256 (newlib-1.20.0.tar.gz) = c644b2847244278c57bec2ddda69d8fab5a7c767f3b9af69aa7aa3da823ff692
|
||||
SIZE (newlib-1.20.0.tar.gz) = 14571004
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
--- config.sub.orig 2006-12-11 06:12:46.000000000 +0200
|
||||
+++ config.sub 2007-06-01 12:22:26.000000000 +0300
|
||||
@@ -267,6 +267,7 @@
|
||||
--- ./config.sub.orig 2011-11-02 00:56:53.000000000 +0000
|
||||
+++ ./config.sub 2012-01-25 19:33:11.000000000 +0000
|
||||
@@ -283,6 +283,7 @@
|
||||
| mipsisa64sb1 | mipsisa64sb1el \
|
||||
| mipsisa64sr71k | mipsisa64sr71kel \
|
||||
| mipstx39 | mipstx39el \
|
||||
+ | mipsallegrex | mipsallegrexel \
|
||||
| mn10200 | mn10300 \
|
||||
| moxie \
|
||||
| mt \
|
||||
| msp430 \
|
||||
@@ -348,6 +349,7 @@
|
||||
@@ -396,6 +397,7 @@
|
||||
| mipsisa64sb1-* | mipsisa64sb1el-* \
|
||||
| mipsisa64sr71k-* | mipsisa64sr71kel-* \
|
||||
| mipstx39-* | mipstx39el-* \
|
||||
|
@ -16,7 +16,7 @@
|
|||
| mmix-* \
|
||||
| mt-* \
|
||||
| msp430-* \
|
||||
@@ -690,6 +692,10 @@
|
||||
@@ -795,6 +797,10 @@
|
||||
basic_machine=m68k-atari
|
||||
os=-mint
|
||||
;;
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
--- configure.orig 2006-12-12 03:38:04.000000000 +0200
|
||||
+++ configure 2007-06-01 12:22:26.000000000 +0300
|
||||
@@ -1561,6 +1561,9 @@
|
||||
--- ./configure.orig 2011-12-18 10:20:51.000000000 +0000
|
||||
+++ ./configure 2012-01-25 19:33:11.000000000 +0000
|
||||
@@ -3598,6 +3598,9 @@
|
||||
;;
|
||||
mips*-*-linux*)
|
||||
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
|
||||
;;
|
||||
+ mipsallegrex*-*-*)
|
||||
+ noconfigdirs="$noconfigdirs target-libgloss"
|
||||
+ ;;
|
||||
mips*-*-*)
|
||||
noconfigdirs="$noconfigdirs gprof ${libgcj}"
|
||||
noconfigdirs="$noconfigdirs gprof"
|
||||
;;
|
||||
|
|
12
devel/psptoolchain-newlib/files/patch-configure.ac
Normal file
12
devel/psptoolchain-newlib/files/patch-configure.ac
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- ./configure.ac.orig 2011-11-09 18:57:28.000000000 +0000
|
||||
+++ ./configure.ac 2012-01-25 19:33:11.000000000 +0000
|
||||
@@ -1024,6 +1024,9 @@
|
||||
;;
|
||||
mips*-*-linux*)
|
||||
;;
|
||||
+ mipsallegrex*-*-*)
|
||||
+ noconfigdirs="$noconfigdirs target-libgloss"
|
||||
+ ;;
|
||||
mips*-*-*)
|
||||
noconfigdirs="$noconfigdirs gprof"
|
||||
;;
|
|
@ -1,12 +0,0 @@
|
|||
--- configure.in.orig 2006-12-12 03:38:04.000000000 +0200
|
||||
+++ configure.in 2007-06-01 12:22:26.000000000 +0300
|
||||
@@ -737,6 +737,9 @@
|
||||
mips*-*-linux*)
|
||||
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
|
||||
;;
|
||||
+ mipsallegrex*-*-*)
|
||||
+ noconfigdirs="$noconfigdirs target-libgloss"
|
||||
+ ;;
|
||||
mips*-*-*)
|
||||
noconfigdirs="$noconfigdirs gprof ${libgcj}"
|
||||
;;
|
|
@ -1,20 +1,20 @@
|
|||
--- newlib/Makefile.am.orig 2006-06-05 20:42:57.000000000 +0300
|
||||
+++ newlib/Makefile.am 2007-06-01 12:22:26.000000000 +0300
|
||||
@@ -267,6 +267,18 @@
|
||||
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
|
||||
else true; fi ; \
|
||||
--- ./newlib/Makefile.am.orig 2011-05-19 06:04:59.000000000 +0000
|
||||
+++ ./newlib/Makefile.am 2012-01-25 19:33:12.000000000 +0000
|
||||
@@ -283,6 +283,18 @@
|
||||
for i in $(srcdir)/libc/include/rpc/*.h; do \
|
||||
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/rpc/`basename $$i`; \
|
||||
done; \
|
||||
+ $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/netinet; \
|
||||
+ for i in $(srcdir)/libc/sys/$(sys_dir)/netinet/*.h; do \
|
||||
+ if [ -f $$i ]; then \
|
||||
+ $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/netinet/`basename $$i`; \
|
||||
+ else true; fi ; \
|
||||
+ if [ -f $$i ]; then \
|
||||
+ $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/netinet/`basename $$i`; \
|
||||
+ else true; fi ; \
|
||||
+ done ; \
|
||||
+ $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/arpa; \
|
||||
+ for i in $(srcdir)/libc/sys/$(sys_dir)/arpa/*.h; do \
|
||||
+ if [ -f $$i ]; then \
|
||||
+ $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/arpa/`basename $$i`; \
|
||||
+ else true; fi ; \
|
||||
+ if [ -f $$i ]; then \
|
||||
+ $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/arpa/`basename $$i`; \
|
||||
+ else true; fi ; \
|
||||
+ done ; \
|
||||
$(mkinstalldirs) $(DESTDIR)$(tooldir)/include/sys; \
|
||||
for i in $(srcdir)/libc/include/sys/*.h; do \
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
--- newlib/Makefile.in.orig 2006-12-18 22:32:41.000000000 +0200
|
||||
+++ newlib/Makefile.in 2007-06-01 12:22:26.000000000 +0300
|
||||
@@ -912,6 +912,18 @@
|
||||
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/machine/`basename $$i`; \
|
||||
else true; fi ; \
|
||||
--- ./newlib/Makefile.in.orig 2011-05-19 06:04:59.000000000 +0000
|
||||
+++ ./newlib/Makefile.in 2012-01-25 19:33:12.000000000 +0000
|
||||
@@ -990,6 +990,18 @@
|
||||
for i in $(srcdir)/libc/include/rpc/*.h; do \
|
||||
$(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/rpc/`basename $$i`; \
|
||||
done; \
|
||||
+ $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/netinet; \
|
||||
+ for i in $(srcdir)/libc/sys/$(sys_dir)/netinet/*.h; do \
|
||||
+ if [ -f $$i ]; then \
|
||||
+ $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/netinet/`basename $$i`; \
|
||||
+ else true; fi ; \
|
||||
+ if [ -f $$i ]; then \
|
||||
+ $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/netinet/`basename $$i`; \
|
||||
+ else true; fi ; \
|
||||
+ done ; \
|
||||
+ $(mkinstalldirs) $(DESTDIR)$(tooldir)/include/arpa; \
|
||||
+ for i in $(srcdir)/libc/sys/$(sys_dir)/arpa/*.h; do \
|
||||
+ if [ -f $$i ]; then \
|
||||
+ $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/arpa/`basename $$i`; \
|
||||
+ else true; fi ; \
|
||||
+ if [ -f $$i ]; then \
|
||||
+ $(INSTALL_DATA) $$i $(DESTDIR)$(tooldir)/include/arpa/`basename $$i`; \
|
||||
+ else true; fi ; \
|
||||
+ done ; \
|
||||
$(mkinstalldirs) $(DESTDIR)$(tooldir)/include/sys; \
|
||||
for i in $(srcdir)/libc/include/sys/*.h; do \
|
||||
|
|
|
@ -1,27 +1,24 @@
|
|||
--- newlib/configure.host.orig 2006-12-18 23:49:14.000000000 +0200
|
||||
+++ newlib/configure.host 2007-06-01 12:22:26.000000000 +0300
|
||||
@@ -510,7 +510,7 @@
|
||||
# NOTE: When newlib malloc uses a semaphore, RTEMS will switch to that.
|
||||
*-*-rtems*)
|
||||
--- ./newlib/configure.host.orig 2011-11-29 06:33:48.000000000 +0000
|
||||
+++ ./newlib/configure.host 2012-01-25 19:33:11.000000000 +0000
|
||||
@@ -535,7 +535,7 @@
|
||||
default_newlib_io_long_long="yes"
|
||||
- newlib_cflags="${newlib_cflags} -DMALLOC_PROVIDED -DEXIT_PROVIDED -DMISSING_SYSCALL_NAMES -DSIGNAL_PROVIDED -DREENTRANT_SYSCALLS_PROVIDED -DHAVE_OPENDIR -DNO_EXEC -DHAVE_FCNTL"
|
||||
+ newlib_cflags="${newlib_cflags} -DMALLOC_PROVIDED -DEXIT_PROVIDED -DMISSING_SYSCALL_NAMES -DSIGNAL_PROVIDED -DREENTRANT_SYSCALLS_PROVIDED -DHAVE_OPENDIR -DNO_EXEC -DHAVE_FCNTL -DHAVE_RENAME -DHAVE_NANOSLEEP"
|
||||
default_newlib_io_c99_formats="yes"
|
||||
newlib_cflags="${newlib_cflags} -D_COMPILING_NEWLIB"
|
||||
- newlib_cflags="${newlib_cflags} -DMALLOC_PROVIDED -DEXIT_PROVIDED -DSIGNAL_PROVIDED -DREENTRANT_SYSCALLS_PROVIDED -DHAVE_NANOSLEEP -DHAVE_BLKSIZE -DHAVE_FCNTL -DHAVE_ASSERT_FUNC"
|
||||
+ newlib_cflags="${newlib_cflags} -DMALLOC_PROVIDED -DEXIT_PROVIDED -DSIGNAL_PROVIDED -DREENTRANT_SYSCALLS_PROVIDED -DHAVE_NANOSLEEP -DHAVE_BLKSIZE -DHAVE_FCNTL -DHAVE_ASSERT_FUNC -DHAVE_RENAME"
|
||||
# turn off unsupported items in posix directory
|
||||
newlib_cflags="${newlib_cflags} -D_NO_GETLOGIN -D_NO_GETPWENT -D_NO_GETUT -D_NO_GETPASS -D_NO_SIGSET -D_NO_WORDEXP -D_NO_POPEN"
|
||||
;;
|
||||
# VxWorks supplies its own version of malloc, and the newlib one
|
||||
# doesn't work because VxWorks does not have sbrk.
|
||||
@@ -632,7 +632,14 @@
|
||||
@@ -665,6 +665,12 @@
|
||||
default_newlib_io_long_long="yes"
|
||||
newlib_cflags="${newlib_cflags} -DMISSING_SYSCALL_NAMES"
|
||||
;;
|
||||
+ mipsallegrex*-psp-*)
|
||||
+ default_newlib_io_long_long="yes"
|
||||
+ sys_dir=psp
|
||||
+ syscall_dir=syscalls
|
||||
+ newlib_cflags="${newlib_cflags} -G0 -mno-explicit-relocs -DCOMPACT_CTYPE -DCLOCK_PROVIDED -DHAVE_FCNTL -DHAVE_RENAME -DMALLOC_ALIGNMENT=16 -I${prefix}/psp/sdk/include"
|
||||
+ ;;
|
||||
mips*-*-elf*)
|
||||
default_newlib_io_long_long="yes"
|
||||
- newlib_cflags="${newlib_cflags} -DMISSING_SYSCALL_NAMES"
|
||||
+ case "${host}" in
|
||||
+ mipsallegrex*-psp-*)
|
||||
+ sys_dir=psp
|
||||
+ syscall_dir=syscalls
|
||||
+ newlib_cflags="${newlib_cflags} -G0 -mno-explicit-relocs -DCOMPACT_CTYPE -DCLOCK_PROVIDED -DHAVE_FCNTL -DMALLOC_ALIGNMENT=16 -I${prefix}/psp/sdk/include" ;;
|
||||
+ *)
|
||||
+ newlib_cflags="${newlib_cflags} -DMISSING_SYSCALL_NAMES" ;;
|
||||
+ esac
|
||||
;;
|
||||
mmix-*)
|
||||
syscall_dir=syscalls
|
||||
newlib_cflags="${newlib_cflags} -DMISSING_SYSCALL_NAMES"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- newlib/libc/include/machine/time.h.orig 2000-12-04 21:06:37.000000000 +0200
|
||||
+++ newlib/libc/include/machine/time.h 2007-06-01 12:22:26.000000000 +0300
|
||||
--- ./newlib/libc/include/machine/time.h.orig 2009-04-06 22:04:33.000000000 +0000
|
||||
+++ ./newlib/libc/include/machine/time.h 2012-01-25 19:33:11.000000000 +0000
|
||||
@@ -9,6 +9,10 @@
|
||||
#endif
|
||||
#endif /* !__rtems__ */
|
||||
|
@ -8,6 +8,6 @@
|
|||
+#define _CLOCKS_PER_SEC_ 1000000
|
||||
+#endif
|
||||
+
|
||||
#endif /* _MACHTIME_H_ */
|
||||
|
||||
|
||||
#ifdef __SPU__
|
||||
#include <sys/types.h>
|
||||
int nanosleep (const struct timespec *, struct timespec *);
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
--- ./newlib/libc/include/stdint.h.orig 2009-04-24 21:55:07.000000000 +0000
|
||||
+++ ./newlib/libc/include/stdint.h 2012-01-25 19:33:12.000000000 +0000
|
||||
@@ -30,11 +30,9 @@
|
||||
#define __have_longlong64 1
|
||||
#endif
|
||||
|
||||
-/* Check if "long" is 64bit or 32bit wide */
|
||||
+/* Check if "long" is 64bit */
|
||||
#if __STDINT_EXP(LONG_MAX) > 0x7fffffff
|
||||
#define __have_long64 1
|
||||
-#elif __STDINT_EXP(LONG_MAX) == 0x7fffffff && !defined(__SPU__)
|
||||
-#define __have_long32 1
|
||||
#endif
|
||||
|
||||
#if __STDINT_EXP(SCHAR_MAX) == 0x7f
|
|
@ -1,6 +1,6 @@
|
|||
--- newlib/libc/include/sys/config.h.orig 2006-08-30 00:00:59.000000000 +0300
|
||||
+++ newlib/libc/include/sys/config.h 2007-06-01 12:22:26.000000000 +0300
|
||||
@@ -98,6 +98,12 @@
|
||||
--- ./newlib/libc/include/sys/config.h.orig 2010-12-02 19:30:46.000000000 +0000
|
||||
+++ ./newlib/libc/include/sys/config.h 2012-01-25 19:33:12.000000000 +0000
|
||||
@@ -130,6 +130,12 @@
|
||||
#define __ATTRIBUTE_IMPURE_PTR__ __attribute__((__section__(".sdata")))
|
||||
#endif
|
||||
|
||||
|
|
|
@ -1,55 +1,18 @@
|
|||
--- newlib/libc/include/sys/types.h.orig 2006-09-14 01:09:27.000000000 +0300
|
||||
+++ newlib/libc/include/sys/types.h 2007-06-01 12:22:26.000000000 +0300
|
||||
@@ -199,52 +199,6 @@
|
||||
--- ./newlib/libc/include/sys/types.h.orig 2011-08-01 17:22:18.000000000 +0000
|
||||
+++ ./newlib/libc/include/sys/types.h 2012-01-25 19:33:12.000000000 +0000
|
||||
@@ -200,6 +200,7 @@
|
||||
|
||||
typedef unsigned short nlink_t;
|
||||
|
||||
-/* We don't define fd_set and friends if we are compiling POSIX
|
||||
- source, or if we have included (or may include as indicated
|
||||
- by __USE_W32_SOCKETS) the W32api winsock[2].h header which
|
||||
- defines Windows versions of them. Note that a program which
|
||||
- includes the W32api winsock[2].h header must know what it is doing;
|
||||
- it must not call the cygwin32 select function.
|
||||
-*/
|
||||
-# if !(defined (_POSIX_SOURCE) || defined (_WINSOCK_H) || defined (__USE_W32_SOCKETS))
|
||||
-# define _SYS_TYPES_FD_SET
|
||||
-# define NBBY 8 /* number of bits in a byte */
|
||||
-/*
|
||||
- * Select uses bit masks of file descriptors in longs.
|
||||
- * These macros manipulate such bit fields (the filesystem macros use chars).
|
||||
- * FD_SETSIZE may be defined by the user, but the default here
|
||||
- * should be >= NOFILE (param.h).
|
||||
- */
|
||||
-# ifndef FD_SETSIZE
|
||||
-# define FD_SETSIZE 64
|
||||
-# endif
|
||||
-
|
||||
-typedef long fd_mask;
|
||||
-# define NFDBITS (sizeof (fd_mask) * NBBY) /* bits per mask */
|
||||
-# ifndef howmany
|
||||
-# define howmany(x,y) (((x)+((y)-1))/(y))
|
||||
-# endif
|
||||
-
|
||||
-/* We use a macro for fd_set so that including Sockets.h afterwards
|
||||
- can work. */
|
||||
-typedef struct _types_fd_set {
|
||||
- fd_mask fds_bits[howmany(FD_SETSIZE, NFDBITS)];
|
||||
-} _types_fd_set;
|
||||
-
|
||||
-#define fd_set _types_fd_set
|
||||
-
|
||||
-# define FD_SET(n, p) ((p)->fds_bits[(n)/NFDBITS] |= (1L << ((n) % NFDBITS)))
|
||||
-# define FD_CLR(n, p) ((p)->fds_bits[(n)/NFDBITS] &= ~(1L << ((n) % NFDBITS)))
|
||||
-# define FD_ISSET(n, p) ((p)->fds_bits[(n)/NFDBITS] & (1L << ((n) % NFDBITS)))
|
||||
-# define FD_ZERO(p) (__extension__ (void)({ \
|
||||
- size_t __i; \
|
||||
- char *__tmp = (char *)p; \
|
||||
- for (__i = 0; __i < sizeof (*(p)); ++__i) \
|
||||
- *__tmp++ = 0; \
|
||||
-}))
|
||||
-
|
||||
-# endif /* !(defined (_POSIX_SOURCE) || defined (_WINSOCK_H) || defined (__USE_W32_SOCKETS)) */
|
||||
-
|
||||
+#if !defined(__psp__)
|
||||
/* We don't define fd_set and friends if we are compiling POSIX
|
||||
source, or if we have included (or may include as indicated
|
||||
by __USE_W32_SOCKETS) the W32api winsock[2].h header which
|
||||
@@ -245,6 +246,7 @@
|
||||
}))
|
||||
|
||||
# endif /* !(defined (_POSIX_SOURCE) || defined (_WINSOCK_H) || defined (__USE_W32_SOCKETS)) */
|
||||
+#endif /* !defined(__psp__) */
|
||||
|
||||
#undef __MS_types__
|
||||
#undef _ST_INT32
|
||||
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
--- ./newlib/libc/include/sys/unistd.h.orig 2011-08-19 14:29:34.000000000 +0000
|
||||
+++ ./newlib/libc/include/sys/unistd.h 2012-01-25 19:33:12.000000000 +0000
|
||||
@@ -241,6 +241,7 @@
|
||||
void _EXFUN(sync, (void));
|
||||
#endif
|
||||
|
||||
+#if !defined(__psp__)
|
||||
ssize_t _EXFUN(readlink, (const char *__path, char *__buf, size_t __buflen));
|
||||
#if defined(__CYGWIN__)
|
||||
ssize_t _EXFUN(readlinkat, (int __dirfd1, const char *__path, char *__buf, size_t __buflen));
|
||||
@@ -250,6 +251,7 @@
|
||||
int _EXFUN(symlinkat, (const char *, int, const char *));
|
||||
int _EXFUN(unlinkat, (int, const char *, int));
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
#define F_OK 0
|
||||
#define R_OK 4
|
|
@ -1,19 +0,0 @@
|
|||
--- newlib/libc/include/time.h.orig 2005-11-18 17:57:24.000000000 +0200
|
||||
+++ newlib/libc/include/time.h 2007-06-01 12:22:26.000000000 +0300
|
||||
@@ -174,6 +174,16 @@
|
||||
}
|
||||
#endif
|
||||
#endif /* _POSIX_TIMERS */
|
||||
+#if defined(__psp__)
|
||||
+#ifdef __cplusplus
|
||||
+extern "C" {
|
||||
+#endif
|
||||
+int _EXFUN(nanosleep, (const struct timespec *rqtp, struct timespec *rmtp));
|
||||
+#ifdef __cplusplus
|
||||
+}
|
||||
+#endif
|
||||
+#endif /* __psp__ */
|
||||
+
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
|
@ -1,21 +1,19 @@
|
|||
--- newlib/libc/sys/configure.orig 2006-12-19 00:21:54.000000000 +0200
|
||||
+++ newlib/libc/sys/configure 2007-06-01 12:22:26.000000000 +0300
|
||||
@@ -284,6 +284,7 @@
|
||||
ac_subdirs_all="$ac_subdirs_all mmixware"
|
||||
ac_subdirs_all="$ac_subdirs_all netware"
|
||||
ac_subdirs_all="$ac_subdirs_all rdos"
|
||||
+ac_subdirs_all="$ac_subdirs_all psp"
|
||||
ac_subdirs_all="$ac_subdirs_all rtems"
|
||||
ac_subdirs_all="$ac_subdirs_all sh"
|
||||
ac_subdirs_all="$ac_subdirs_all sparc64"
|
||||
@@ -4925,6 +4926,10 @@
|
||||
|
||||
subdirs="$subdirs netware"
|
||||
--- ./newlib/libc/sys/configure.orig 2011-12-19 22:03:37.000000000 +0000
|
||||
+++ ./newlib/libc/sys/configure 2012-01-25 19:33:12.000000000 +0000
|
||||
@@ -796,6 +796,7 @@
|
||||
mmixware
|
||||
netware
|
||||
rdos
|
||||
+psp
|
||||
rtems
|
||||
sh
|
||||
sparc64
|
||||
@@ -11808,6 +11809,8 @@
|
||||
;;
|
||||
+ psp)
|
||||
+
|
||||
+subdirs="$subdirs psp"
|
||||
rdos) subdirs="$subdirs rdos"
|
||||
;;
|
||||
+ psp) subdirs="$subdirs psp"
|
||||
+ ;;
|
||||
rdos)
|
||||
|
||||
subdirs="$subdirs rdos"
|
||||
rtems) subdirs="$subdirs rtems"
|
||||
;;
|
||||
sh) subdirs="$subdirs sh"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- newlib/libc/sys/configure.in.orig 2006-04-13 22:56:27.000000000 +0300
|
||||
+++ newlib/libc/sys/configure.in 2007-06-01 12:22:26.000000000 +0300
|
||||
@@ -32,6 +32,7 @@
|
||||
--- ./newlib/libc/sys/configure.in.orig 2010-02-24 20:59:55.000000000 +0000
|
||||
+++ ./newlib/libc/sys/configure.in 2012-01-25 19:33:12.000000000 +0000
|
||||
@@ -34,6 +34,7 @@
|
||||
mmixware) AC_CONFIG_SUBDIRS(mmixware) ;;
|
||||
netware) AC_CONFIG_SUBDIRS(netware) ;;
|
||||
rdos) AC_CONFIG_SUBDIRS(rdos) ;;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- newlib/libc/sys/psp/Makefile.am.orig 1970-01-01 02:00:00.000000000 +0200
|
||||
+++ newlib/libc/sys/psp/Makefile.am 2007-06-01 12:22:26.000000000 +0300
|
||||
--- ./newlib/libc/sys/psp/Makefile.am.orig 2012-01-25 19:33:12.000000000 +0000
|
||||
+++ ./newlib/libc/sys/psp/Makefile.am 2012-01-25 19:33:12.000000000 +0000
|
||||
@@ -0,0 +1,71 @@
|
||||
+## Process this file with automake to generate Makefile.in
|
||||
+
|
||||
|
@ -11,11 +11,11 @@
|
|||
+
|
||||
+noinst_LIBRARIES = lib.a
|
||||
+
|
||||
+LIBCGLUE_MULT_OBJS = _close.o _exit.o _fork.o _fstat.o _getpid.o \
|
||||
+ _gettimeofday.o _kill.o _lseek.o _open.o _read.o \
|
||||
+ _sbrk.o _wait.o _write.o clock.o isatty.o time.o \
|
||||
+ _link.o _unlink.o sleep.o opendir.o readdir.o \
|
||||
+ closedir.o getcwd.o chdir.o mkdir.o rmdir.o \
|
||||
+LIBCGLUE_MULT_OBJS = _close.o _exit.o _fork.o _fstat.o _getpid.o \
|
||||
+ _gettimeofday.o _kill.o _lseek.o _open.o _read.o \
|
||||
+ _sbrk.o _wait.o _write.o clock.o isatty.o _isatty.o \
|
||||
+ time.o_link.o _unlink.o sleep.o opendir.o readdir.o \
|
||||
+ closedir.o getcwd.o chdir.o mkdir.o rmdir.o \
|
||||
+ realpath.o _stat.o truncate.o access.o tzset.o \
|
||||
+ __psp_set_errno.o mlock.o _fcntl.o _rename.o nanosleep.o
|
||||
+
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
--- newlib/libc/sys/psp/Makefile.in.orig 1970-01-01 02:00:00.000000000 +0200
|
||||
+++ newlib/libc/sys/psp/Makefile.in 2007-06-01 12:22:26.000000000 +0300
|
||||
@@ -0,0 +1,464 @@
|
||||
+# Makefile.in generated by automake 1.9.6 from Makefile.am.
|
||||
--- ./newlib/libc/sys/psp/Makefile.in.orig 2012-01-25 19:33:12.000000000 +0000
|
||||
+++ ./newlib/libc/sys/psp/Makefile.in 2012-01-25 19:33:12.000000000 +0000
|
||||
@@ -0,0 +1,468 @@
|
||||
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
|
||||
+# @configure_input@
|
||||
+
|
||||
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
||||
+# 2003, 2004, 2005 Free Software Foundation, Inc.
|
||||
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
|
||||
+# Inc.
|
||||
+# This Makefile.in is free software; the Free Software Foundation
|
||||
+# gives unlimited permission to copy and/or distribute it,
|
||||
+# with or without modifications, as long as this notice is preserved.
|
||||
|
@ -17,15 +18,12 @@
|
|||
+
|
||||
+@SET_MAKE@
|
||||
+
|
||||
+srcdir = @srcdir@
|
||||
+top_srcdir = @top_srcdir@
|
||||
+VPATH = @srcdir@
|
||||
+pkgdatadir = $(datadir)/@PACKAGE@
|
||||
+pkglibdir = $(libdir)/@PACKAGE@
|
||||
+pkgincludedir = $(includedir)/@PACKAGE@
|
||||
+top_builddir = .
|
||||
+pkglibdir = $(libdir)/@PACKAGE@
|
||||
+pkglibexecdir = $(libexecdir)/@PACKAGE@
|
||||
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
+INSTALL = @INSTALL@
|
||||
+install_sh_DATA = $(install_sh) -c -m 644
|
||||
+install_sh_PROGRAM = $(install_sh) -c
|
||||
+install_sh_SCRIPT = $(install_sh) -c
|
||||
|
@ -39,53 +37,36 @@
|
|||
+POST_UNINSTALL = :
|
||||
+build_triplet = @build@
|
||||
+host_triplet = @host@
|
||||
+DIST_COMMON = $(srcdir)/../../../../config.guess \
|
||||
+ $(srcdir)/../../../../config.sub README $(srcdir)/Makefile.in \
|
||||
+ $(srcdir)/Makefile.am $(top_srcdir)/configure \
|
||||
+ $(am__configure_deps) $(srcdir)/../../../../mkinstalldirs
|
||||
+subdir = .
|
||||
+DIST_COMMON = README $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
|
||||
+ $(top_srcdir)/configure $(am__configure_deps) \
|
||||
+ $(srcdir)/../../../../mkinstalldirs
|
||||
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
+am__aclocal_m4_deps = $(top_srcdir)/../../../acinclude.m4 \
|
||||
+ $(top_srcdir)/configure.in
|
||||
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
+ $(ACLOCAL_M4)
|
||||
+am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
||||
+ configure.lineno configure.status.lineno
|
||||
+ configure.lineno config.status.lineno
|
||||
+mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../mkinstalldirs
|
||||
+CONFIG_CLEAN_FILES =
|
||||
+CONFIG_CLEAN_VPATH_FILES =
|
||||
+LIBRARIES = $(noinst_LIBRARIES)
|
||||
+ARFLAGS = cru
|
||||
+lib_a_AR = $(AR) $(ARFLAGS)
|
||||
+am__DEPENDENCIES_1 = _close.o _exit.o _fork.o _fstat.o _getpid.o \
|
||||
+ _gettimeofday.o _kill.o _lseek.o _open.o _read.o _sbrk.o \
|
||||
+ _wait.o _write.o clock.o isatty.o time.o _link.o _unlink.o \
|
||||
+ sleep.o opendir.o readdir.o closedir.o getcwd.o chdir.o \
|
||||
+ mkdir.o rmdir.o realpath.o _stat.o truncate.o access.o tzset.o \
|
||||
+ __psp_set_errno.o mlock.o _fcntl.o _rename.o nanosleep.o
|
||||
+am__DEPENDENCIES_2 = socket.o accept.o bind.o connect.o getsockopt.o \
|
||||
+ listen.o recv.o recvfrom.o send.o sendto.o setsockopt.o \
|
||||
+ shutdown.o getsockname.o getpeername.o inet_ntoa.o
|
||||
+am__DEPENDENCIES_3 = vxprintf.o _xprintf.o __sout.o vsnprintf.o \
|
||||
+ snprintf.o vsprintf.o sprintf.o __mout.o mprintf.o vmprintf.o \
|
||||
+ asprintf.o vasprintf.o __fout.o fprintf.o vfprintf.o printf.o \
|
||||
+ vprintf.o _sprintf_r.o
|
||||
+am__DEPENDENCIES_4 = h_errno.o gethostbyaddr.o gethostbyname.o
|
||||
+am__DEPENDENCIES_5 = fdman.o
|
||||
+am__DEPENDENCIES_6 = select.o
|
||||
+am__DEPENDENCIES_7 = interrupt.o
|
||||
+lib_a_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) \
|
||||
+ $(am__DEPENDENCIES_3) $(am__DEPENDENCIES_4) \
|
||||
+ $(am__DEPENDENCIES_5) $(am__DEPENDENCIES_6) \
|
||||
+ $(am__DEPENDENCIES_7)
|
||||
+lib_a_DEPENDENCIES = $(LIBCGLUE_MULT_OBJS) $(SOCKET_MULT_OBJS) \
|
||||
+ $(XPRINTF_MULT_OBJS) $(NETDB_MULT_OBJS) $(FDMAN_OBJS) \
|
||||
+ $(SELECT_OBJS) $(INTERRUPT_OBJS)
|
||||
+am_lib_a_OBJECTS = libcglue.$(OBJEXT) socket.$(OBJEXT) \
|
||||
+ pspcwd.$(OBJEXT) xprintf.$(OBJEXT) netdb.$(OBJEXT) \
|
||||
+ pipe.$(OBJEXT) fdman.$(OBJEXT) select.$(OBJEXT) \
|
||||
+ syscalls.$(OBJEXT) interrupt.$(OBJEXT)
|
||||
+lib_a_OBJECTS = $(am_lib_a_OBJECTS)
|
||||
+DEFAULT_INCLUDES = -I. -I$(srcdir)
|
||||
+DEFAULT_INCLUDES = -I.@am__isrc@
|
||||
+depcomp =
|
||||
+am__depfiles_maybe =
|
||||
+CCASCOMPILE = $(CCAS) $(AM_CCASFLAGS) $(CCASFLAGS)
|
||||
+CPPASCOMPILE = $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
||||
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CCASFLAGS) $(CCASFLAGS)
|
||||
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
+CCLD = $(CC)
|
||||
|
@ -94,8 +75,6 @@
|
|||
+ETAGS = etags
|
||||
+CTAGS = ctags
|
||||
+ACLOCAL = @ACLOCAL@
|
||||
+AMDEP_FALSE = @AMDEP_FALSE@
|
||||
+AMDEP_TRUE = @AMDEP_TRUE@
|
||||
+AMTAR = @AMTAR@
|
||||
+AR = @AR@
|
||||
+AS = @AS@
|
||||
|
@ -113,16 +92,7 @@
|
|||
+ECHO_C = @ECHO_C@
|
||||
+ECHO_N = @ECHO_N@
|
||||
+ECHO_T = @ECHO_T@
|
||||
+ELIX_LEVEL_0_FALSE = @ELIX_LEVEL_0_FALSE@
|
||||
+ELIX_LEVEL_0_TRUE = @ELIX_LEVEL_0_TRUE@
|
||||
+ELIX_LEVEL_1_FALSE = @ELIX_LEVEL_1_FALSE@
|
||||
+ELIX_LEVEL_1_TRUE = @ELIX_LEVEL_1_TRUE@
|
||||
+ELIX_LEVEL_2_FALSE = @ELIX_LEVEL_2_FALSE@
|
||||
+ELIX_LEVEL_2_TRUE = @ELIX_LEVEL_2_TRUE@
|
||||
+ELIX_LEVEL_3_FALSE = @ELIX_LEVEL_3_FALSE@
|
||||
+ELIX_LEVEL_3_TRUE = @ELIX_LEVEL_3_TRUE@
|
||||
+ELIX_LEVEL_4_FALSE = @ELIX_LEVEL_4_FALSE@
|
||||
+ELIX_LEVEL_4_TRUE = @ELIX_LEVEL_4_TRUE@
|
||||
+INSTALL = @INSTALL@
|
||||
+INSTALL_DATA = @INSTALL_DATA@
|
||||
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
|
@ -132,18 +102,17 @@
|
|||
+LIBS = @LIBS@
|
||||
+LTLIBOBJS = @LTLIBOBJS@
|
||||
+MAINT = @MAINT@
|
||||
+MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
|
||||
+MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
|
||||
+MAKEINFO = @MAKEINFO@
|
||||
+MAY_SUPPLY_SYSCALLS_FALSE = @MAY_SUPPLY_SYSCALLS_FALSE@
|
||||
+MAY_SUPPLY_SYSCALLS_TRUE = @MAY_SUPPLY_SYSCALLS_TRUE@
|
||||
+MKDIR_P = @MKDIR_P@
|
||||
+NEWLIB_CFLAGS = @NEWLIB_CFLAGS@
|
||||
+NO_INCLUDE_LIST = @NO_INCLUDE_LIST@
|
||||
+OBJEXT = @OBJEXT@
|
||||
+PACKAGE = @PACKAGE@
|
||||
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
+PACKAGE_NAME = @PACKAGE_NAME@
|
||||
+PACKAGE_STRING = @PACKAGE_STRING@
|
||||
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
||||
+PACKAGE_URL = @PACKAGE_URL@
|
||||
+PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||
+PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||
+RANLIB = @RANLIB@
|
||||
|
@ -151,12 +120,12 @@
|
|||
+SET_MAKE = @SET_MAKE@
|
||||
+SHELL = @SHELL@
|
||||
+STRIP = @STRIP@
|
||||
+USE_LIBTOOL_FALSE = @USE_LIBTOOL_FALSE@
|
||||
+USE_LIBTOOL_TRUE = @USE_LIBTOOL_TRUE@
|
||||
+VERSION = @VERSION@
|
||||
+abs_builddir = @abs_builddir@
|
||||
+abs_srcdir = @abs_srcdir@
|
||||
+abs_top_builddir = @abs_top_builddir@
|
||||
+abs_top_srcdir = @abs_top_srcdir@
|
||||
+aext = @aext@
|
||||
+am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
|
||||
+am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
|
||||
+am__include = @am__include@
|
||||
+am__leading_dot = @am__leading_dot@
|
||||
+am__quote = @am__quote@
|
||||
|
@ -168,6 +137,7 @@
|
|||
+build_cpu = @build_cpu@
|
||||
+build_os = @build_os@
|
||||
+build_vendor = @build_vendor@
|
||||
+builddir = @builddir@
|
||||
+datadir = @datadir@
|
||||
+datarootdir = @datarootdir@
|
||||
+docdir = @docdir@
|
||||
|
@ -200,18 +170,22 @@
|
|||
+psdir = @psdir@
|
||||
+sbindir = @sbindir@
|
||||
+sharedstatedir = @sharedstatedir@
|
||||
+srcdir = @srcdir@
|
||||
+sys_dir = @sys_dir@
|
||||
+sysconfdir = @sysconfdir@
|
||||
+target_alias = @target_alias@
|
||||
+top_build_prefix = @top_build_prefix@
|
||||
+top_builddir = @top_builddir@
|
||||
+top_srcdir = @top_srcdir@
|
||||
+AUTOMAKE_OPTIONS = cygnus
|
||||
+INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
|
||||
+AM_CCASFLAGS = $(INCLUDES) $(CFLAGS)
|
||||
+noinst_LIBRARIES = lib.a
|
||||
+LIBCGLUE_MULT_OBJS = _close.o _exit.o _fork.o _fstat.o _getpid.o \
|
||||
+ _gettimeofday.o _kill.o _lseek.o _open.o _read.o \
|
||||
+ _sbrk.o _wait.o _write.o clock.o isatty.o time.o \
|
||||
+ _link.o _unlink.o sleep.o opendir.o readdir.o \
|
||||
+ closedir.o getcwd.o chdir.o mkdir.o rmdir.o \
|
||||
+LIBCGLUE_MULT_OBJS = _close.o _exit.o _fork.o _fstat.o _getpid.o \
|
||||
+ _gettimeofday.o _kill.o _lseek.o _open.o _read.o \
|
||||
+ _sbrk.o _wait.o _write.o clock.o isatty.o _isatty.o \
|
||||
+ time.o_link.o _unlink.o sleep.o opendir.o readdir.o \
|
||||
+ closedir.o getcwd.o chdir.o mkdir.o rmdir.o \
|
||||
+ realpath.o _stat.o truncate.o access.o tzset.o \
|
||||
+ __psp_set_errno.o mlock.o _fcntl.o _rename.o nanosleep.o
|
||||
+
|
||||
|
@ -246,15 +220,15 @@
|
|||
+ @for dep in $?; do \
|
||||
+ case '$(am__configure_deps)' in \
|
||||
+ *$$dep*) \
|
||||
+ echo ' cd $(srcdir) && $(AUTOMAKE) --cygnus '; \
|
||||
+ cd $(srcdir) && $(AUTOMAKE) --cygnus \
|
||||
+ echo ' cd $(srcdir) && $(AUTOMAKE) --cygnus'; \
|
||||
+ $(am__cd) $(srcdir) && $(AUTOMAKE) --cygnus \
|
||||
+ && exit 0; \
|
||||
+ exit 1;; \
|
||||
+ esac; \
|
||||
+ done; \
|
||||
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile'; \
|
||||
+ cd $(top_srcdir) && \
|
||||
+ $(AUTOMAKE) --cygnus Makefile
|
||||
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile'; \
|
||||
+ $(am__cd) $(top_srcdir) && \
|
||||
+ $(AUTOMAKE) --cygnus Makefile
|
||||
+.PRECIOUS: Makefile
|
||||
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
+ @case '$?' in \
|
||||
|
@ -270,9 +244,10 @@
|
|||
+ $(SHELL) ./config.status --recheck
|
||||
+
|
||||
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
|
||||
+ cd $(srcdir) && $(AUTOCONF)
|
||||
+ $(am__cd) $(srcdir) && $(AUTOCONF)
|
||||
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
|
||||
+ cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
||||
+ $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
||||
+$(am__aclocal_m4_deps):
|
||||
+
|
||||
+clean-noinstLIBRARIES:
|
||||
+ -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
|
||||
|
@ -288,62 +263,65 @@
|
|||
+ -rm -f *.tab.c
|
||||
+
|
||||
+.S.o:
|
||||
+ $(CCASCOMPILE) -c $<
|
||||
+ $(CPPASCOMPILE) -c -o $@ $<
|
||||
+
|
||||
+.S.obj:
|
||||
+ $(CCASCOMPILE) -c `$(CYGPATH_W) '$<'`
|
||||
+ $(CPPASCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
|
||||
+
|
||||
+.c.o:
|
||||
+ $(COMPILE) -c $<
|
||||
+
|
||||
+.c.obj:
|
||||
+ $(COMPILE) -c `$(CYGPATH_W) '$<'`
|
||||
+uninstall-info-am:
|
||||
+
|
||||
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
+ unique=`for i in $$list; do \
|
||||
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
+ done | \
|
||||
+ $(AWK) ' { files[$$0] = 1; } \
|
||||
+ END { for (i in files) print i; }'`; \
|
||||
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
+ mkid -fID $$unique
|
||||
+tags: TAGS
|
||||
+
|
||||
+TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
+ $(TAGS_FILES) $(LISP)
|
||||
+ tags=; \
|
||||
+ set x; \
|
||||
+ here=`pwd`; \
|
||||
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
+ unique=`for i in $$list; do \
|
||||
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
+ done | \
|
||||
+ $(AWK) ' { files[$$0] = 1; } \
|
||||
+ END { for (i in files) print i; }'`; \
|
||||
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
|
||||
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
+ shift; \
|
||||
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
||||
+ test -n "$$unique" || unique=$$empty_fix; \
|
||||
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
+ $$tags $$unique; \
|
||||
+ if test $$# -gt 0; then \
|
||||
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
+ "$$@" $$unique; \
|
||||
+ else \
|
||||
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
+ $$unique; \
|
||||
+ fi; \
|
||||
+ fi
|
||||
+ctags: CTAGS
|
||||
+CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
+ $(TAGS_FILES) $(LISP)
|
||||
+ tags=; \
|
||||
+ here=`pwd`; \
|
||||
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
+ unique=`for i in $$list; do \
|
||||
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
+ done | \
|
||||
+ $(AWK) ' { files[$$0] = 1; } \
|
||||
+ END { for (i in files) print i; }'`; \
|
||||
+ test -z "$(CTAGS_ARGS)$$tags$$unique" \
|
||||
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
||||
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
|
||||
+ test -z "$(CTAGS_ARGS)$$unique" \
|
||||
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||
+ $$tags $$unique
|
||||
+ $$unique
|
||||
+
|
||||
+GTAGS:
|
||||
+ here=`$(am__cd) $(top_builddir) && pwd` \
|
||||
+ && cd $(top_srcdir) \
|
||||
+ && gtags -i $(GTAGS_ARGS) $$here
|
||||
+ && $(am__cd) $(top_srcdir) \
|
||||
+ && gtags -i $(GTAGS_ARGS) "$$here"
|
||||
+
|
||||
+distclean-tags:
|
||||
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||
|
@ -371,6 +349,7 @@
|
|||
+
|
||||
+distclean-generic:
|
||||
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
||||
+
|
||||
+maintainer-clean-generic:
|
||||
+ @echo "This command is intended for maintainers to use"
|
||||
|
@ -391,18 +370,38 @@
|
|||
+
|
||||
+html: html-am
|
||||
+
|
||||
+html-am:
|
||||
+
|
||||
+info: info-am
|
||||
+
|
||||
+info-am:
|
||||
+
|
||||
+install-data-am:
|
||||
+
|
||||
+install-dvi: install-dvi-am
|
||||
+
|
||||
+install-dvi-am:
|
||||
+
|
||||
+install-exec-am:
|
||||
+
|
||||
+install-html: install-html-am
|
||||
+
|
||||
+install-html-am:
|
||||
+
|
||||
+install-info: install-info-am
|
||||
+
|
||||
+install-info-am:
|
||||
+
|
||||
+install-man:
|
||||
+
|
||||
+install-pdf: install-pdf-am
|
||||
+
|
||||
+install-pdf-am:
|
||||
+
|
||||
+install-ps: install-ps-am
|
||||
+
|
||||
+install-ps-am:
|
||||
+
|
||||
+installcheck-am:
|
||||
+
|
||||
+maintainer-clean: maintainer-clean-am
|
||||
|
@ -425,16 +424,20 @@
|
|||
+
|
||||
+uninstall-am:
|
||||
+
|
||||
+.MAKE: install-am install-strip
|
||||
+
|
||||
+.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
|
||||
+ clean-generic clean-noinstLIBRARIES ctags distclean \
|
||||
+ distclean-compile distclean-generic distclean-tags dvi dvi-am \
|
||||
+ html html-am info info-am install install-am install-data \
|
||||
+ install-data-am install-exec install-exec-am install-info \
|
||||
+ install-info-am install-man install-strip installcheck \
|
||||
+ install-data-am install-dvi install-dvi-am install-exec \
|
||||
+ install-exec-am install-html install-html-am install-info \
|
||||
+ install-info-am install-man install-pdf install-pdf-am \
|
||||
+ install-ps install-ps-am install-strip installcheck \
|
||||
+ installcheck-am installdirs maintainer-clean \
|
||||
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||
+ mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
|
||||
+ uninstall-am uninstall-info-am
|
||||
+ uninstall-am
|
||||
+
|
||||
+
|
||||
+all: crt0.o
|
||||
|
@ -462,6 +465,7 @@
|
|||
+
|
||||
+$(INTERRUPT_OBJS): interrupt.S
|
||||
+ $(COMPILE) -DF_$* $< -c -o $@
|
||||
+
|
||||
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
+# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
+.NOEXPORT:
|
||||
|
|
|
@ -1,19 +1,18 @@
|
|||
--- newlib/libc/sys/psp/README.orig 1970-01-01 02:00:00.000000000 +0200
|
||||
+++ newlib/libc/sys/psp/README 2007-06-01 12:22:26.000000000 +0300
|
||||
@@ -0,0 +1,16 @@
|
||||
--- ./newlib/libc/sys/psp/README.orig 2012-01-25 19:33:12.000000000 +0000
|
||||
+++ ./newlib/libc/sys/psp/README 2012-01-25 19:33:12.000000000 +0000
|
||||
@@ -0,0 +1,15 @@
|
||||
+Newlib for PSP
|
||||
+--
|
||||
+
|
||||
+This sys/psp directory depends on PSPSDK headers. It expects them to live in
|
||||
+${prefix}/psp/sdk/include (see newlib/configure.host).
|
||||
+
|
||||
+I used automake 1.4-p6 to generate aclocal.m4 and Makefile.in:
|
||||
+I used the autotools to generate aclocal.m4, Makefile.in and configure using:
|
||||
+
|
||||
+ aclocal -I ../../..
|
||||
+ automake --cygnus
|
||||
+
|
||||
+Autoconf refused to work for me, so I copied configure from sys/sh and modified
|
||||
+$ac_unique_file to point libcglue.c.
|
||||
+ autoconf
|
||||
+
|
||||
+--
|
||||
+Marcus R. Brown <mrbrown@ocgnet.org>
|
||||
+Originally by Marcus R. Brown <mrbrown@ocgnet.org>
|
||||
+Updated by artart78 <arthur.blot78@gmail.com>
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
--- newlib/libc/sys/psp/aclocal.m4.orig 1970-01-01 02:00:00.000000000 +0200
|
||||
+++ newlib/libc/sys/psp/aclocal.m4 2007-06-01 12:22:26.000000000 +0300
|
||||
@@ -0,0 +1,880 @@
|
||||
+# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
|
||||
--- ./newlib/libc/sys/psp/aclocal.m4.orig 2012-01-25 19:33:12.000000000 +0000
|
||||
+++ ./newlib/libc/sys/psp/aclocal.m4 2012-01-25 19:33:12.000000000 +0000
|
||||
@@ -0,0 +1,992 @@
|
||||
+# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
|
||||
+
|
||||
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
|
||||
+# 2005 Free Software Foundation, Inc.
|
||||
+# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
|
||||
+# This file is free software; the Free Software Foundation
|
||||
+# gives unlimited permission to copy and/or distribute it,
|
||||
+# with or without modifications, as long as this notice is preserved.
|
||||
|
@ -14,7 +14,15 @@
|
|||
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
+# PARTICULAR PURPOSE.
|
||||
+
|
||||
+# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
|
||||
+m4_ifndef([AC_AUTOCONF_VERSION],
|
||||
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
|
||||
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
|
||||
+[m4_warning([this file was generated for autoconf 2.68.
|
||||
+You have another version of autoconf. It may work, but is not guaranteed to.
|
||||
+If you have problems, you may need to regenerate the build system entirely.
|
||||
+To do so, use the procedure documented by the package, typically `autoreconf'.])])
|
||||
+
|
||||
+# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
||||
+#
|
||||
+# This file is free software; the Free Software Foundation
|
||||
+# gives unlimited permission to copy and/or distribute it,
|
||||
|
@ -24,14 +32,31 @@
|
|||
+# ----------------------------
|
||||
+# Automake X.Y traces this macro to ensure aclocal.m4 has been
|
||||
+# generated from the m4 files accompanying Automake X.Y.
|
||||
+AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
|
||||
+# (This private macro should not be called outside this file.)
|
||||
+AC_DEFUN([AM_AUTOMAKE_VERSION],
|
||||
+[am__api_version='1.11'
|
||||
+dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
|
||||
+dnl require some minimum version. Point them to the right macro.
|
||||
+m4_if([$1], [1.11.1], [],
|
||||
+ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
|
||||
+])
|
||||
+
|
||||
+# _AM_AUTOCONF_VERSION(VERSION)
|
||||
+# -----------------------------
|
||||
+# aclocal traces this macro to find the Autoconf version.
|
||||
+# This is a private macro too. Using m4_define simplifies
|
||||
+# the logic in aclocal, which can simply ignore this definition.
|
||||
+m4_define([_AM_AUTOCONF_VERSION], [])
|
||||
+
|
||||
+# AM_SET_CURRENT_AUTOMAKE_VERSION
|
||||
+# -------------------------------
|
||||
+# Call AM_AUTOMAKE_VERSION so it can be traced.
|
||||
+# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
|
||||
+# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
|
||||
+# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
|
||||
+AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
|
||||
+ [AM_AUTOMAKE_VERSION([1.9.6])])
|
||||
+[AM_AUTOMAKE_VERSION([1.11.1])dnl
|
||||
+m4_ifndef([AC_AUTOCONF_VERSION],
|
||||
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
|
||||
+_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
|
||||
+
|
||||
+# AM_AUX_DIR_EXPAND -*- Autoconf -*-
|
||||
+
|
||||
|
@ -88,14 +113,14 @@
|
|||
+
|
||||
+# AM_CONDITIONAL -*- Autoconf -*-
|
||||
+
|
||||
+# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
|
||||
+# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
|
||||
+# Free Software Foundation, Inc.
|
||||
+#
|
||||
+# This file is free software; the Free Software Foundation
|
||||
+# gives unlimited permission to copy and/or distribute it,
|
||||
+# with or without modifications, as long as this notice is preserved.
|
||||
+
|
||||
+# serial 7
|
||||
+# serial 9
|
||||
+
|
||||
+# AM_CONDITIONAL(NAME, SHELL-CONDITION)
|
||||
+# -------------------------------------
|
||||
|
@ -104,8 +129,11 @@
|
|||
+[AC_PREREQ(2.52)dnl
|
||||
+ ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
|
||||
+ [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
|
||||
+AC_SUBST([$1_TRUE])
|
||||
+AC_SUBST([$1_FALSE])
|
||||
+AC_SUBST([$1_TRUE])dnl
|
||||
+AC_SUBST([$1_FALSE])dnl
|
||||
+_AM_SUBST_NOTMAKE([$1_TRUE])dnl
|
||||
+_AM_SUBST_NOTMAKE([$1_FALSE])dnl
|
||||
+m4_define([_AM_COND_VALUE_$1], [$2])dnl
|
||||
+if $2; then
|
||||
+ $1_TRUE=
|
||||
+ $1_FALSE='#'
|
||||
|
@ -119,15 +147,14 @@
|
|||
+Usually this means the macro was only invoked conditionally.]])
|
||||
+fi])])
|
||||
+
|
||||
+
|
||||
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
||||
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
|
||||
+# Free Software Foundation, Inc.
|
||||
+#
|
||||
+# This file is free software; the Free Software Foundation
|
||||
+# gives unlimited permission to copy and/or distribute it,
|
||||
+# with or without modifications, as long as this notice is preserved.
|
||||
+
|
||||
+# serial 8
|
||||
+# serial 10
|
||||
+
|
||||
+# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
|
||||
+# written in clear, in which case automake, when reading aclocal.m4,
|
||||
|
@ -155,6 +182,7 @@
|
|||
+ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
|
||||
+ [$1], CXX, [depcc="$CXX" am_compiler_list=],
|
||||
+ [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
|
||||
+ [$1], UPC, [depcc="$UPC" am_compiler_list=],
|
||||
+ [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
|
||||
+ [depcc="$$1" am_compiler_list=])
|
||||
+
|
||||
|
@ -183,6 +211,16 @@
|
|||
+ if test "$am_compiler_list" = ""; then
|
||||
+ am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
|
||||
+ fi
|
||||
+ am__universal=false
|
||||
+ m4_case([$1], [CC],
|
||||
+ [case " $depcc " in #(
|
||||
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
|
||||
+ esac],
|
||||
+ [CXX],
|
||||
+ [case " $depcc " in #(
|
||||
+ *\ -arch\ *\ -arch\ *) am__universal=true ;;
|
||||
+ esac])
|
||||
+
|
||||
+ for depmode in $am_compiler_list; do
|
||||
+ # Setup a source with many dependencies, because some compilers
|
||||
+ # like to wrap large dependency lists on column 80 (with \), and
|
||||
|
@ -200,7 +238,17 @@
|
|||
+ done
|
||||
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
||||
+
|
||||
+ # We check with `-c' and `-o' for the sake of the "dashmstdout"
|
||||
+ # mode. It turns out that the SunPro C++ compiler does not properly
|
||||
+ # handle `-M -o', and we need to detect this. Also, some Intel
|
||||
+ # versions had trouble with output in subdirs
|
||||
+ am__obj=sub/conftest.${OBJEXT-o}
|
||||
+ am__minus_obj="-o $am__obj"
|
||||
+ case $depmode in
|
||||
+ gcc)
|
||||
+ # This depmode causes a compiler race in universal mode.
|
||||
+ test "$am__universal" = false || continue
|
||||
+ ;;
|
||||
+ nosideeffect)
|
||||
+ # after this tag, mechanisms are not by side-effect, so they'll
|
||||
+ # only be used when explicitly requested
|
||||
|
@ -210,18 +258,23 @@
|
|||
+ break
|
||||
+ fi
|
||||
+ ;;
|
||||
+ msvisualcpp | msvcmsys)
|
||||
+ # This compiler won't grok `-c -o', but also, the minuso test has
|
||||
+ # not run yet. These depmodes are late enough in the game, and
|
||||
+ # so weak that their functioning should not be impacted.
|
||||
+ am__obj=conftest.${OBJEXT-o}
|
||||
+ am__minus_obj=
|
||||
+ ;;
|
||||
+ none) break ;;
|
||||
+ esac
|
||||
+ # We check with `-c' and `-o' for the sake of the "dashmstdout"
|
||||
+ # mode. It turns out that the SunPro C++ compiler does not properly
|
||||
+ # handle `-M -o', and we need to detect this.
|
||||
+ if depmode=$depmode \
|
||||
+ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
|
||||
+ source=sub/conftest.c object=$am__obj \
|
||||
+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
||||
+ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
|
||||
+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
|
||||
+ >/dev/null 2>conftest.err &&
|
||||
+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
||||
+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
||||
+ grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
|
||||
+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
|
||||
+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
||||
+ # icc doesn't choke on unknown options, it will just issue warnings
|
||||
+ # or remarks (even with -Werror). So we grep stderr for any message
|
||||
|
@ -272,61 +325,74 @@
|
|||
+ AMDEPBACKSLASH='\'
|
||||
+fi
|
||||
+AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
|
||||
+AC_SUBST([AMDEPBACKSLASH])
|
||||
+AC_SUBST([AMDEPBACKSLASH])dnl
|
||||
+_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
|
||||
+])
|
||||
+
|
||||
+# Generate code to set up dependency tracking. -*- Autoconf -*-
|
||||
+
|
||||
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
||||
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
|
||||
+# Free Software Foundation, Inc.
|
||||
+#
|
||||
+# This file is free software; the Free Software Foundation
|
||||
+# gives unlimited permission to copy and/or distribute it,
|
||||
+# with or without modifications, as long as this notice is preserved.
|
||||
+
|
||||
+#serial 3
|
||||
+#serial 5
|
||||
+
|
||||
+# _AM_OUTPUT_DEPENDENCY_COMMANDS
|
||||
+# ------------------------------
|
||||
+AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
|
||||
+[for mf in $CONFIG_FILES; do
|
||||
+ # Strip MF so we end up with the name of the file.
|
||||
+ mf=`echo "$mf" | sed -e 's/:.*$//'`
|
||||
+ # Check whether this is an Automake generated Makefile or not.
|
||||
+ # We used to match only the files named `Makefile.in', but
|
||||
+ # some people rename them; so instead we look at the file content.
|
||||
+ # Grep'ing the first line is not enough: some people post-process
|
||||
+ # each Makefile.in and add a new line on top of each file to say so.
|
||||
+ # So let's grep whole file.
|
||||
+ if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
|
||||
+ dirpart=`AS_DIRNAME("$mf")`
|
||||
+ else
|
||||
+ continue
|
||||
+ fi
|
||||
+ # Extract the definition of DEPDIR, am__include, and am__quote
|
||||
+ # from the Makefile without running `make'.
|
||||
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
||||
+ test -z "$DEPDIR" && continue
|
||||
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
||||
+ test -z "am__include" && continue
|
||||
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
||||
+ # When using ansi2knr, U may be empty or an underscore; expand it
|
||||
+ U=`sed -n 's/^U = //p' < "$mf"`
|
||||
+ # Find all dependency output files, they are included files with
|
||||
+ # $(DEPDIR) in their names. We invoke sed twice because it is the
|
||||
+ # simplest approach to changing $(DEPDIR) to its actual value in the
|
||||
+ # expansion.
|
||||
+ for file in `sed -n "
|
||||
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
||||
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
||||
+ # Make sure the directory exists.
|
||||
+ test -f "$dirpart/$file" && continue
|
||||
+ fdir=`AS_DIRNAME(["$file"])`
|
||||
+ AS_MKDIR_P([$dirpart/$fdir])
|
||||
+ # echo "creating $dirpart/$file"
|
||||
+ echo '# dummy' > "$dirpart/$file"
|
||||
+[{
|
||||
+ # Autoconf 2.62 quotes --file arguments for eval, but not when files
|
||||
+ # are listed without --file. Let's play safe and only enable the eval
|
||||
+ # if we detect the quoting.
|
||||
+ case $CONFIG_FILES in
|
||||
+ *\'*) eval set x "$CONFIG_FILES" ;;
|
||||
+ *) set x $CONFIG_FILES ;;
|
||||
+ esac
|
||||
+ shift
|
||||
+ for mf
|
||||
+ do
|
||||
+ # Strip MF so we end up with the name of the file.
|
||||
+ mf=`echo "$mf" | sed -e 's/:.*$//'`
|
||||
+ # Check whether this is an Automake generated Makefile or not.
|
||||
+ # We used to match only the files named `Makefile.in', but
|
||||
+ # some people rename them; so instead we look at the file content.
|
||||
+ # Grep'ing the first line is not enough: some people post-process
|
||||
+ # each Makefile.in and add a new line on top of each file to say so.
|
||||
+ # Grep'ing the whole file is not good either: AIX grep has a line
|
||||
+ # limit of 2048, but all sed's we know have understand at least 4000.
|
||||
+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
|
||||
+ dirpart=`AS_DIRNAME("$mf")`
|
||||
+ else
|
||||
+ continue
|
||||
+ fi
|
||||
+ # Extract the definition of DEPDIR, am__include, and am__quote
|
||||
+ # from the Makefile without running `make'.
|
||||
+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
||||
+ test -z "$DEPDIR" && continue
|
||||
+ am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
||||
+ test -z "am__include" && continue
|
||||
+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
||||
+ # When using ansi2knr, U may be empty or an underscore; expand it
|
||||
+ U=`sed -n 's/^U = //p' < "$mf"`
|
||||
+ # Find all dependency output files, they are included files with
|
||||
+ # $(DEPDIR) in their names. We invoke sed twice because it is the
|
||||
+ # simplest approach to changing $(DEPDIR) to its actual value in the
|
||||
+ # expansion.
|
||||
+ for file in `sed -n "
|
||||
+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
||||
+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
||||
+ # Make sure the directory exists.
|
||||
+ test -f "$dirpart/$file" && continue
|
||||
+ fdir=`AS_DIRNAME(["$file"])`
|
||||
+ AS_MKDIR_P([$dirpart/$fdir])
|
||||
+ # echo "creating $dirpart/$file"
|
||||
+ echo '# dummy' > "$dirpart/$file"
|
||||
+ done
|
||||
+ done
|
||||
+done
|
||||
+}
|
||||
+])# _AM_OUTPUT_DEPENDENCY_COMMANDS
|
||||
+
|
||||
+
|
||||
|
@ -345,14 +411,14 @@
|
|||
+
|
||||
+# Do all the work for Automake. -*- Autoconf -*-
|
||||
+
|
||||
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
||||
+# Free Software Foundation, Inc.
|
||||
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
|
||||
+# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
|
||||
+#
|
||||
+# This file is free software; the Free Software Foundation
|
||||
+# gives unlimited permission to copy and/or distribute it,
|
||||
+# with or without modifications, as long as this notice is preserved.
|
||||
+
|
||||
+# serial 12
|
||||
+# serial 16
|
||||
+
|
||||
+# This macro actually does too much. Some checks are only needed if
|
||||
+# your package does certain things. But this isn't really a big deal.
|
||||
|
@ -369,16 +435,20 @@
|
|||
+# arguments mandatory, and then we can depend on a new Autoconf
|
||||
+# release and drop the old call support.
|
||||
+AC_DEFUN([AM_INIT_AUTOMAKE],
|
||||
+[AC_PREREQ([2.58])dnl
|
||||
+[AC_PREREQ([2.62])dnl
|
||||
+dnl Autoconf wants to disallow AM_ names. We explicitly allow
|
||||
+dnl the ones we care about.
|
||||
+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
|
||||
+AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
|
||||
+AC_REQUIRE([AC_PROG_INSTALL])dnl
|
||||
+# test to see if srcdir already configured
|
||||
+if test "`cd $srcdir && pwd`" != "`pwd`" &&
|
||||
+ test -f $srcdir/config.status; then
|
||||
+ AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
|
||||
+if test "`cd $srcdir && pwd`" != "`pwd`"; then
|
||||
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
|
||||
+ # is not polluted with repeated "-I."
|
||||
+ AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
|
||||
+ # test to see if srcdir already configured
|
||||
+ if test -f $srcdir/config.status; then
|
||||
+ AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
|
||||
+ fi
|
||||
+fi
|
||||
+
|
||||
+# test whether we have cygpath
|
||||
|
@ -398,6 +468,9 @@
|
|||
+ AC_SUBST([PACKAGE], [$1])dnl
|
||||
+ AC_SUBST([VERSION], [$2])],
|
||||
+[_AM_SET_OPTIONS([$1])dnl
|
||||
+dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
|
||||
+m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
|
||||
+ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
|
||||
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
|
||||
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
|
||||
+
|
||||
|
@ -413,8 +486,8 @@
|
|||
+AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
|
||||
+AM_MISSING_PROG(AUTOHEADER, autoheader)
|
||||
+AM_MISSING_PROG(MAKEINFO, makeinfo)
|
||||
+AM_PROG_INSTALL_SH
|
||||
+AM_PROG_INSTALL_STRIP
|
||||
+AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
|
||||
+AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
|
||||
+AC_REQUIRE([AM_PROG_MKDIR_P])dnl
|
||||
+# We need awk for the "check" target. The system "awk" is bad on
|
||||
+# some platforms.
|
||||
|
@ -422,20 +495,37 @@
|
|||
+AC_REQUIRE([AC_PROG_MAKE_SET])dnl
|
||||
+AC_REQUIRE([AM_SET_LEADING_DOT])dnl
|
||||
+_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
|
||||
+ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
|
||||
+ [_AM_PROG_TAR([v7])])])
|
||||
+ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
|
||||
+ [_AM_PROG_TAR([v7])])])
|
||||
+_AM_IF_OPTION([no-dependencies],,
|
||||
+[AC_PROVIDE_IFELSE([AC_PROG_CC],
|
||||
+ [_AM_DEPENDENCIES(CC)],
|
||||
+ [define([AC_PROG_CC],
|
||||
+ defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
|
||||
+ [_AM_DEPENDENCIES(CC)],
|
||||
+ [define([AC_PROG_CC],
|
||||
+ defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
|
||||
+AC_PROVIDE_IFELSE([AC_PROG_CXX],
|
||||
+ [_AM_DEPENDENCIES(CXX)],
|
||||
+ [define([AC_PROG_CXX],
|
||||
+ defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
|
||||
+ [_AM_DEPENDENCIES(CXX)],
|
||||
+ [define([AC_PROG_CXX],
|
||||
+ defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
|
||||
+AC_PROVIDE_IFELSE([AC_PROG_OBJC],
|
||||
+ [_AM_DEPENDENCIES(OBJC)],
|
||||
+ [define([AC_PROG_OBJC],
|
||||
+ defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
|
||||
+])
|
||||
+_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
|
||||
+dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
|
||||
+dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
|
||||
+dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
|
||||
+AC_CONFIG_COMMANDS_PRE(dnl
|
||||
+[m4_provide_if([_AM_COMPILER_EXEEXT],
|
||||
+ [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
|
||||
+])
|
||||
+
|
||||
+dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
|
||||
+dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
|
||||
+dnl mangled by Autoconf and run in a shell conditional statement.
|
||||
+m4_define([_AC_COMPILER_EXEEXT],
|
||||
+m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
|
||||
+
|
||||
+
|
||||
+# When config.status generates a header, we must update the stamp-h file.
|
||||
+# This file resides in the same directory as the config header
|
||||
|
@ -446,18 +536,19 @@
|
|||
+# our stamp files there.
|
||||
+AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
|
||||
+[# Compute $1's index in $config_headers.
|
||||
+_am_arg=$1
|
||||
+_am_stamp_count=1
|
||||
+for _am_header in $config_headers :; do
|
||||
+ case $_am_header in
|
||||
+ $1 | $1:* )
|
||||
+ $_am_arg | $_am_arg:* )
|
||||
+ break ;;
|
||||
+ * )
|
||||
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
|
||||
+ esac
|
||||
+done
|
||||
+echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
|
||||
+echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
|
||||
+
|
||||
+# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
|
||||
+# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
|
||||
+#
|
||||
+# This file is free software; the Free Software Foundation
|
||||
+# gives unlimited permission to copy and/or distribute it,
|
||||
|
@ -468,7 +559,14 @@
|
|||
+# Define $install_sh.
|
||||
+AC_DEFUN([AM_PROG_INSTALL_SH],
|
||||
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
||||
+install_sh=${install_sh-"$am_aux_dir/install-sh"}
|
||||
+if test x"${install_sh}" != xset; then
|
||||
+ case $am_aux_dir in
|
||||
+ *\ * | *\ *)
|
||||
+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
|
||||
+ *)
|
||||
+ install_sh="\${SHELL} $am_aux_dir/install-sh"
|
||||
+ esac
|
||||
+fi
|
||||
+AC_SUBST(install_sh)])
|
||||
+
|
||||
+# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
|
||||
|
@ -495,27 +593,38 @@
|
|||
+# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
|
||||
+# From Jim Meyering
|
||||
+
|
||||
+# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
|
||||
+# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
|
||||
+# Free Software Foundation, Inc.
|
||||
+#
|
||||
+# This file is free software; the Free Software Foundation
|
||||
+# gives unlimited permission to copy and/or distribute it,
|
||||
+# with or without modifications, as long as this notice is preserved.
|
||||
+
|
||||
+# serial 4
|
||||
+# serial 5
|
||||
+
|
||||
+# AM_MAINTAINER_MODE([DEFAULT-MODE])
|
||||
+# ----------------------------------
|
||||
+# Control maintainer-specific portions of Makefiles.
|
||||
+# Default is to disable them, unless `enable' is passed literally.
|
||||
+# For symmetry, `disable' may be passed as well. Anyway, the user
|
||||
+# can override the default with the --enable/--disable switch.
|
||||
+AC_DEFUN([AM_MAINTAINER_MODE],
|
||||
+[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
|
||||
+ dnl maintainer-mode is disabled by default
|
||||
+ AC_ARG_ENABLE(maintainer-mode,
|
||||
+[ --enable-maintainer-mode enable make rules and dependencies not useful
|
||||
+[m4_case(m4_default([$1], [disable]),
|
||||
+ [enable], [m4_define([am_maintainer_other], [disable])],
|
||||
+ [disable], [m4_define([am_maintainer_other], [enable])],
|
||||
+ [m4_define([am_maintainer_other], [enable])
|
||||
+ m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
|
||||
+AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
|
||||
+ dnl maintainer-mode's default is 'disable' unless 'enable' is passed
|
||||
+ AC_ARG_ENABLE([maintainer-mode],
|
||||
+[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
|
||||
+ (and sometimes confusing) to the casual installer],
|
||||
+ USE_MAINTAINER_MODE=$enableval,
|
||||
+ USE_MAINTAINER_MODE=no)
|
||||
+ [USE_MAINTAINER_MODE=$enableval],
|
||||
+ [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
|
||||
+ AC_MSG_RESULT([$USE_MAINTAINER_MODE])
|
||||
+ AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
|
||||
+ AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
|
||||
+ MAINT=$MAINTAINER_MODE_TRUE
|
||||
+ AC_SUBST(MAINT)dnl
|
||||
+ AC_SUBST([MAINT])dnl
|
||||
+]
|
||||
+)
|
||||
+
|
||||
|
@ -523,13 +632,13 @@
|
|||
+
|
||||
+# Check to see how 'make' treats includes. -*- Autoconf -*-
|
||||
+
|
||||
+# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
|
||||
+# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
|
||||
+#
|
||||
+# This file is free software; the Free Software Foundation
|
||||
+# gives unlimited permission to copy and/or distribute it,
|
||||
+# with or without modifications, as long as this notice is preserved.
|
||||
+
|
||||
+# serial 3
|
||||
+# serial 4
|
||||
+
|
||||
+# AM_MAKE_INCLUDE()
|
||||
+# -----------------
|
||||
|
@ -538,7 +647,7 @@
|
|||
+[am_make=${MAKE-make}
|
||||
+cat > confinc << 'END'
|
||||
+am__doit:
|
||||
+ @echo done
|
||||
+ @echo this is the am__doit target
|
||||
+.PHONY: am__doit
|
||||
+END
|
||||
+# If we don't find an include directive, just comment out the code.
|
||||
|
@ -548,24 +657,24 @@
|
|||
+_am_result=none
|
||||
+# First try GNU make style include.
|
||||
+echo "include confinc" > confmf
|
||||
+# We grep out `Entering directory' and `Leaving directory'
|
||||
+# messages which can occur if `w' ends up in MAKEFLAGS.
|
||||
+# In particular we don't look at `^make:' because GNU make might
|
||||
+# be invoked under some other name (usually "gmake"), in which
|
||||
+# case it prints its new name instead of `make'.
|
||||
+if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
|
||||
+ am__include=include
|
||||
+ am__quote=
|
||||
+ _am_result=GNU
|
||||
+fi
|
||||
+# Ignore all kinds of additional output from `make'.
|
||||
+case `$am_make -s -f confmf 2> /dev/null` in #(
|
||||
+*the\ am__doit\ target*)
|
||||
+ am__include=include
|
||||
+ am__quote=
|
||||
+ _am_result=GNU
|
||||
+ ;;
|
||||
+esac
|
||||
+# Now try BSD make style include.
|
||||
+if test "$am__include" = "#"; then
|
||||
+ echo '.include "confinc"' > confmf
|
||||
+ if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
|
||||
+ am__include=.include
|
||||
+ am__quote="\""
|
||||
+ _am_result=BSD
|
||||
+ fi
|
||||
+ case `$am_make -s -f confmf 2> /dev/null` in #(
|
||||
+ *the\ am__doit\ target*)
|
||||
+ am__include=.include
|
||||
+ am__quote="\""
|
||||
+ _am_result=BSD
|
||||
+ ;;
|
||||
+ esac
|
||||
+fi
|
||||
+AC_SUBST([am__include])
|
||||
+AC_SUBST([am__quote])
|
||||
|
@ -575,14 +684,14 @@
|
|||
+
|
||||
+# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
|
||||
+
|
||||
+# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
|
||||
+# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
|
||||
+# Free Software Foundation, Inc.
|
||||
+#
|
||||
+# This file is free software; the Free Software Foundation
|
||||
+# gives unlimited permission to copy and/or distribute it,
|
||||
+# with or without modifications, as long as this notice is preserved.
|
||||
+
|
||||
+# serial 4
|
||||
+# serial 6
|
||||
+
|
||||
+# AM_MISSING_PROG(NAME, PROGRAM)
|
||||
+# ------------------------------
|
||||
|
@ -598,7 +707,15 @@
|
|||
+# If it does, set am_missing_run to use it, otherwise, to nothing.
|
||||
+AC_DEFUN([AM_MISSING_HAS_RUN],
|
||||
+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
||||
+test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
|
||||
+AC_REQUIRE_AUX_FILE([missing])dnl
|
||||
+if test x"${MISSING+set}" != xset; then
|
||||
+ case $am_aux_dir in
|
||||
+ *\ * | *\ *)
|
||||
+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
|
||||
+ *)
|
||||
+ MISSING="\${SHELL} $am_aux_dir/missing" ;;
|
||||
+ esac
|
||||
+fi
|
||||
+# Use eval to expand $SHELL
|
||||
+if eval "$MISSING --run true"; then
|
||||
+ am_missing_run="$MISSING --run "
|
||||
|
@ -608,7 +725,7 @@
|
|||
+fi
|
||||
+])
|
||||
+
|
||||
+# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
|
||||
+# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
||||
+#
|
||||
+# This file is free software; the Free Software Foundation
|
||||
+# gives unlimited permission to copy and/or distribute it,
|
||||
|
@ -616,70 +733,33 @@
|
|||
+
|
||||
+# AM_PROG_MKDIR_P
|
||||
+# ---------------
|
||||
+# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
|
||||
+#
|
||||
+# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
|
||||
+# created by `make install' are always world readable, even if the
|
||||
+# installer happens to have an overly restrictive umask (e.g. 077).
|
||||
+# This was a mistake. There are at least two reasons why we must not
|
||||
+# use `-m 0755':
|
||||
+# - it causes special bits like SGID to be ignored,
|
||||
+# - it may be too restrictive (some setups expect 775 directories).
|
||||
+#
|
||||
+# Do not use -m 0755 and let people choose whatever they expect by
|
||||
+# setting umask.
|
||||
+#
|
||||
+# We cannot accept any implementation of `mkdir' that recognizes `-p'.
|
||||
+# Some implementations (such as Solaris 8's) are not thread-safe: if a
|
||||
+# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
|
||||
+# concurrently, both version can detect that a/ is missing, but only
|
||||
+# one can create it and the other will error out. Consequently we
|
||||
+# restrict ourselves to GNU make (using the --version option ensures
|
||||
+# this.)
|
||||
+# Check for `mkdir -p'.
|
||||
+AC_DEFUN([AM_PROG_MKDIR_P],
|
||||
+[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
|
||||
+ # We used to keeping the `.' as first argument, in order to
|
||||
+ # allow $(mkdir_p) to be used without argument. As in
|
||||
+ # $(mkdir_p) $(somedir)
|
||||
+ # where $(somedir) is conditionally defined. However this is wrong
|
||||
+ # for two reasons:
|
||||
+ # 1. if the package is installed by a user who cannot write `.'
|
||||
+ # make install will fail,
|
||||
+ # 2. the above comment should most certainly read
|
||||
+ # $(mkdir_p) $(DESTDIR)$(somedir)
|
||||
+ # so it does not work when $(somedir) is undefined and
|
||||
+ # $(DESTDIR) is not.
|
||||
+ # To support the latter case, we have to write
|
||||
+ # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
|
||||
+ # so the `.' trick is pointless.
|
||||
+ mkdir_p='mkdir -p --'
|
||||
+else
|
||||
+ # On NextStep and OpenStep, the `mkdir' command does not
|
||||
+ # recognize any option. It will interpret all options as
|
||||
+ # directories to create, and then abort because `.' already
|
||||
+ # exists.
|
||||
+ for d in ./-p ./--version;
|
||||
+ do
|
||||
+ test -d $d && rmdir $d
|
||||
+ done
|
||||
+ # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
|
||||
+ if test -f "$ac_aux_dir/mkinstalldirs"; then
|
||||
+ mkdir_p='$(mkinstalldirs)'
|
||||
+ else
|
||||
+ mkdir_p='$(install_sh) -d'
|
||||
+ fi
|
||||
+fi
|
||||
+AC_SUBST([mkdir_p])])
|
||||
+[AC_PREREQ([2.60])dnl
|
||||
+AC_REQUIRE([AC_PROG_MKDIR_P])dnl
|
||||
+dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
|
||||
+dnl while keeping a definition of mkdir_p for backward compatibility.
|
||||
+dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
|
||||
+dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
|
||||
+dnl Makefile.ins that do not define MKDIR_P, so we do our own
|
||||
+dnl adjustment using top_builddir (which is defined more often than
|
||||
+dnl MKDIR_P).
|
||||
+AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
|
||||
+case $mkdir_p in
|
||||
+ [[\\/$]]* | ?:[[\\/]]*) ;;
|
||||
+ */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
|
||||
+esac
|
||||
+])
|
||||
+
|
||||
+# Helper functions for option handling. -*- Autoconf -*-
|
||||
+
|
||||
+# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
|
||||
+# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
|
||||
+#
|
||||
+# This file is free software; the Free Software Foundation
|
||||
+# gives unlimited permission to copy and/or distribute it,
|
||||
+# with or without modifications, as long as this notice is preserved.
|
||||
+
|
||||
+# serial 3
|
||||
+# serial 4
|
||||
+
|
||||
+# _AM_MANGLE_OPTION(NAME)
|
||||
+# -----------------------
|
||||
|
@ -696,7 +776,7 @@
|
|||
+# ----------------------------------
|
||||
+# OPTIONS is a space-separated list of Automake options.
|
||||
+AC_DEFUN([_AM_SET_OPTIONS],
|
||||
+[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
|
||||
+[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
|
||||
+
|
||||
+# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
|
||||
+# -------------------------------------------
|
||||
|
@ -706,14 +786,14 @@
|
|||
+
|
||||
+# Check to make sure that the build environment is sane. -*- Autoconf -*-
|
||||
+
|
||||
+# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
|
||||
+# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
|
||||
+# Free Software Foundation, Inc.
|
||||
+#
|
||||
+# This file is free software; the Free Software Foundation
|
||||
+# gives unlimited permission to copy and/or distribute it,
|
||||
+# with or without modifications, as long as this notice is preserved.
|
||||
+
|
||||
+# serial 4
|
||||
+# serial 5
|
||||
+
|
||||
+# AM_SANITY_CHECK
|
||||
+# ---------------
|
||||
|
@ -722,16 +802,29 @@
|
|||
+# Just in case
|
||||
+sleep 1
|
||||
+echo timestamp > conftest.file
|
||||
+# Reject unsafe characters in $srcdir or the absolute working directory
|
||||
+# name. Accept space and tab only in the latter.
|
||||
+am_lf='
|
||||
+'
|
||||
+case `pwd` in
|
||||
+ *[[\\\"\#\$\&\'\`$am_lf]]*)
|
||||
+ AC_MSG_ERROR([unsafe absolute working directory name]);;
|
||||
+esac
|
||||
+case $srcdir in
|
||||
+ *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
|
||||
+ AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
|
||||
+esac
|
||||
+
|
||||
+# Do `set' in a subshell so we don't clobber the current shell's
|
||||
+# arguments. Must try -L first in case configure is actually a
|
||||
+# symlink; some systems play weird games with the mod time of symlinks
|
||||
+# (eg FreeBSD returns the mod time of the symlink's containing
|
||||
+# directory).
|
||||
+if (
|
||||
+ set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
|
||||
+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
|
||||
+ if test "$[*]" = "X"; then
|
||||
+ # -L didn't work.
|
||||
+ set X `ls -t $srcdir/configure conftest.file`
|
||||
+ set X `ls -t "$srcdir/configure" conftest.file`
|
||||
+ fi
|
||||
+ rm -f conftest.file
|
||||
+ if test "$[*]" != "X $srcdir/configure conftest.file" \
|
||||
|
@ -781,9 +874,28 @@
|
|||
+if test "$cross_compiling" != no; then
|
||||
+ AC_CHECK_TOOL([STRIP], [strip], :)
|
||||
+fi
|
||||
+INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
|
||||
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
||||
+AC_SUBST([INSTALL_STRIP_PROGRAM])])
|
||||
+
|
||||
+# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
|
||||
+#
|
||||
+# This file is free software; the Free Software Foundation
|
||||
+# gives unlimited permission to copy and/or distribute it,
|
||||
+# with or without modifications, as long as this notice is preserved.
|
||||
+
|
||||
+# serial 2
|
||||
+
|
||||
+# _AM_SUBST_NOTMAKE(VARIABLE)
|
||||
+# ---------------------------
|
||||
+# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
|
||||
+# This macro is traced by Automake.
|
||||
+AC_DEFUN([_AM_SUBST_NOTMAKE])
|
||||
+
|
||||
+# AM_SUBST_NOTMAKE(VARIABLE)
|
||||
+# ---------------------------
|
||||
+# Public sister of _AM_SUBST_NOTMAKE.
|
||||
+AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
|
||||
+
|
||||
+# Check how to create a tarball. -*- Autoconf -*-
|
||||
+
|
||||
+# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- newlib/libc/sys/psp/arpa/inet.h.orig 1970-01-01 02:00:00.000000000 +0200
|
||||
+++ newlib/libc/sys/psp/arpa/inet.h 2007-06-01 12:22:26.000000000 +0300
|
||||
--- ./newlib/libc/sys/psp/arpa/inet.h.orig 2012-01-25 19:33:12.000000000 +0000
|
||||
+++ ./newlib/libc/sys/psp/arpa/inet.h 2012-01-25 19:33:12.000000000 +0000
|
||||
@@ -0,0 +1,26 @@
|
||||
+/* arpa/inet.h - Functions for converting IP addresses between strings and numbers */
|
||||
+
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
--- newlib/libc/sys/psp/confdefs.h.orig 1970-01-01 02:00:00.000000000 +0200
|
||||
+++ newlib/libc/sys/psp/confdefs.h 2007-06-01 12:22:26.000000000 +0300
|
||||
--- ./newlib/libc/sys/psp/confdefs.h.orig 2012-01-25 19:33:12.000000000 +0000
|
||||
+++ ./newlib/libc/sys/psp/confdefs.h 2012-01-25 19:33:12.000000000 +0000
|
||||
@@ -0,0 +1 @@
|
||||
+
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,5 +1,5 @@
|
|||
--- newlib/libc/sys/psp/configure.in.orig 1970-01-01 02:00:00.000000000 +0200
|
||||
+++ newlib/libc/sys/psp/configure.in 2007-06-01 12:22:26.000000000 +0300
|
||||
--- ./newlib/libc/sys/psp/configure.in.orig 2012-01-25 19:33:12.000000000 +0000
|
||||
+++ ./newlib/libc/sys/psp/configure.in 2012-01-25 19:33:12.000000000 +0000
|
||||
@@ -0,0 +1,14 @@
|
||||
+dnl This is the newlib/libc/sys/sun4 configure.in file.
|
||||
+dnl Process this file with autoconf to produce a configure script.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- newlib/libc/sys/psp/crt0.c.orig 1970-01-01 02:00:00.000000000 +0200
|
||||
+++ newlib/libc/sys/psp/crt0.c 2007-06-01 12:22:26.000000000 +0300
|
||||
--- ./newlib/libc/sys/psp/crt0.c.orig 2012-01-25 19:33:12.000000000 +0000
|
||||
+++ ./newlib/libc/sys/psp/crt0.c 2012-01-25 19:33:12.000000000 +0000
|
||||
@@ -0,0 +1,3 @@
|
||||
+/* The real crt0.c lives in PSPSDK. */
|
||||
+
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- newlib/libc/sys/psp/fdman.c.orig 1970-01-01 02:00:00.000000000 +0200
|
||||
+++ newlib/libc/sys/psp/fdman.c 2007-06-01 12:22:26.000000000 +0300
|
||||
--- ./newlib/libc/sys/psp/fdman.c.orig 2012-01-25 19:33:12.000000000 +0000
|
||||
+++ ./newlib/libc/sys/psp/fdman.c 2012-01-25 19:33:12.000000000 +0000
|
||||
@@ -0,0 +1,115 @@
|
||||
+/*
|
||||
+ * PSP Software Development Kit - http://www.pspdev.org
|
||||
|
@ -30,19 +30,19 @@
|
|||
+ memset(__psp_descriptormap, 0, sizeof(__psp_descriptormap_type*)*__PSP_FILENO_MAX);
|
||||
+
|
||||
+ scefd = sceKernelStdin();
|
||||
+ if ((scefd >= 0) && (scefd < __PSP_FILENO_MAX)) {
|
||||
+ if (scefd >= 0) {
|
||||
+ __psp_descriptormap[0] = &__psp_descriptor_data_pool[0];
|
||||
+ __psp_descriptormap[0]->sce_descriptor = scefd;
|
||||
+ __psp_descriptormap[0]->type = __PSP_DESCRIPTOR_TYPE_TTY;
|
||||
+ }
|
||||
+ scefd = sceKernelStdout();
|
||||
+ if ((scefd >= 0) && (scefd < __PSP_FILENO_MAX)) {
|
||||
+ if (scefd >= 0) {
|
||||
+ __psp_descriptormap[1] = &__psp_descriptor_data_pool[1];
|
||||
+ __psp_descriptormap[1]->sce_descriptor = scefd;
|
||||
+ __psp_descriptormap[1]->type = __PSP_DESCRIPTOR_TYPE_TTY;
|
||||
+ }
|
||||
+ scefd = sceKernelStderr();
|
||||
+ if ((scefd >= 0) && (scefd < __PSP_FILENO_MAX)) {
|
||||
+ if (scefd >= 0) {
|
||||
+ __psp_descriptormap[2] = &__psp_descriptor_data_pool[2];
|
||||
+ __psp_descriptormap[2]->sce_descriptor = scefd;
|
||||
+ __psp_descriptormap[2]->type = __PSP_DESCRIPTOR_TYPE_TTY;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- newlib/libc/sys/psp/fdman.h.orig 1970-01-01 02:00:00.000000000 +0200
|
||||
+++ newlib/libc/sys/psp/fdman.h 2007-06-01 12:22:26.000000000 +0300
|
||||
--- ./newlib/libc/sys/psp/fdman.h.orig 2012-01-25 19:33:12.000000000 +0000
|
||||
+++ ./newlib/libc/sys/psp/fdman.h 2012-01-25 19:33:12.000000000 +0000
|
||||
@@ -0,0 +1,44 @@
|
||||
+/*
|
||||
+ * PSP Software Development Kit - http://www.pspdev.org
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- newlib/libc/sys/psp/include/netdb.h.orig 1970-01-01 02:00:00.000000000 +0200
|
||||
+++ newlib/libc/sys/psp/include/netdb.h 2007-06-01 12:22:26.000000000 +0300
|
||||
--- ./newlib/libc/sys/psp/include/netdb.h.orig 2012-01-25 19:33:12.000000000 +0000
|
||||
+++ ./newlib/libc/sys/psp/include/netdb.h 2012-01-25 19:33:12.000000000 +0000
|
||||
@@ -0,0 +1,36 @@
|
||||
+/* Simple gethostbyname and gethostbyaddr replacements, note not thread safe */
|
||||
+#ifndef __NETDB_H__
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- newlib/libc/sys/psp/interrupt.S.orig 1970-01-01 02:00:00.000000000 +0200
|
||||
+++ newlib/libc/sys/psp/interrupt.S 2007-06-01 12:22:26.000000000 +0300
|
||||
--- ./newlib/libc/sys/psp/interrupt.S.orig 2012-01-25 19:33:12.000000000 +0000
|
||||
+++ ./newlib/libc/sys/psp/interrupt.S 2012-01-25 19:33:12.000000000 +0000
|
||||
@@ -0,0 +1,66 @@
|
||||
+
|
||||
+ .set noreorder
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- newlib/libc/sys/psp/libcglue.c.orig 1970-01-01 02:00:00.000000000 +0200
|
||||
+++ newlib/libc/sys/psp/libcglue.c 2007-06-01 12:22:26.000000000 +0300
|
||||
@@ -0,0 +1,936 @@
|
||||
--- ./newlib/libc/sys/psp/libcglue.c.orig 2012-01-25 19:33:12.000000000 +0000
|
||||
+++ ./newlib/libc/sys/psp/libcglue.c 2012-01-25 19:33:12.000000000 +0000
|
||||
@@ -0,0 +1,969 @@
|
||||
+/*
|
||||
+ * PSP Software Development Kit - http://www.pspdev.org
|
||||
+ * -----------------------------------------------------------------------
|
||||
|
@ -455,7 +455,42 @@
|
|||
+#ifdef F__gettimeofday
|
||||
+int _gettimeofday(struct timeval *tp, struct timezone *tzp)
|
||||
+{
|
||||
+ return __psp_set_errno(sceKernelLibcGettimeofday(tp, tzp));
|
||||
+ int ret;
|
||||
+ time_t t;
|
||||
+ struct timeval tv1, tv2;
|
||||
+
|
||||
+ /* The kernel sceKernelLibcGettimeofday only returns time
|
||||
+ since midnight. To get a proper timeval return value, we
|
||||
+ get seconds using sceKernelLibcTime and microseconds using
|
||||
+ sceKernelLibcGettimeofday. Since we are reading the time
|
||||
+ with two different function calls, we need to be careful
|
||||
+ to avoid glitches when the time changes between calls. */
|
||||
+
|
||||
+ retry:
|
||||
+ /* Get seconds and microseconds since midnight */
|
||||
+ ret = __psp_set_errno(sceKernelLibcGettimeofday(&tv1, tzp));
|
||||
+ if (ret < 0)
|
||||
+ return ret;
|
||||
+
|
||||
+ /* Get seconds since epoch */
|
||||
+ ret = __psp_set_errno(sceKernelLibcTime(&t));
|
||||
+ if (ret < 0)
|
||||
+ return ret;
|
||||
+
|
||||
+ /* Get seconds and microseconds since midnight, again */
|
||||
+ ret = __psp_set_errno(sceKernelLibcGettimeofday(&tv2, tzp));
|
||||
+ if (ret < 0)
|
||||
+ return ret;
|
||||
+
|
||||
+ /* Retry if microseconds wrapped around */
|
||||
+ if (tv2.tv_usec < tv1.tv_usec)
|
||||
+ goto retry;
|
||||
+
|
||||
+ /* Return the actual time since epoch */
|
||||
+ tp->tv_sec = t;
|
||||
+ tp->tv_usec = tv2.tv_usec;
|
||||
+
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
+#endif
|
||||
|
@ -485,23 +520,11 @@
|
|||
+
|
||||
+/* PSP-compatible sbrk(). */
|
||||
+#if defined(F__sbrk) || defined(F_glue__sbrk)
|
||||
+/* TODO: Currently our default heap is set to the maximum available block size
|
||||
+ when sbrk() is first called. Sony seems to always use a default of 64KB,
|
||||
+ with the expectation that user programs will override the default size with
|
||||
+ their own desired size. The only reason I can think of them doing this is
|
||||
+ to allow each PRX to have their own seperate heap. I think that their
|
||||
+ method is overkill for most user programs.
|
||||
+
|
||||
+ What I'd like to do instead is to use the default of 64KB for PRXes as Sony
|
||||
+ does, but use the maximum available block size for executables. This avoids
|
||||
+ the requirement of specifying the heap size manually in user programs.
|
||||
+ However, we currently don't have a clean way to distinguish PRXes and normal
|
||||
+ executables, so this code needs to be revisited once we do come up with a
|
||||
+ way. */
|
||||
+#define DEFAULT_PRX_HEAP_SIZE_KB 64
|
||||
+
|
||||
+/* If defined it specifies the desired size of the heap, in KB. */
|
||||
+extern unsigned int sce_newlib_heap_kb_size __attribute__((weak));
|
||||
+extern int sce_newlib_heap_kb_size __attribute__((weak));
|
||||
+extern int __pspsdk_is_prx __attribute__((weak));
|
||||
+
|
||||
+/* UID of the memory block that represents the heap. */
|
||||
|
@ -516,23 +539,26 @@
|
|||
+ /* Has our heap been initialized? */
|
||||
+ if (heap_bottom == NULL) {
|
||||
+ /* No, initialize the heap. */
|
||||
+ SceSize heap_size;
|
||||
+ SceSize heap_size = (SceSize) -1;
|
||||
+
|
||||
+ if (&sce_newlib_heap_kb_size != NULL) {
|
||||
+ heap_size = sce_newlib_heap_kb_size * 1024;
|
||||
+ } else {
|
||||
+ if (&__pspsdk_is_prx != NULL) {
|
||||
+ heap_size = DEFAULT_PRX_HEAP_SIZE_KB * 1024;
|
||||
+ } else {
|
||||
+ heap_size = sceKernelMaxFreeMemSize();
|
||||
+ }
|
||||
+ heap_size = sce_newlib_heap_kb_size;
|
||||
+ } else if(&__pspsdk_is_prx != NULL) {
|
||||
+ heap_size = DEFAULT_PRX_HEAP_SIZE_KB;
|
||||
+ }
|
||||
+
|
||||
+ __psp_heap_blockid = sceKernelAllocPartitionMemory(2, "block", PSP_SMEM_Low, heap_size, NULL);
|
||||
+ if (__psp_heap_blockid > 0) {
|
||||
+ heap_bottom = sceKernelGetBlockHeadAddr(__psp_heap_blockid);
|
||||
+ heap_ptr = heap_bottom;
|
||||
+ heap_top = (unsigned char *) heap_bottom + heap_size;
|
||||
+ heap_size *= 1024;
|
||||
+ if ((int)heap_size < 0) {
|
||||
+ heap_size += sceKernelMaxFreeMemSize();
|
||||
+ }
|
||||
+
|
||||
+ if (heap_size != 0) {
|
||||
+ __psp_heap_blockid = sceKernelAllocPartitionMemory(2, "block", PSP_SMEM_Low, heap_size, NULL);
|
||||
+ if (__psp_heap_blockid > 0) {
|
||||
+ heap_bottom = sceKernelGetBlockHeadAddr(__psp_heap_blockid);
|
||||
+ heap_ptr = heap_bottom;
|
||||
+ heap_top = (unsigned char *) heap_bottom + heap_size;
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
|
@ -616,6 +642,13 @@
|
|||
+}
|
||||
+#endif
|
||||
+
|
||||
+#ifdef F__isatty
|
||||
+int _isatty(int fd)
|
||||
+{
|
||||
+ return isatty(fd);
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
+#ifdef F__stat
|
||||
+static time_t psp_to_epoch_time(ScePspDateTime psp_time)
|
||||
+{
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- newlib/libc/sys/psp/netdb.c.orig 1970-01-01 02:00:00.000000000 +0200
|
||||
+++ newlib/libc/sys/psp/netdb.c 2007-06-01 12:22:26.000000000 +0300
|
||||
--- ./newlib/libc/sys/psp/netdb.c.orig 2012-01-25 19:33:12.000000000 +0000
|
||||
+++ ./newlib/libc/sys/psp/netdb.c 2012-01-25 19:33:12.000000000 +0000
|
||||
@@ -0,0 +1,103 @@
|
||||
+/* Simple gethostbyname and gethostbyaddr replacements using the resolver lib */
|
||||
+#include <stdio.h>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- newlib/libc/sys/psp/netinet/in.h.orig 1970-01-01 02:00:00.000000000 +0200
|
||||
+++ newlib/libc/sys/psp/netinet/in.h 2007-06-01 12:22:26.000000000 +0300
|
||||
--- ./newlib/libc/sys/psp/netinet/in.h.orig 2012-01-25 19:33:12.000000000 +0000
|
||||
+++ ./newlib/libc/sys/psp/netinet/in.h 2012-01-25 19:33:12.000000000 +0000
|
||||
@@ -0,0 +1,271 @@
|
||||
+/* $NetBSD: in.h,v 1.71 2005/08/05 09:21:25 elad Exp $ */
|
||||
+
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- newlib/libc/sys/psp/netinet/tcp.h.orig 1970-01-01 02:00:00.000000000 +0200
|
||||
+++ newlib/libc/sys/psp/netinet/tcp.h 2007-06-01 12:22:26.000000000 +0300
|
||||
--- ./newlib/libc/sys/psp/netinet/tcp.h.orig 2012-01-25 19:33:12.000000000 +0000
|
||||
+++ ./newlib/libc/sys/psp/netinet/tcp.h 2012-01-25 19:33:12.000000000 +0000
|
||||
@@ -0,0 +1,12 @@
|
||||
+#ifndef __NETINET_TCP_H__
|
||||
+#define __NETINET_TCP_H__
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- newlib/libc/sys/psp/pipe.c.orig 1970-01-01 02:00:00.000000000 +0200
|
||||
+++ newlib/libc/sys/psp/pipe.c 2007-06-01 12:22:26.000000000 +0300
|
||||
--- ./newlib/libc/sys/psp/pipe.c.orig 2012-01-25 19:33:12.000000000 +0000
|
||||
+++ ./newlib/libc/sys/psp/pipe.c 2012-01-25 19:33:12.000000000 +0000
|
||||
@@ -0,0 +1,305 @@
|
||||
+/*
|
||||
+ * PSP Software Development Kit - http://www.pspdev.org
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- newlib/libc/sys/psp/pspcwd.c.orig 1970-01-01 02:00:00.000000000 +0200
|
||||
+++ newlib/libc/sys/psp/pspcwd.c 2007-06-01 12:22:26.000000000 +0300
|
||||
--- ./newlib/libc/sys/psp/pspcwd.c.orig 2012-01-25 19:33:12.000000000 +0000
|
||||
+++ ./newlib/libc/sys/psp/pspcwd.c 2012-01-25 19:33:12.000000000 +0000
|
||||
@@ -0,0 +1,166 @@
|
||||
+/*
|
||||
+ * PSP Software Development Kit - http://www.pspdev.org
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- newlib/libc/sys/psp/select.c.orig 1970-01-01 02:00:00.000000000 +0200
|
||||
+++ newlib/libc/sys/psp/select.c 2007-06-01 17:45:11.000000000 +0300
|
||||
--- ./newlib/libc/sys/psp/select.c.orig 2012-01-25 19:33:12.000000000 +0000
|
||||
+++ ./newlib/libc/sys/psp/select.c 2012-01-25 19:33:12.000000000 +0000
|
||||
@@ -0,0 +1,199 @@
|
||||
+/*
|
||||
+ * PSP Software Development Kit - http://www.pspdev.org
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- newlib/libc/sys/psp/socket.c.orig 1970-01-01 02:00:00.000000000 +0200
|
||||
+++ newlib/libc/sys/psp/socket.c 2007-06-01 12:22:26.000000000 +0300
|
||||
--- ./newlib/libc/sys/psp/socket.c.orig 2012-01-25 19:33:12.000000000 +0000
|
||||
+++ ./newlib/libc/sys/psp/socket.c 2012-01-25 19:33:12.000000000 +0000
|
||||
@@ -0,0 +1,390 @@
|
||||
+/*
|
||||
+ * PSP Software Development Kit - http://www.pspdev.org
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- newlib/libc/sys/psp/sys/dirent.h.orig 1970-01-01 02:00:00.000000000 +0200
|
||||
+++ newlib/libc/sys/psp/sys/dirent.h 2007-06-01 12:22:26.000000000 +0300
|
||||
--- ./newlib/libc/sys/psp/sys/dirent.h.orig 2012-01-25 19:33:12.000000000 +0000
|
||||
+++ ./newlib/libc/sys/psp/sys/dirent.h 2012-01-25 19:33:12.000000000 +0000
|
||||
@@ -0,0 +1,39 @@
|
||||
+#ifndef _SYS_DIRENT_H
|
||||
+#define _SYS_DIRENT_H
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- newlib/libc/sys/psp/sys/errno.h.orig 1970-01-01 02:00:00.000000000 +0200
|
||||
+++ newlib/libc/sys/psp/sys/errno.h 2007-06-01 12:22:26.000000000 +0300
|
||||
--- ./newlib/libc/sys/psp/sys/errno.h.orig 2012-01-25 19:33:12.000000000 +0000
|
||||
+++ ./newlib/libc/sys/psp/sys/errno.h 2012-01-25 19:33:12.000000000 +0000
|
||||
@@ -0,0 +1,158 @@
|
||||
+/* errno.h for PSP, based on newlib/libc/include/sys/errno.h. */
|
||||
+
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- newlib/libc/sys/psp/sys/fd_set.h.orig 1970-01-01 02:00:00.000000000 +0200
|
||||
+++ newlib/libc/sys/psp/sys/fd_set.h 2007-06-01 12:22:26.000000000 +0300
|
||||
--- ./newlib/libc/sys/psp/sys/fd_set.h.orig 2012-01-25 19:33:12.000000000 +0000
|
||||
+++ ./newlib/libc/sys/psp/sys/fd_set.h 2012-01-25 19:33:12.000000000 +0000
|
||||
@@ -0,0 +1,69 @@
|
||||
+/* $NetBSD: fd_set.h,v 1.1 2005/05/22 12:44:24 kleink Exp $ */
|
||||
+
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
--- newlib/libc/sys/psp/sys/ioctl.h.orig 1970-01-01 02:00:00.000000000 +0200
|
||||
+++ newlib/libc/sys/psp/sys/ioctl.h 2007-06-01 12:22:26.000000000 +0300
|
||||
--- ./newlib/libc/sys/psp/sys/ioctl.h.orig 2012-01-25 19:33:12.000000000 +0000
|
||||
+++ ./newlib/libc/sys/psp/sys/ioctl.h 2012-01-25 19:33:12.000000000 +0000
|
||||
@@ -0,0 +1 @@
|
||||
+/* Empty file, here for compatibility */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- newlib/libc/sys/psp/sys/select.h.orig 1970-01-01 02:00:00.000000000 +0200
|
||||
+++ newlib/libc/sys/psp/sys/select.h 2007-06-01 12:22:26.000000000 +0300
|
||||
--- ./newlib/libc/sys/psp/sys/select.h.orig 2012-01-25 19:33:12.000000000 +0000
|
||||
+++ ./newlib/libc/sys/psp/sys/select.h 2012-01-25 19:33:12.000000000 +0000
|
||||
@@ -0,0 +1,54 @@
|
||||
+/* $NetBSD: select.h,v 1.24 2005/05/22 12:44:24 kleink Exp $ */
|
||||
+
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- newlib/libc/sys/psp/sys/socket.h.orig 1970-01-01 02:00:00.000000000 +0200
|
||||
+++ newlib/libc/sys/psp/sys/socket.h 2007-06-01 12:22:26.000000000 +0300
|
||||
--- ./newlib/libc/sys/psp/sys/socket.h.orig 2012-01-25 19:33:12.000000000 +0000
|
||||
+++ ./newlib/libc/sys/psp/sys/socket.h 2012-01-25 19:33:12.000000000 +0000
|
||||
@@ -0,0 +1,294 @@
|
||||
+/* $NetBSD: socket.h,v 1.77 2005/11/29 03:12:16 christos Exp $ */
|
||||
+
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- newlib/libc/sys/psp/syscalls.c.orig 1970-01-01 02:00:00.000000000 +0200
|
||||
+++ newlib/libc/sys/psp/syscalls.c 2007-06-01 12:22:26.000000000 +0300
|
||||
--- ./newlib/libc/sys/psp/syscalls.c.orig 2012-01-25 19:33:12.000000000 +0000
|
||||
+++ ./newlib/libc/sys/psp/syscalls.c 2012-01-25 19:33:12.000000000 +0000
|
||||
@@ -0,0 +1,19 @@
|
||||
+/*
|
||||
+ * PSP Software Development Kit - http://www.pspdev.org
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- newlib/libc/sys/psp/xprintf.c.orig 1970-01-01 02:00:00.000000000 +0200
|
||||
+++ newlib/libc/sys/psp/xprintf.c 2007-06-01 12:22:26.000000000 +0300
|
||||
--- ./newlib/libc/sys/psp/xprintf.c.orig 2012-01-25 19:33:12.000000000 +0000
|
||||
+++ ./newlib/libc/sys/psp/xprintf.c 2012-01-25 19:33:12.000000000 +0000
|
||||
@@ -0,0 +1,984 @@
|
||||
+/*
|
||||
+ * PSP Software Development Kit - http://www.pspdev.org
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
psp/lib/libm.a
|
||||
psp/lib/libg.a
|
||||
psp/lib/libc.a
|
||||
psp/lib/crt0.o
|
||||
psp/lib/crt0.newlib.o
|
||||
psp/include/wordexp.h
|
||||
psp/include/wctype.h
|
||||
psp/include/wchar.h
|
||||
psp/include/utmp.h
|
||||
|
@ -10,6 +11,7 @@ psp/include/unistd.h
|
|||
psp/include/unctrl.h
|
||||
psp/include/time.h
|
||||
psp/include/termios.h
|
||||
psp/include/tar.h
|
||||
psp/include/sys/wait.h
|
||||
psp/include/sys/utime.h
|
||||
psp/include/sys/unistd.h
|
||||
|
@ -38,16 +40,23 @@ psp/include/sys/fd_set.h
|
|||
psp/include/sys/fcntl.h
|
||||
psp/include/sys/errno.h
|
||||
psp/include/sys/dirent.h
|
||||
psp/include/sys/dir.h
|
||||
psp/include/sys/custom_file.h
|
||||
psp/include/sys/config.h
|
||||
psp/include/sys/cdefs.h
|
||||
psp/include/sys/_types.h
|
||||
psp/include/sys/_default_fcntl.h
|
||||
psp/include/strings.h
|
||||
psp/include/string.h
|
||||
psp/include/stdlib.h
|
||||
psp/include/stdio_ext.h
|
||||
psp/include/stdio.h
|
||||
psp/include/stdint.h
|
||||
psp/include/signal.h
|
||||
psp/include/setjmp.h
|
||||
psp/include/search.h
|
||||
psp/include/sched.h
|
||||
psp/include/regex.h
|
||||
psp/include/regdef.h
|
||||
psp/include/reent.h
|
||||
psp/include/pwd.h
|
||||
|
@ -74,6 +83,7 @@ psp/include/machine/fastmath.h
|
|||
psp/include/machine/endian.h
|
||||
psp/include/machine/ansi.h
|
||||
psp/include/machine/_types.h
|
||||
psp/include/machine/_default_types.h
|
||||
psp/include/locale.h
|
||||
psp/include/limits.h
|
||||
psp/include/libgen.h
|
||||
|
@ -82,13 +92,17 @@ psp/include/inttypes.h
|
|||
psp/include/ieeefp.h
|
||||
psp/include/iconv.h
|
||||
psp/include/grp.h
|
||||
psp/include/glob.h
|
||||
psp/include/getopt.h
|
||||
psp/include/fnmatch.h
|
||||
psp/include/fcntl.h
|
||||
psp/include/fastmath.h
|
||||
psp/include/errno.h
|
||||
psp/include/envz.h
|
||||
psp/include/envlock.h
|
||||
psp/include/dirent.h
|
||||
psp/include/ctype.h
|
||||
psp/include/complex.h
|
||||
psp/include/assert.h
|
||||
psp/include/arpa/inet.h
|
||||
psp/include/argz.h
|
||||
|
@ -100,6 +114,8 @@ psp/include/_ansi.h
|
|||
@dirrm psp/include/netinet
|
||||
@dirrm psp/include/machine
|
||||
@dirrm psp/include/arpa
|
||||
@dirrmtry psp/include/rpc
|
||||
@dirrmtry psp/include/bits
|
||||
@dirrmtry psp/include
|
||||
@dirrmtry psp/lib
|
||||
@dirrmtry psp
|
||||
|
|
Loading…
Reference in a new issue