1996-07-15 07:13:41 +04:00
|
|
|
# $NetBSD: Makefile.inc,v 1.7 1996/07/15 03:13:41 cgd Exp $
|
1995-02-14 00:49:11 +03:00
|
|
|
|
|
|
|
SRCS+= __main.c imax.c imin.c lmax.c lmin.c max.c min.c ulmax.c ulmin.c \
|
1996-07-15 07:13:41 +04:00
|
|
|
bcmp.c bzero.S ffs.S strcat.c strcmp.c strcpy.c strlen.c strncmp.c \
|
1996-06-10 19:33:33 +04:00
|
|
|
strncpy.c scanc.c skpc.c htonl.S htons.S ntohl.S ntohs.S \
|
1996-04-13 05:17:27 +04:00
|
|
|
random.c strncasecmp.c
|
1995-02-14 00:49:11 +03:00
|
|
|
|
|
|
|
# `source' files built from m4 source
|
|
|
|
SRCS+= __divqu.S __divq.S __divlu.S __divl.S
|
|
|
|
SRCS+= __remqu.S __remq.S __remlu.S __reml.S
|
|
|
|
CLEANFILES+= __divqu.S __divq.S __divlu.S __divl.S
|
|
|
|
CLEANFILES+= __remqu.S __remq.S __remlu.S __reml.S
|
|
|
|
|
1995-06-28 06:59:12 +04:00
|
|
|
__divqu.S: ${DIR}/arch/alpha/divrem.m4
|
1995-02-14 00:49:11 +03:00
|
|
|
@echo 'building ${.TARGET} from ${.ALLSRC}'
|
|
|
|
@(echo "define(NAME,\`__divqu')define(OP,\`div')define(S,\`false')"; \
|
|
|
|
echo "define(WORDSIZE,64)"; cat ${.ALLSRC}) | m4 > ${.TARGET}
|
|
|
|
|
1995-06-28 06:59:12 +04:00
|
|
|
__divq.S: ${DIR}/arch/alpha/divrem.m4
|
1995-02-14 00:49:11 +03:00
|
|
|
@echo 'building ${.TARGET} from ${.ALLSRC}'
|
|
|
|
@(echo "define(NAME,\`__divq')define(OP,\`div')define(S,\`true')"; \
|
|
|
|
echo "define(WORDSIZE,64)"; cat ${.ALLSRC}) | m4 > ${.TARGET}
|
|
|
|
|
1995-06-28 06:59:12 +04:00
|
|
|
__divlu.S: ${DIR}/arch/alpha/divrem.m4
|
1995-02-14 00:49:11 +03:00
|
|
|
@echo 'building ${.TARGET} from ${.ALLSRC}'
|
|
|
|
@(echo "define(NAME,\`__divlu')define(OP,\`div')define(S,\`false')"; \
|
|
|
|
echo "define(WORDSIZE,32)"; cat ${.ALLSRC}) | m4 > ${.TARGET}
|
|
|
|
|
1995-06-28 06:59:12 +04:00
|
|
|
__divl.S: ${DIR}/arch/alpha/divrem.m4
|
1995-02-14 00:49:11 +03:00
|
|
|
@echo 'building ${.TARGET} from ${.ALLSRC}'
|
|
|
|
@(echo "define(NAME,\`__divl')define(OP,\`div')define(S,\`true')"; \
|
|
|
|
echo "define(WORDSIZE,32)"; cat ${.ALLSRC}) | m4 > ${.TARGET}
|
|
|
|
|
1995-06-28 06:59:12 +04:00
|
|
|
__remqu.S: ${DIR}/arch/alpha/divrem.m4
|
1995-02-14 00:49:11 +03:00
|
|
|
@echo 'building ${.TARGET} from ${.ALLSRC}'
|
|
|
|
@(echo "define(NAME,\`__remqu')define(OP,\`rem')define(S,\`false')"; \
|
|
|
|
echo "define(WORDSIZE,64)"; cat ${.ALLSRC}) | m4 > ${.TARGET}
|
|
|
|
|
1995-06-28 06:59:12 +04:00
|
|
|
__remq.S: ${DIR}/arch/alpha/divrem.m4
|
1995-02-14 00:49:11 +03:00
|
|
|
@echo 'building ${.TARGET} from ${.ALLSRC}'
|
|
|
|
@(echo "define(NAME,\`__remq')define(OP,\`rem')define(S,\`true')"; \
|
|
|
|
echo "define(WORDSIZE,64)"; cat ${.ALLSRC}) | m4 > ${.TARGET}
|
|
|
|
|
1995-06-28 06:59:12 +04:00
|
|
|
__remlu.S: ${DIR}/arch/alpha/divrem.m4
|
1995-02-14 00:49:11 +03:00
|
|
|
@echo 'building ${.TARGET} from ${.ALLSRC}'
|
|
|
|
@(echo "define(NAME,\`__remlu')define(OP,\`rem')define(S,\`false')"; \
|
|
|
|
echo "define(WORDSIZE,32)"; cat ${.ALLSRC}) | m4 > ${.TARGET}
|
|
|
|
|
1995-06-28 06:59:12 +04:00
|
|
|
__reml.S: ${DIR}/arch/alpha/divrem.m4
|
1995-02-14 00:49:11 +03:00
|
|
|
@echo 'building ${.TARGET} from ${.ALLSRC}'
|
|
|
|
@(echo "define(NAME,\`__reml')define(OP,\`rem')define(S,\`true')"; \
|
|
|
|
echo "define(WORDSIZE,32)"; cat ${.ALLSRC}) | m4 > ${.TARGET}
|