2011-10-22 09:43:41 +01:00
|
|
|
srcdir=@srcdir@
|
|
|
|
abs_top_builddir=@abs_top_builddir@
|
|
|
|
include @TOP_OBJDIR@/src/config/Makefile.config
|
2012-09-16 19:54:48 +01:00
|
|
|
include @TOP_OBJDIR@/src/config/Makefile.pthread
|
2011-10-22 09:43:41 +01:00
|
|
|
|
2012-05-07 21:52:16 +01:00
|
|
|
MODULE_CFLAGS = -I$(srcdir)/../..
|
2011-10-22 09:43:41 +01:00
|
|
|
|
2012-09-16 19:54:48 +01:00
|
|
|
LIBS=../tap/libtap.a $(abs_top_builddir)/src/opr/liboafs_opr.la
|
2011-10-22 09:43:41 +01:00
|
|
|
|
opr: Add UUID handling functions
Add a set of functions to the opr library to handle creating and
manipulating UUIDs.
The opr_uuid_t type is held as a 16 octet character string, which
comprises the UUID encoded into network byte order. This is the
primary form for manipulating UUIDs with this library, as it avoids
any nbo/hbo problems.
For applications which require raw access to the UUID components,
the opr_uuid_unpacked structure is provided, and
opr_uuid_pack/opr_uuid_unpack can be used to convert to and from
this format.
Finally, functions to print the UUID as a string, and parse a UUID
from a string, are provided. When printing, we use the standard UUID
format of 000000-0000-0000-0000-00000000. However, the afsUUID library
used to print UUIDs as 000000-0000-0000-00-00-00000000, so we also
accept this format.
Change-Id: I78ef79b7ab8ae15fb955c6495118722875c94f8d
Reviewed-on: http://gerrit.openafs.org/7977
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
2012-07-17 16:50:59 +01:00
|
|
|
tests = jhash-t queues-t rbtree-t time-t uuid-t
|
2011-10-22 09:43:41 +01:00
|
|
|
|
|
|
|
all check test tests: $(tests)
|
|
|
|
|
|
|
|
queues-t: queues-t.o
|
2012-09-16 19:54:48 +01:00
|
|
|
$(LT_LDRULE_static) queues-t.o ../tap/libtap.a $(XLIBS)
|
2011-10-22 09:43:41 +01:00
|
|
|
|
2011-10-22 11:22:51 +01:00
|
|
|
rbtree-t: rbtree-t.o $(LIBS)
|
2012-09-16 19:54:48 +01:00
|
|
|
$(LT_LDRULE_static) rbtree-t.o ../tap/libtap.a $(LIBS) $(XLIBS)
|
2011-10-22 11:22:51 +01:00
|
|
|
|
2011-11-20 23:40:51 +00:00
|
|
|
jhash-t: jhash-t.o
|
2012-09-16 19:54:48 +01:00
|
|
|
$(LT_LDRULE_static) jhash-t.o ../tap/libtap.a $(XLIBS)
|
2011-11-20 23:40:51 +00:00
|
|
|
|
2012-05-15 16:45:57 +01:00
|
|
|
time-t: time-t.o
|
2012-09-16 19:54:48 +01:00
|
|
|
$(LT_LDRULE_static) time-t.o ../tap/libtap.a $(XLIBS)
|
2012-05-15 16:45:57 +01:00
|
|
|
|
opr: Add UUID handling functions
Add a set of functions to the opr library to handle creating and
manipulating UUIDs.
The opr_uuid_t type is held as a 16 octet character string, which
comprises the UUID encoded into network byte order. This is the
primary form for manipulating UUIDs with this library, as it avoids
any nbo/hbo problems.
For applications which require raw access to the UUID components,
the opr_uuid_unpacked structure is provided, and
opr_uuid_pack/opr_uuid_unpack can be used to convert to and from
this format.
Finally, functions to print the UUID as a string, and parse a UUID
from a string, are provided. When printing, we use the standard UUID
format of 000000-0000-0000-0000-00000000. However, the afsUUID library
used to print UUIDs as 000000-0000-0000-00-00-00000000, so we also
accept this format.
Change-Id: I78ef79b7ab8ae15fb955c6495118722875c94f8d
Reviewed-on: http://gerrit.openafs.org/7977
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
2012-07-17 16:50:59 +01:00
|
|
|
uuid-t: uuid-t.o
|
2012-09-16 19:54:48 +01:00
|
|
|
$(LT_LDRULE_static) uuid-t.o ../tap/libtap.a $(LIBS) $(XLIBS)
|
opr: Add UUID handling functions
Add a set of functions to the opr library to handle creating and
manipulating UUIDs.
The opr_uuid_t type is held as a 16 octet character string, which
comprises the UUID encoded into network byte order. This is the
primary form for manipulating UUIDs with this library, as it avoids
any nbo/hbo problems.
For applications which require raw access to the UUID components,
the opr_uuid_unpacked structure is provided, and
opr_uuid_pack/opr_uuid_unpack can be used to convert to and from
this format.
Finally, functions to print the UUID as a string, and parse a UUID
from a string, are provided. When printing, we use the standard UUID
format of 000000-0000-0000-0000-00000000. However, the afsUUID library
used to print UUIDs as 000000-0000-0000-00-00-00000000, so we also
accept this format.
Change-Id: I78ef79b7ab8ae15fb955c6495118722875c94f8d
Reviewed-on: http://gerrit.openafs.org/7977
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
2012-07-17 16:50:59 +01:00
|
|
|
|
2011-10-22 09:43:41 +01:00
|
|
|
clean distclean:
|
|
|
|
$(RM) -f $(tests) *.o core
|