--- src/lib/libc/sys/Makefile.inc 2006/06/13 08:17:42 1.19 +++ src/lib/libc/sys/Makefile.inc 2006/07/27 00:43:42 1.20 @@ -29,47 +29,34 @@ SRCS+= stack_protector.c # Look through the complete list of syscalls (MIASM) for names that are # not defined with machine dependent implementations (MDASM) and are -# not declared for no generation of default code (NOASM). If the -# syscall is not hidden, add it to the ASM list, otherwise add it -# to the ASMR list. +# not declared for no generation of default code (NOASM). .for _asm in ${MIASM} .if (${MDASM:R:M${_asm:R}} == "") .if (${NOASM:R:M${_asm:R}} == "") -ASMR+=$(_asm) +ASM+=$(_asm) .endif .endif .endfor -OBJS+= ${ASM} ${ASMR} ${PSEUDO} ${PSEUDOR} +OBJS+= ${ASM} ${PSEUDO} SASM= ${ASM:S/.o/.S/} -SASMR= ${ASMR:S/.o/.S/} - SPSEUDO= ${PSEUDO:S/.o/.S/} -SPSEUDOR= ${PSEUDOR:S/.o/.S/} - -SRCS+= ${SASM} ${SASMR} ${SPSEUDO} ${SPSEUDOR} +SRCS+= ${SASM} ${SPSEUDO} # Generated files -CLEANFILES+= ${SASM} ${SASMR} ${SPSEUDO} ${SPSEUDOR} +CLEANFILES+= ${SASM} ${SPSEUDO} # Generate the syscalls source-files ${SASM}: printf '#include "SYS.h"\nRSYSCALL(${.PREFIX})\n' > ${.TARGET} -${SASMR}: - printf '#include "SYS.h"\nPRSYSCALL(${.PREFIX})\n' > ${.TARGET} - ${SPSEUDO}: printf '#include "SYS.h"\nPSEUDO(${.PREFIX},${.PREFIX:S/_//})\n' \ > ${.TARGET} -${SPSEUDOR}: - printf '#include "SYS.h"\nPPSEUDO(${.PREFIX},${.PREFIX:S/_//})\n' \ - > ${.TARGET} - .if ${LIB} == "c" MAN+= _exit.2 accept.2 access.2 acct.2 adjtime.2 \ aio_cancel.2 aio_error.2 aio_read.2 aio_return.2 \