Adapt to bsd.dep.mk changes.
This commit is contained in:
parent
81e5980814
commit
bd362fbfba
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.2 2003/07/25 17:19:24 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2003/07/29 23:35:25 uwe Exp $
|
||||
|
||||
PROG= f771
|
||||
SRCS= ${G_F77_OBJS:.o=.c} main.c
|
||||
|
@ -7,6 +7,8 @@ CPPFLAGS+= -I${DIST}/gcc/f -I.
|
|||
HOST_CPPFLAGS+= -I${GCCARCH} -DUSE_HCONFIG= \
|
||||
${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*}
|
||||
|
||||
.include "../Makefile.backend"
|
||||
|
||||
fini: fini.c
|
||||
${HOST_LINK.c} -o $@ $> ${HOSTLIBIBERTY}
|
||||
CLEANFILES+= fini
|
||||
|
@ -17,13 +19,11 @@ CLEANFILES+= str-${f}.h str-${f}.j
|
|||
str-${f}.h str-${f}.j: str-${f}.fin fini
|
||||
./fini ${>:M*.fin} str-${f}.j str-${f}.h
|
||||
|
||||
${OBJS} .depend: str-${f}.h
|
||||
${OBJS} ${DEPENDSRCS}: str-${f}.h
|
||||
.endfor
|
||||
|
||||
CLEANFILES+= main.c
|
||||
|
||||
.include "../Makefile.backend"
|
||||
|
||||
main.c: ${DIST}/gcc/main.c
|
||||
rm -f main.c
|
||||
ln -s $> main.c
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.2 2003/07/29 07:26:23 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2003/07/29 23:31:46 uwe Exp $
|
||||
|
||||
NOLINKLIB= # defined
|
||||
NOLINT= # defined
|
||||
|
@ -18,7 +18,7 @@ HOST_CPPFLAGS+= -I${GCCARCH} ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*}
|
|||
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
${OBJS} .depend: multilib.h specs.h
|
||||
${OBJS} ${DEPENDSRCS}: multilib.h specs.h
|
||||
|
||||
.PATH: ${DIST}/gcc
|
||||
|
||||
|
|
Loading…
Reference in New Issue