]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/examples/tests/tests/atf/Makefile
Import the skein hashing algorithm, based on the threefish block cipher
[FreeBSD/FreeBSD.git] / share / examples / tests / tests / atf / Makefile
1 # $FreeBSD$
2
3 .include <bsd.own.mk>
4
5 # The release package to use for the tests contained within the directory
6 #
7 # This applies to components which rely on ^/projects/release-pkg support
8 # (see UPDATING XXXXXXXXX / svn revision r298107).
9 PACKAGE=        tests
10
11 # Directory into which the Kyuafile provided by this directory will be
12 # installed.
13 #
14 # This is always a subdirectory of ${TESTSBASE}/.  The remainder of the
15 # path has to match the relative path within the source tree in which
16 # these files are found modulo the tests/ component at the end.
17 #
18 # For example: if this Makefile were in src/bin/cp/tests/, its TESTSDIR
19 # would point at ${TESTSBASE}/bin/cp/.
20 TESTSDIR=       ${TESTSBASE}/share/examples/tests/atf
21
22 # List of test programs to build.  Note that we can build more than one
23 # test from a single directory, and this is expected.
24 ATF_TESTS_C=    printf_test
25 ATF_TESTS_SH=   cp_test
26
27 # Tell bsd.test.mk that we are providing a hand-crafted Kyuafile in this
28 # directory.  We do so because the file in this directory exists for
29 # documentation purposes.
30 #
31 # In general, however, you should NOT define KYUAFILE at all to allow
32 # bsd.test.mk auto-generate one for you based on the ATF_TESTS_*
33 # definitions from above.
34 KYUAFILE=       yes
35
36 # Install file1 and file2 as files via bsd.prog.mk. Please note the intentional
37 # ${PACKAGE} namespace of files.
38 #
39 # The basic semantics of this are the same as FILES in bsd.prog.mk, e.g. the
40 # installation of the files can be manipulated via ${PACKAGE}FILESDIR,
41 # ${PACKAGE}FILESMODE, etc.
42 #
43 # Please see comment above about ${PACKAGE}. Feel free to omit the ${PACKAGE}
44 # namespace if release package support isn't needed.
45 ${PACKAGE}FILES+=       file1
46 CLEANFILES+=            file1
47
48 file1:
49         @echo "File 1" > ${.TARGET}
50
51 .include <bsd.test.mk>