mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Fixed `make -jN' for large N. version.h was missing from SRCS,
SRCS was disordered to work around the bug for plain `make', and the version number was bumped twice by building two copies of version.[ch] concurrently.
This commit is contained in:
parent
2f8bfc23cd
commit
8f15ebc49d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=34132
@ -3,13 +3,14 @@
|
||||
PROG= tcpslice
|
||||
CFLAGS+=-Wall -I.
|
||||
MAN1= tcpslice.1
|
||||
SRCS= version.c tcpslice.c gwtm2secs.c search.c util.c
|
||||
SRCS= gwtm2secs.c search.c tcpslice.c util.c version.c version.h
|
||||
CLEANFILES+= version.c version.h
|
||||
DPADD+= ${LIBPCAP}
|
||||
LDADD+= -lpcap
|
||||
|
||||
TCPDUMP_DISTDIR?= ${.CURDIR}/../../../contrib/tcpdump
|
||||
|
||||
.ORDER: version.c version.h
|
||||
version.c version.h: ${TCPDUMP_DISTDIR}/VERSION
|
||||
rm -f version.c ; \
|
||||
sed 's/.*/char version[] = "&";/' ${TCPDUMP_DISTDIR}/VERSION > version.c
|
||||
|
Loading…
Reference in New Issue
Block a user