freebsd-dev/lib/libc/gdtoa/Makefile.inc
Bryan Drewery b791fbe630 META MODE: Don't create .meta files when symlinking sources into the obj directory.
Tracking these leads to situations where meta mode will consider the
file to be out of date if /bin/sh or /bin/ln are newer than the source
file.  There's no reason for meta mode to do this as make is already
handling the rebuild dependency fine.

Sponsored by:	EMC / Isilon Storage Division
2015-11-25 19:44:43 +00:00

21 lines
512 B
Makefile

# $FreeBSD$
# netlib gdtoa sources
.PATH: ${LIBC_SRCTOP}/gdtoa
MISRCS+=_hdtoa.c _hldtoa.c _ldtoa.c glue.c
GDTOASRCS+=dmisc.c dtoa.c gdtoa.c gethex.c gmisc.c \
hd_init.c hexnan.c misc.c smisc.c \
strtod.c strtodg.c strtof.c strtord.c sum.c ulp.c
SYM_MAPS+=${LIBC_SRCTOP}/gdtoa/Symbol.map
CFLAGS+=-I${LIBC_SRCTOP}/../../contrib/gdtoa
.for src in ${GDTOASRCS}
MISRCS+=gdtoa_${src}
CLEANFILES+=gdtoa_${src}
gdtoa_${src}: ${LIBC_SRCTOP}/../../contrib/gdtoa/${src} .NOMETA
ln -sf ${.ALLSRC} ${.TARGET}
.endfor