mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
![Julio Merino](/assets/img/avatar_default.png)
These files are required to get packages in ports to build against atf and also to get a couple of currently-failing tests to pass. I'm following the approach already used by the libusb pkg-config files installed by the system regarding the location and the install rules. MFC after: 5 days
20 lines
589 B
Makefile
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
|