summaryrefslogtreecommitdiff
path: root/lib/uuid/Makefile.in
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>1999-06-18 00:32:03 +0000
committerTheodore Ts'o <tytso@mit.edu>1999-06-18 00:32:03 +0000
commitb19d1a959eeea17d6b899a5b994bf3f3691de947 (patch)
treebfd50d8c9c94971d55672fdad2722efae380aae1 /lib/uuid/Makefile.in
parentffd3af5874950a38f4e383331a5a332e40cabf80 (diff)
downloade2fsprogs-b19d1a959eeea17d6b899a5b994bf3f3691de947.tar.gz
Many files:
* gen_uuid.c (get_random_bytes): Use a while loop when reading from /dev/urandom so that if we get interrupted while reading the right thing happens. (uuid_generate_random): Add new function which uses the new UUID format which uses 122 random bits to form the 128-bit UUID. (uuid_generate): Rename the old uuid_generate to be uuid_generate_time, and create a new uuid_generate function which calls either uuid_generate_random or uuid_genereate_time depending on whether /dev/urandom is present. uuid_generate.3.in: Update to reflect changesin uuid_generate and its two new variants. tst_uuid.c: Updated to test new uuid_generate functions, and to reflect new semantics of uuid_compare. Added tests to make sure the UUID type and variant created by UUID generate is correct. uuid_time.c (uuid_variant, uuid_type): Added new functions to return the UUID variant and type information. The debugging program now prints the UUID variant and type, and warns if the unparsed time information is likely to be incorrect. uuid_parse.3.in, libuuid.3.in: Miscellaneous text cleanups. uuidgen.1.in: Miscellaneous text cleanups.
Diffstat (limited to 'lib/uuid/Makefile.in')
-rw-r--r--lib/uuid/Makefile.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/uuid/Makefile.in b/lib/uuid/Makefile.in
index 69a71c1b..ca924f36 100644
--- a/lib/uuid/Makefile.in
+++ b/lib/uuid/Makefile.in
@@ -144,6 +144,9 @@ clean::
$(RM) -f \#* *.s *.o *.a *~ *.bak core profiled/* checker/*
$(RM) -f ../libuuid.a ../libuuid_p.a tst_uuid uuid_time $(SMANPAGES)
+check:: tst_uuid
+ LD_LIBRARY_PATH=$(LIB) ./tst_uuid
+
mostlyclean:: clean
distclean:: clean
$(RM) -f .depend Makefile