Page MenuHomeFreeBSD

D24784.diff
No OneTemporary

D24784.diff

Index: head/lib/libpmc/Makefile
===================================================================
--- head/lib/libpmc/Makefile
+++ head/lib/libpmc/Makefile
@@ -32,9 +32,13 @@
.endif
.endif
-libpmc_events.c: ${JEVENTS}
- ${JEVENTS} ${EVENT_ARCH} ${.CURDIR}/pmu-events/arch libpmc_events.c
-SRCS+= libpmc_events.c
+libpmc_events.c: ${JEVENTS} .META
+ ${JEVENTS} ${EVENT_ARCH} ${.CURDIR}/pmu-events/arch ${.TARGET}.tmp
+ if [ ! -e ${.TARGET} ] || ! cmp -s ${.TARGET} ${.TARGET}.tmp; then \
+ mv -f ${.TARGET}.tmp ${.TARGET}; \
+ fi
+CLEANFILES+= libpmc_events.c libpmc_events.c.tmp
+SRCS+= libpmc_events.c
.endif
WARNS?= 3

File Metadata

Mime Type
text/plain
Expires
Sun, Jan 19, 5:15 AM (21 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15925866
Default Alt Text
D24784.diff (631 B)

Event Timeline