tests: all $(tests)
test_%: %.c
- $(COMPILE) -DTEST_PROGRAM $< .libs/libblkid.a -o $@ $(common_ldadd)
+ $(COMPILE) -DTEST_PROGRAM $< .libs/libblkid.a -o $@ $(UUID_LIBS)
# move lib from $(usrlib_execdir) to $(libdir) if needed
AM_CPPFLAGS += -I$(ul_libuuid_srcdir)
noinst_PROGRAMS = tst_uuid
-tst_uuid_LDADD = $(ul_libuuid_la)
-tst_uuid_CFLAGS = -I$(ul_libuuid_srcdir)
+tst_uuid_LDADD = libuuid.la #$(ul_libuuid_la)
# includes
uuidincdir = $(includedir)/uuid
isnull.c pack.c parse.c unpack.c unparse.c uuidd.h \
uuidd.h uuidP.h uuid_time.c $(uuidinc_HEADERS)
-libuuid_la_DEPENDENCIES = $(libuuid_la_LIBADD) uuid.sym
+libuuid_la_DEPENDENCIES = uuid.sym
libuuid_la_LDFLAGS = -Wl,--version-script=$(ul_libuuid_srcdir)/uuid.sym \
-version-info 1:0:0
-#tests = test_uuid_time
-
EXTRA_DIST = uuid.sym gen_uuid_nt.c
-CLEANFILES = $(tests)
-
-tests: all $(tests)
-test_%: %.c
- $(COMPILE) -DTEST_PROGRAM $< .libs/libuuid.a -o $@
-
# move lib from $(usrlib_execdir) to $(libdir) if needed
install-exec-hook: