diff options
author | David Leonard <d@cvs.openbsd.org> | 1999-01-06 05:36:19 +0000 |
---|---|---|
committer | David Leonard <d@cvs.openbsd.org> | 1999-01-06 05:36:19 +0000 |
commit | 9d969f65f08616ac45531fa173b36c2526bf42cf (patch) | |
tree | b626b734c07cb32854812777aaf4846b53bd9d89 /lib/libpthread/sys/Makefile.inc | |
parent | 9ab0a75a4ac38d0ebbc15b577ac972bb69efc6c3 (diff) |
use indr_reference instead of PASSTHRU
Diffstat (limited to 'lib/libpthread/sys/Makefile.inc')
-rw-r--r-- | lib/libpthread/sys/Makefile.inc | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/lib/libpthread/sys/Makefile.inc b/lib/libpthread/sys/Makefile.inc index be55ff3747b..2c4ee0df2fd 100644 --- a/lib/libpthread/sys/Makefile.inc +++ b/lib/libpthread/sys/Makefile.inc @@ -1,16 +1,17 @@ -# $Id: Makefile.inc,v 1.2 1998/11/20 11:15:38 d Exp $ -# $OpenBSD: Makefile.inc,v 1.2 1998/11/20 11:15:38 d Exp $ +# $Id: Makefile.inc,v 1.3 1999/01/06 05:36:18 d Exp $ +# $OpenBSD: Makefile.inc,v 1.3 1999/01/06 05:36:18 d Exp $ .PATH: ${.CURDIR}/sys ${.CURDIR}/arch/${MACHINE_ARCH} -SRCS+= uthread_error.c _atomic_lock.c _sys_aliases.S slow_atomic_lock.c +SRCS+= uthread_error.c _atomic_lock.c slow_atomic_lock.c -_sys_aliases.S: ${.CURDIR}/Makefile ${LIBCSRCDIR}/sys/Makefile.inc - (echo '#include "SYS.h"'; \ +SRCS+= _sys_aliases.c +CLEANFILES += _sys_aliases.c +_sys_aliases.c: ${.CURDIR}/Makefile ${LIBCSRCDIR}/sys/Makefile.inc + (echo '#include <sys/cdefs.h>'; \ for fn in ${ASM:R} ${PSEUDO:R} ""; do \ case $$fn in ${HIDDEN_SYSCALLS:.o=|}"") : stays hidden ;; \ - *) echo "PASSTHRU($$fn)";; \ + *) echo "__indr_reference(_thread_sys_$$fn,$$fn);";; \ esac; \ done ) > ${.TARGET} -CLEANFILES += _sys_aliases.S |