freebsd-skq/lib/atf/common.mk
jmmv 16411e2c80 MFC various fixes for the ATF tests.
- r260505 Allow tests to provide a Kyuafile when they relied on auto-generation.
- r260525 Respect the original layout of the atf-{c,c++} tests.
- r260526 Fix path to the process_helpers for the libatf-c++ tests.
- r260576 Generate and install pkg-config files for atf.
- r260577 Add atf pkg-config files from the vendor branch.
- r260584 Prevent misc_helpers from running as a test.
2014-03-06 13:20:38 +00:00

20 lines
589 B
Makefile

# $FreeBSD$
#
# 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}/bconfig.h \
| cut -d '"' -f 2 >atf-version-real
CLEANFILES+= atf-version atf-version-real