aboutsummaryrefslogtreecommitdiff
path: root/lib/atf/libatf-c++/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* packages: Remove the tests-dev packageLexi Winter2025-09-181-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't want a tests-dev package, because this means set-devel depends on tests-dev, which transitively depends on tests, which means you can't install set-devel without also getting tests. The only real "dev" files in tests-dev are from ATF (libprivateatf), so move that to its own package and add a dependency from tests. Also move Kyua to its own package, since this might be useful for running tests even when the user doesn't want the whole set of base tests installed. Add a dependency from -tests to both -atf and -kyua, and a dependency on -set-base, since the tests won't work without the full base system installed. The remaining "dev" files in tests are actually test artifacts, not real development libraries. Add a new NO_DEV_PACKAGE option to bsd.lib.mk, which causes dev files to be installed in the base package instead of creating a -dev package, and set this option for everything that installs test libraries. While here, add a slightly more informative description for the tests package. MFC after: 3 seconds Reviewed by: bapt, emaste Differential Revision: https://reviews.freebsd.org/D52597
* atf: Switch from std::auto_ptr<> to std::unique_ptr<>John Baldwin2025-04-161-3/+0
| | | | | | | This mirrors upstream commit f053ab687f6e27aa264f599ecbfc5ef27ad4e2d3. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D49789
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* pkgbase: Install atf and kyua in the tests packageEmmanuel Vadot2021-01-041-0/+1
| | | | | | | While here make sure that all tests dirs are taggued correctly. Reviewed by: bapt, emaste Differential Revision: https://reviews.freebsd.org/D27714
* Another round of attempting to squelch -Wdeprecated-declarations, whichDimitry Andric2019-09-171-0/+3
| | | | | | | | | | | | has become very trigger-happy with libc++ 9.0.0. It does not help that gcc's implementation of this warning is even more trigger-happy, in the sense that it already warns on the declaration itself, not when you are using it. This is very annoying with our use of -Wsystem-headers. That should really be disabled for gcc. Notes: svn path=/projects/clang900-import/; revision=352435
* Instead of disabling gcc's deprecated declaration warnings about e.g.Dimitry Andric2019-09-141-3/+0
| | | | | | | | | std::auto_ptr in a whole bunch of individual Makefiles, make the warning globally non-fatal instead. This is similar to what was done to many more non-fatal warnings from newer gcc versions. Notes: svn path=/projects/clang900-import/; revision=352335
* Add workarounds for obsolete std::auto_ptr usage in atf.Dimitry Andric2019-09-031-0/+3
| | | | Notes: svn path=/projects/clang900-import/; revision=351731
* Add HAS_TESTS to all Makefiles that are currently using theEnji Cooper2017-08-021-0/+1
| | | | | | | | | `SUBDIR.${MK_TESTS}+= tests` idiom. This is a follow up to r321912. Notes: svn path=/projects/make-check-sandbox/; revision=321914
* Convert traditional ${MK_TESTS} conditional idiom for including testEnji Cooper2017-08-021-3/+1
| | | | | | | | | | | | | | directories to SUBDIR.${MK_TESTS} idiom This is being done to pave the way for future work (and homogenity) in ^/projects/make-check-sandbox . No functional change intended. MFC after: 1 weeks Notes: svn path=/head/; revision=321912
* Minor Makefile simplifications for lib/atf/...Enji Cooper2016-08-291-3/+3
| | | | | | | | | | | - Replace uses of `${.CURDIR:H:H:H}` with ${SRCTOP} - Use built-in :H operator instead of ".." when enumerating paths. MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=305033
* Add LIB_CXX so that C++ libraries will use CXX to link.Bryan Drewery2015-03-171-1/+1
| | | | | | | | | | | | | | | | | | | | This fixes C++ libraries not implicitly linking in libc++. This is generally not an issue because the final linking with the compiled binary will involve CXX via PROG_CXX or other means. It is however inconsistent with libraries implicitly linking in libc and problematic for trying to build libraries with '-z defs' to ensure all direct dependencies are linked in. libatf-c++ is currently the only consumer of this new feature. Differential Revision: https://reviews.freebsd.org/D2039 Reviewed by: imp Discussed with: bapt MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=280179
* Convert libraries to use LIBADDBaptiste Daroussin2014-11-251-2/+1
| | | | | | | While here reduce a bit overlinking Notes: svn path=/head/; revision=275024
* MFV: Import atf-0.21.Julio Merino2014-11-011-4/+3
| | | | Notes: svn path=/head/; revision=273929
* Fix typo in lib/atf/libatfc++/MakefileEnji Cooper2014-08-171-1/+1
| | | | | | | | | | | | | LIBATFC should be LIBATF_C; this was missed in the initial import (r241823) PR: 192731 MFC after: 3 days Phabric: D619 Approved by: rpaulo (mentor) Notes: svn path=/head/; revision=270116
* Homogenize libatf-* version numbers with upstream.Julio Merino2014-06-061-1/+1
| | | | | | | | | | | | | | | The libatf-* major version numbers in FreeBSD were one version ahead of upstream because, when atf was first imported into FreeBSD, the upstream numbers were not respected. This is just confusing and bound to cause problems down the road. Fix this by taking advantage of the fact that libatf-* are now private and that atf is not yet built by default. However, and unfortunately, a clean build is needed for tests to continue working once "make delete-old-libs" has been run; hence the note in UPDATING. Notes: svn path=/head/; revision=267172
* Change libatf-c and libatf-c++ to be private libraries.Julio Merino2014-05-251-14/+1
| | | | | | | | | | | | | | | | | We should not be leaking these interfaces to the outside world given that it's much easier for third-party components to use the devel/atf package from ports. As a side-effect, we can also drop the ATF pkgconfig and aclocal files from the base system. Nothing in the base system needs these, and it was quite ugly to have to get them installed only so that a few ports could build. The offending ports have been fixed to depend on devel/atf explicitly. Reviewed by: bapt Notes: svn path=/head/; revision=266650
* Use src.opts.mk in preference to bsd.own.mk except where we need stuffWarner Losh2014-05-061-0/+1
| | | | | | | from the latter. Notes: svn path=/head/; revision=265420
* Add atf m4 files from the vendor branch.Julio Merino2014-04-011-0/+2
| | | | | | | | | | These were originally deleted as "not important" but, actually we need them in place if we want to be able to use autoconf on software that provides atf-based tests. (That includes being able to rebuild autotest from scratch on the Kyua cluster machines, as the automated setup does.) Notes: svn path=/head/; revision=263989
* MFV: Import atf-0.20.Julio Merino2014-02-141-5/+1
| | | | Notes: svn path=/head/; revision=261897
* Generate and install pkg-config files for atf.Julio Merino2014-01-121-0/+13
| | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=260576
* MFV: Import atf-0.18.Julio Merino2013-11-171-1/+3
| | | | | | | Approved by: rpaulo (mentor) Notes: svn path=/head/; revision=258289
* Build and install the atf tests.Julio Merino2013-11-081-0/+5
| | | | | | | | Reviewed by: freebsd-testing Approved by: rpaulo (mentor) Notes: svn path=/head/; revision=257853
* Remove -L<path> from LDADD, it doesn't belong there.Marcel Moolenaar2012-11-071-1/+3
| | | | | | | | | Add it to LDFLAGS instead. Submitted by: Garrett Cooper <yanegomi@gmail.com> Notes: svn path=/head/; revision=242684
* Add ATF to the build. This is may be a bit rought around the egdes,Marcel Moolenaar2012-10-221-0/+74
but committing it helps to get everyone on the same page and makes sure we make progress. Tinderbox breakages that are the result of this commit are entirely the committer's fault -- in other words: buildworld testing on amd64 only. Credits follow: Submitted by: Garrett Cooper <yanegomi@gmail.com> Sponsored by: Isilon Systems Based on work by: keramida@ Thanks to: gnn@, mdf@, mlaier@, sjg@ Special thanks to: keramida@ Notes: svn path=/head/; revision=241823