Deleted Added
full compact
Makefile.inc (217099) Makefile.inc (217850)
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 217099 2011-01-07 14:28:54Z kib $
2# $FreeBSD: head/lib/libc/sys/Makefile.inc 217850 2011-01-25 21:06:49Z kib $
3
4# sys sources
5.PATH: ${.CURDIR}/${LIBC_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

--- 37 unchanged lines hidden (view full) ---

48
49SRCS+= ${SASM} ${SPSEUDO}
50
51SYM_MAPS+= ${.CURDIR}/sys/Symbol.map
52
53# Generated files
54CLEANFILES+= ${SASM} ${SPSEUDO}
55
3
4# sys sources
5.PATH: ${.CURDIR}/${LIBC_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

--- 37 unchanged lines hidden (view full) ---

48
49SRCS+= ${SASM} ${SPSEUDO}
50
51SYM_MAPS+= ${.CURDIR}/sys/Symbol.map
52
53# Generated files
54CLEANFILES+= ${SASM} ${SPSEUDO}
55
56.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386" || \
57 ${MACHINE_CPUARCH} == "powerpc"
58NOTE_GNU_STACK='\t.section .note.GNU-stack,"",%%progbits\n'
59.else
60NOTE_GNU_STACK=''
61.endif
62
56${SASM}:
57 printf '#include "compat.h"\n' > ${.TARGET}
58 printf '#include "SYS.h"\nRSYSCALL(${.PREFIX})\n' >> ${.TARGET}
63${SASM}:
64 printf '#include "compat.h"\n' > ${.TARGET}
65 printf '#include "SYS.h"\nRSYSCALL(${.PREFIX})\n' >> ${.TARGET}
59 printf '\t.section .note.GNU-stack,"",%%progbits\n' >>${.TARGET}
66 printf ${NOTE_GNU_STACK} >>${.TARGET}
60
61${SPSEUDO}:
62 printf '#include "compat.h"\n' > ${.TARGET}
63 printf '#include "SYS.h"\nPSEUDO(${.PREFIX:S/_//})\n' \
64 >> ${.TARGET}
67
68${SPSEUDO}:
69 printf '#include "compat.h"\n' > ${.TARGET}
70 printf '#include "SYS.h"\nPSEUDO(${.PREFIX:S/_//})\n' \
71 >> ${.TARGET}
65 printf '\t.section .note.GNU-stack,"",%%progbits\n' >>${.TARGET}
72 printf ${NOTE_GNU_STACK} >>${.TARGET}
66
67MAN+= abort2.2 accept.2 access.2 acct.2 adjtime.2 \
68 aio_cancel.2 aio_error.2 aio_read.2 aio_return.2 \
69 aio_suspend.2 aio_waitcomplete.2 aio_write.2 \
70 bind.2 brk.2 chdir.2 chflags.2 \
71 chmod.2 chown.2 chroot.2 clock_gettime.2 close.2 closefrom.2 \
72 connect.2 cpuset.2 cpuset_getaffinity.2 dup.2 execve.2 _exit.2 \
73 extattr_get_file.2 fcntl.2 fhopen.2 flock.2 fork.2 fsync.2 \

--- 124 unchanged lines hidden ---
73
74MAN+= abort2.2 accept.2 access.2 acct.2 adjtime.2 \
75 aio_cancel.2 aio_error.2 aio_read.2 aio_return.2 \
76 aio_suspend.2 aio_waitcomplete.2 aio_write.2 \
77 bind.2 brk.2 chdir.2 chflags.2 \
78 chmod.2 chown.2 chroot.2 clock_gettime.2 close.2 closefrom.2 \
79 connect.2 cpuset.2 cpuset_getaffinity.2 dup.2 execve.2 _exit.2 \
80 extattr_get_file.2 fcntl.2 fhopen.2 flock.2 fork.2 fsync.2 \

--- 124 unchanged lines hidden ---