summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/support/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/support/Makefile.inc')
-rw-r--r--lib/libpthread/support/Makefile.inc40
1 files changed, 0 insertions, 40 deletions
diff --git a/lib/libpthread/support/Makefile.inc b/lib/libpthread/support/Makefile.inc
deleted file mode 100644
index 956667f..0000000
--- a/lib/libpthread/support/Makefile.inc
+++ /dev/null
@@ -1,40 +0,0 @@
-# $FreeBSD$
-
-.PATH: ${.CURDIR}/support ${.CURDIR}/../libc/gen ${.CURDIR}/../libc/string
-.PATH: ${.CURDIR}/../libc/${MACHINE_ARCH}/sys
-
-CFLAGS+= -I${.CURDIR}/../libc/${MACHINE_ARCH}
-
-SYSCALLS= clock_gettime \
- kse_create \
- kse_exit \
- kse_release \
- kse_switchin \
- kse_thr_interrupt \
- kse_wakeup \
- sigaction \
- sigprocmask \
- sigtimedwait \
- write
-
-SYSCALL_SRC= ${SYSCALLS:S/$/.S/}
-SYSCALL_OBJ= ${SYSCALLS:S/$/.So/}
-
-${SYSCALL_SRC}:
- printf '#include "SYS.h"\nRSYSCALL(${.PREFIX})\n' > ${.TARGET}
-
-LIBC_OBJS= sigsetops.So \
- bcopy.So \
- bzero.So \
- cerror.So \
- memcpy.So \
- memset.So \
- strcpy.So \
- strlen.So
-
-SOBJS+= thr_libc.So
-CLEANFILES+= ${SYSCALL_SRC} ${SYSCALL_OBJ} ${LIBC_OBJS}
-
-thr_libc.So: ${SYSCALL_OBJ} ${LIBC_OBJS}
- ${CC} -fPIC -nostdlib -o ${.TARGET} -r ${.ALLSRC}
-
OpenPOWER on IntegriCloud