mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 10:19:04 +00:00
![Simon J. Gerraty](/assets/img/avatar_default.png)
Relevant changes see ChangeLog for details: Add support for ${.SUFFIXES} as read-only variable. Fix memory leak in cond.c Punt on write errors - ENOSPC etc. Lots of code refactoring, rework to reduce memory allocations. More unit-tests.
17 lines
559 B
Makefile
17 lines
559 B
Makefile
# $NetBSD: opt-tracefile.mk,v 1.5 2021/12/06 22:35:20 rillig Exp $
|
|
#
|
|
# Tests for the command line option '-T', which in jobs mode appends a trace
|
|
# record to a trace log whenever a job is started or completed.
|
|
|
|
all: .PHONY
|
|
@rm -f opt-tracefile.log
|
|
@${MAKE} -f ${MAKEFILE} -j1 -Topt-tracefile.log trace
|
|
# Remove timestamps, process IDs and directory paths.
|
|
@awk '{ print $$2, $$3 }' opt-tracefile.log
|
|
@rm opt-tracefile.log
|
|
|
|
trace dependency1 dependency2: .PHONY
|
|
@echo 'Making ${.TARGET} from ${.ALLSRC:S,^$,<nothing>,W}.'
|
|
|
|
trace: dependency1 dependency2
|