about summary refs log tree commit diff
path: root/posix/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-06-30 12:09:42 +0000
committerUlrich Drepper <drepper@redhat.com>1998-06-30 12:09:42 +0000
commit4959e310bfbf3fa34b5a4b4ff688d8d564c8363c (patch)
tree65381cc0476c07dfb96c8dee790fda3630744a8f /posix/Makefile
parentfdacb17d4819c7112a147195c5ce3c82147f4b46 (diff)
downloadglibc-4959e310bfbf3fa34b5a4b4ff688d8d564c8363c.tar.gz
glibc-4959e310bfbf3fa34b5a4b4ff688d8d564c8363c.tar.xz
glibc-4959e310bfbf3fa34b5a4b4ff688d8d564c8363c.zip
Update.
1998-06-30 11:47  Ulrich Drepper  <drepper@cygnus.com>

	* include/aio.h: New file.
	* posix/Makefile (distribute): Add bits/pthreadtypes.h.
	(tests): Build and run annexc program.
	* posix/annexc.c: New file.
	* posix/bits/posix1_lim.h: Add several more _POSIX_* limits.
	* rt/aio.h: Remove __need_timespec_t.  We can include the whole time.h.
	* rt/aio_misc.c: Include limits.h.
	* rt/aio_notify.c: Include errno.h.
	* sysdeps/unix/sysv/linux/alpha/bits/types.h: Include pthreadtypes.h.
	Define size_t.
	* sysdeps/unix/sysv/linux/bits/types.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
	* sysdeps/unix/sysv/linux/bits/errno.h: Define ENOTSUP though the
	kernel doesn't do this.
	* sysdeps/unix/sysv/linux/bits/fcntl.h: Define O_LARGEFILE only if
	__USE_LARGEFILE64 is defined.
	* sysdeps/unix/sysv/linux/bits/pthreadtypes.h: New file.  Empty.
	* sysdeps/unix/sysv/linux/bits/sched.h: Define __sched_param struct
	if requested.
	* sysdeps/unix/sysv/linux/bits/siginifo.h: Protect non-standard names.

	* stdlib/isomac.c: Avoid include_next warning.
Diffstat (limited to 'posix/Makefile')
-rw-r--r--posix/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/posix/Makefile b/posix/Makefile
index 20c1c2b44c..ae3a40b04c 100644
--- a/posix/Makefile
+++ b/posix/Makefile
@@ -26,7 +26,8 @@ headers	:= sys/utsname.h sys/times.h sys/wait.h sys/types.h unistd.h	      \
 	   bits/posix1_lim.h bits/posix2_lim.h bits/posix_opt.h 	      \
 	   bits/local_lim.h tar.h bits/utsname.h bits/confname.h	      \
 	   bits/waitflags.h bits/waitstatus.h sys/unistd.h sched.h	      \
-	   bits/sched.h re_comp.h wait.h bits/environments.h cpio.h
+	   bits/sched.h re_comp.h wait.h bits/environments.h cpio.h	      \
+	   bits/pthreadtypes.h
 
 distribute := confstr.h TESTS TESTS2C.sed testcases.h \
 	      PTESTS PTESTS2C.sed ptestcases.h \
@@ -132,3 +133,11 @@ endif
 %.gz: %
 	gzip -9v -c $< > $@-tmp
 	mv $@-tmp $@
+
+# Run a test on the header files we use.
+# XXX Please note that for now we ignore the result of this test.
+tests: $(objpfx)annexc
+	-$(dir $<)$(notdir $<) '$(CC)' '-I../include -I../include -I.. $(+sysdep-includes) -I../include -I../include -I..' > $<.out
+
+$(objpfx)annexc: annexc.c
+	$(native-compile)