-.if ${MACHINE_ARCH} == "alpha"
-# XXX Temporary until the assumption that a long is 32-bits is resolved
-# XXX FreeBSD's code. NetBSD kludged this with Long = int32_t and
-# XXX ULong = u_int32_t
-SRCS+= netbsd_strtod.c
-.else
-SRCS+= strtod.c
-.endif
+.include "Makefile.fbsd_begin"
+FBSDMISRCS=_Exit_.c abort.c abs.c atexit.c atof.c atoi.c atol.c atoll.c \
+ bsearch.c div.c exit.c getenv.c getopt.c getopt_long.c getsubopt.c \
+ hcreate.c heapsort.c imaxabs.c imaxdiv.c insque.c labs.c \
+ ldiv.c llabs.c lldiv.c lsearch.c merge.c putenv.c qsort.c qsort_r.c \
+ radixsort.c rand.c random.c reallocf.c realpath.c remque.c setenv.c \
+ strfmon.c strhash.c strtoimax.c strtol.c strtoll.c strtoq.c strtoul.c \
+ strtoull.c strtoumax.c strtouq.c system.c tdelete.c tfind.c tsearch.c \
+ twalk.c
+FBSDORIGHDRS= atexit.h
+.include "Makefile.fbsd_end"