Make the .gperf.c
suffix rule depend on fake-gperf.awk
Parameterize out fake-gperf.awk to avoid duplicating the path MFC after: 2 weeks Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
dc902dbd60
commit
ea64204213
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=318434
@ -13,8 +13,9 @@ CLEANFILES+= confstr.c limits.c pathconf.c progenv.c sysconf.c \
|
||||
|
||||
all: conflicts
|
||||
|
||||
.gperf.c:
|
||||
LC_ALL=C awk -f ${.CURDIR}/fake-gperf.awk ${.IMPSRC} >${.TARGET}
|
||||
FAKE_GPERF= ${.CURDIR}/fake-gperf.awk
|
||||
.gperf.c: ${FAKE_GPERF}
|
||||
LC_ALL=C awk -f ${FAKE_GPERF} ${.IMPSRC} >${.TARGET}
|
||||
|
||||
.gperf.names:
|
||||
LC_ALL=C awk '/^[_A-Z]/ { print; }' ${.IMPSRC} | \
|
||||
|
Loading…
Reference in New Issue
Block a user