X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib/blobdiff_plain/e3afa470a387e2726de5541e9871ccb2e9915a83..4a0b387cc66628ea8bab3a5b3da1d8790d98d0ee:/Makefile.am diff --git a/Makefile.am b/Makefile.am index 381ba0b..131a94c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -56,7 +56,7 @@ pkginclude_HEADERS = \ ## --- Things to put in the library --- -libmLib_la_LDFLAGS = -version-info 2:4:0 +libmLib_la_LDFLAGS = -version-info 2:5:0 ## Middle number is the patchlevel. Final number is the minor version. The ## difference between the first and last numbers is major version. @@ -101,11 +101,11 @@ unihash_mkstatic_CFLAGS = $(AM_CFLAGS) ## --- Test code --- -noinst_PROGRAMS = da.t sym.t assoc.t bits.t +noinst_PROGRAMS = da.t sym.t assoc.t bits.t versioncmp.t check: \ da.test sym.test assoc.test bits.test base64.test hex.test \ - base32.test \ + base32.test versioncmp.test \ unihash.test da_t_SOURCES = da-test.c @@ -152,6 +152,14 @@ bits.o: bits.c bits.test: bits.t ./bits.t -f $(srcdir)/bits.in +versioncmp_t_SOURCES = versioncmp-test.c +versioncmp_t_LDADD = libmLib.la +versioncmp_t_LDFLAGS = -static +versioncmp-test.o: versioncmp-test.c + $(COMPILE) -c -DSRCDIR="\"$(srcdir)\"" $(srcdir)/versioncmp-test.c -o $@ +versioncmp.test: versioncmp.t + ./versioncmp.t -f $(srcdir)/versioncmp.in + base64.to: base64.c $(COMPILE) -c -DTEST_RIG -DSRCDIR=\"$(srcdir)\" \ $(srcdir)/base64.c -o base64.to @@ -214,6 +222,7 @@ TEST_DIST = \ sym-gtest sym-ref \ bits.in bits-testgen.c \ unihash-check.pl unihash.in \ + versioncmp.in \ base64.in base64.ref base32.in base32.ref hex.in hex.ref ## --- Background resolver --- @@ -237,7 +246,7 @@ uninstall-man: CLEANFILES = $(TEST_CLEAN) crc32-tab.c unihash-global.c DISTCLEANFILES = libtool EXTRA_DIST = \ - $(TEST_DIST) maninst \ + $(TEST_DIST) config/maninst \ debian/rules debian/copyright debian/control debian/changelog ##----- That's all, folks ---------------------------------------------------