Make etime_.* and dtime_.* explicitly depend on the libU77 version.

Include *.d so that when make depend emit the dependencies, it picks up
the right file and so that the right file is used when making the objects.
This commit is contained in:
matt 2003-10-10 23:34:20 +00:00
parent 77a7f39625
commit 046e9000ba
1 changed files with 2 additions and 7 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2003/08/04 01:53:51 mrg Exp $
# $NetBSD: Makefile,v 1.3 2003/10/10 23:34:20 matt Exp $
REQUIRETOOLS= yes
NOLINT= # defined
@ -23,13 +23,8 @@ CPPFLAGS+= -I${.CURDIR}/arch/${MACHINE_ARCH} \
${GCPPFLAGS:M-D*} ${GCPPFLAGS:M-I*:N-I.*} \
-DAllow_TYQUAD
# ugly; there is a wrong etime_.c in libF77 - we want libU77's
.for f in etime_.c dtime_.c
CLEANFILES+= ${f}
${f:.c=.o} ${f:.c=.po} ${f:.c=.so}: ./${f}
${f}: ${DIST}/libf2c/libU77/${f}
rm -f ${f}
ln -s $> ${f}
${f:.c=.d} ${f:.c=.o} ${f:.c=.so} ${f:.c=.po}: ${DIST}/libf2c/libU77/$f
.endfor
.for c in F I U