Revert to using as(1) to compile plain assembler source files.

All .s files that need cpp(1) processing (see gcc(1) manpage's
DESCRIPTION section) have been repo-copied to .S files.  This
is mostly to bring bsd.lib.mk in agreement with sys.mk.

Desired by:	obrien
This commit is contained in:
Ruslan Ermilov 2003-07-02 12:41:04 +00:00
parent 286bce1c85
commit f79d11b7ba
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=117159

View File

@ -70,15 +70,8 @@ PICFLAG=-fpic
.m.So:
${OBJC} ${PICFLAG} -DPIC ${OBJCFLAGS} -c ${.IMPSRC} -o ${.TARGET}
.s.o .asm.o:
${CC} -x assembler-with-cpp ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET}
.s.po .asm.po:
${CC} -x assembler-with-cpp -DPROF ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET}
.s.So .asm.So:
${CC} -x assembler-with-cpp ${PICFLAG} -DPIC ${CFLAGS} \
-c ${.IMPSRC} -o ${.TARGET}
.s.po .asm.po .s.So .asm.So:
${AS} ${AFLAGS} -o ${.TARGET} ${.IMPSRC}
.S.po:
${CC} -DPROF ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET}