From 4448841b95543d5eb4cd3c2d5f9081ecb613f9bf Mon Sep 17 00:00:00 2001 From: millert <> Date: Fri, 9 May 2003 19:19:14 +0000 Subject: [PATCH] insque and remque are VAX instructions, no need for C functions; From 4.4BSD --- src/lib/libc/stdlib/Makefile.inc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/lib/libc/stdlib/Makefile.inc b/src/lib/libc/stdlib/Makefile.inc index fec3357a..4ed97c5b 100644 --- a/src/lib/libc/stdlib/Makefile.inc +++ b/src/lib/libc/stdlib/Makefile.inc @@ -5,11 +5,11 @@ SRCS+= a64l.c abort.c atexit.c atoi.c atof.c atol.c atoll.c bsearch.c \ calloc.c cfree.c exit.c ecvt.c gcvt.c getenv.c getopt.c getopt_long.c \ - getsubopt.c heapsort.c insque.c l64a.c lsearch.c malloc.c merge.c \ + getsubopt.c heapsort.c l64a.c lsearch.c malloc.c merge.c \ multibyte.c putenv.c qsort.c radixsort.c rand.c random.c realpath.c \ setenv.c strtod.c strtol.c strtoll.c strtoul.c strtoull.c system.c \ tfind.c tsearch.c _rand48.c drand48.c erand48.c jrand48.c lcong48.c \ - lrand48.c mrand48.c nrand48.c remque.c seed48.c srand48.c qabs.c qdiv.c + lrand48.c mrand48.c nrand48.c seed48.c srand48.c qabs.c qdiv.c .if (${MACHINE_ARCH} == "m68k") SRCS+= abs.S div.c labs.c ldiv.c @@ -32,6 +32,12 @@ SRCS+= abs.c div.c labs.c ldiv.c SRCS+= abs.c div.c labs.c ldiv.c .endif +.if (${MACHINE_ARCH} == "vax") +SRCS+= insque.S remque.S +.else +SRCS+= insque.c remque.c +.endif + MAN+= a64l.3 abort.3 abs.3 alloca.3 atexit.3 atof.3 atoi.3 atol.3 atoll.3 \ bsearch.3 div.3 ecvt.3 exit.3 getenv.3 getopt.3 getopt_long.3 \ getsubopt.3 insque.3 labs.3 ldiv.3 lsearch.3 malloc.3 memory.3 qabs.3 \