mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-22 03:04:34 +01:00
d0b2dbfa0e
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
19 lines
576 B
Makefile
19 lines
576 B
Makefile
#
|
|
# Common Makefile code for all components of ATF.
|
|
#
|
|
|
|
.if !defined(ATF)
|
|
.error "ATF must be defined and point to the contrib/atf directory"
|
|
.endif
|
|
|
|
# Depend on the atf-version target to generate a file that contains the
|
|
# version number of the currently imported ATF release and that only
|
|
# changes on new imports.
|
|
atf-version: atf-version-real
|
|
@cmp -s atf-version atf-version-real \
|
|
|| cp atf-version-real atf-version
|
|
atf-version-real: .PHONY
|
|
@grep 'define VERSION' ${ATF}/config.h \
|
|
| cut -d '"' -f 2 >atf-version-real
|
|
CLEANFILES+= atf-version atf-version-real
|