Deleted Added
full compact
Makefile.inc (169719) Makefile.inc (171218)
1# @(#)Makefile.inc 8.3 (Berkeley) 10/24/94
1# @(#)Makefile.inc 8.3 (Berkeley) 10/24/94
2# $FreeBSD: head/lib/libc/sys/Makefile.inc 169719 2007-05-19 04:31:43Z kan $
2# $FreeBSD: head/lib/libc/sys/Makefile.inc 171218 2007-07-04 23:23:01Z peter $
3
4# sys sources
5.PATH: ${.CURDIR}/${MACHINE_ARCH}/sys ${.CURDIR}/sys
6
7# Include the generated makefile containing the *complete* list
8# of syscall names in MIASM.
9.include "${.CURDIR}/../../sys/sys/syscall.mk"
10
11# Include machine dependent definitions.
12#
13# MDASM names override the default syscall names in MIASM.
14# NOASM will prevent the default syscall code from being generated.
15#
16.if exists(${.CURDIR}/${MACHINE_ARCH}/sys/Makefile.inc)
17.include "${.CURDIR}/${MACHINE_ARCH}/sys/Makefile.inc"
18.endif
19
20# Sources common to both syscall interfaces:
3
4# sys sources
5.PATH: ${.CURDIR}/${MACHINE_ARCH}/sys ${.CURDIR}/sys
6
7# Include the generated makefile containing the *complete* list
8# of syscall names in MIASM.
9.include "${.CURDIR}/../../sys/sys/syscall.mk"
10
11# Include machine dependent definitions.
12#
13# MDASM names override the default syscall names in MIASM.
14# NOASM will prevent the default syscall code from being generated.
15#
16.if exists(${.CURDIR}/${MACHINE_ARCH}/sys/Makefile.inc)
17.include "${.CURDIR}/${MACHINE_ARCH}/sys/Makefile.inc"
18.endif
19
20# Sources common to both syscall interfaces:
21SRCS+= ftruncate.c lseek.c mmap.c pread.c pwrite.c stack_protector.c \
22 truncate.c __error.c
21SRCS+= stack_protector.c __error.c
22.if !defined(WITHOUT_SYSCALL_COMPAT)
23SRCS+= ftruncate.c lseek.c mmap.c pread.c pwrite.c truncate.c
24.endif
23
24# Add machine dependent asm sources:
25SRCS+=${MDASM}
26
27# Look though the complete list of syscalls (MIASM) for names that are
28# not defined with machine dependent implementations (MDASM) and are
29# not declared for no generation of default code (NOASM). Add each
30# syscall that satisfies these conditions to the ASM list.

--- 139 unchanged lines hidden ---
25
26# Add machine dependent asm sources:
27SRCS+=${MDASM}
28
29# Look though the complete list of syscalls (MIASM) for names that are
30# not defined with machine dependent implementations (MDASM) and are
31# not declared for no generation of default code (NOASM). Add each
32# syscall that satisfies these conditions to the ASM list.

--- 139 unchanged lines hidden ---