change the order that we build config.h
This commit is contained in:
parent
c983ff2507
commit
72572e11a6
6
external/bsd/top/usr.bin/top/Makefile
vendored
6
external/bsd/top/usr.bin/top/Makefile
vendored
@ -1,4 +1,4 @@
|
|||||||
# $NetBSD: Makefile,v 1.2 2008/07/16 01:51:56 christos Exp $
|
# $NetBSD: Makefile,v 1.3 2008/07/16 11:30:36 christos Exp $
|
||||||
|
|
||||||
.include <bsd.own.mk>
|
.include <bsd.own.mk>
|
||||||
PROG= top
|
PROG= top
|
||||||
@ -9,7 +9,7 @@ TOPDIR=${.CURDIR}/../../dist
|
|||||||
CPPFLAGS+=-I${.CURDIR} -I${TOPDIR} -I. -DORDER -DHAVE_STRERROR
|
CPPFLAGS+=-I${.CURDIR} -I${TOPDIR} -I. -DORDER -DHAVE_STRERROR
|
||||||
SRCS= color.c commands.c display.c hash.c screen.c \
|
SRCS= color.c commands.c display.c hash.c screen.c \
|
||||||
top.c username.c utils.c version.c m_netbsd.c
|
top.c username.c utils.c version.c m_netbsd.c
|
||||||
DPSRCS+=sigdesc.h
|
DPSRCS+=sigdesc.h config.h
|
||||||
|
|
||||||
LDADD+= -ltermcap -lm -lkvm
|
LDADD+= -ltermcap -lm -lkvm
|
||||||
DPADD+= ${LIBTERMCAP} ${LIBM} ${LIBKVM}
|
DPADD+= ${LIBTERMCAP} ${LIBM} ${LIBKVM}
|
||||||
@ -29,8 +29,6 @@ top.1: top.1.in
|
|||||||
|
|
||||||
commands.c: sigdesc.h
|
commands.c: sigdesc.h
|
||||||
|
|
||||||
.BEGIN: config.h
|
|
||||||
|
|
||||||
config.h: config.h.in
|
config.h: config.h.in
|
||||||
${TOOL_SED} -e s/@MACHINE@/${MACHINE}/ < $? > $@
|
${TOOL_SED} -e s/@MACHINE@/${MACHINE}/ < $? > $@
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user