(distribute): Add bits/pthreadtypes.h.
authordrepper <drepper>
Tue, 30 Jun 1998 11:58:06 +0000 (11:58 +0000)
committerdrepper <drepper>
Tue, 30 Jun 1998 11:58:06 +0000 (11:58 +0000)
(tests): Build and run annexc program.

posix/Makefile

index 20c1c2b..ae3a40b 100644 (file)
@@ -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)