bump version and soname
[platform/upstream/libatasmart.git] / Makefile.am
index 040029b..f76414a 100644 (file)
@@ -19,6 +19,8 @@
 EXTRA_DIST = bootstrap.sh LGPL README atasmart.vapi atasmart.c
 SUBDIRS =
 
+CLEANFILES = atasmart.strpool.c
+
 MAINTAINERCLEANFILES =
 noinst_DATA =
 
@@ -28,7 +30,7 @@ pkgconfig_DATA = libatasmart.pc
 include_HEADERS = \
        atasmart.h
 
-bin_PROGRAMS = \
+sbin_PROGRAMS = \
        skdump \
        sktest
 
@@ -51,7 +53,11 @@ sktest_LDADD = \
 libatasmart_la_SOURCES = \
        atasmart.strpool.c atasmart.h
 libatasmart_la_LDFLAGS = \
-       -version-info 0:0:0
+       -version-info $(LIBATASMART_VERSION_INFO)
+libatasmart_la_LIBADD = \
+       $(LIBUDEV_LIBS)
+libatasmart_la_CFLAGS = \
+       $(LIBUDEV_CFLAGS)
 
 strpool_SOURCES = \
        strpool.c
@@ -60,4 +66,4 @@ BUILT_SOURCES = \
        atasmart.strpool.c
 
 atasmart.strpool.c: atasmart.c strpool
-       $(builddir)/strpool $< $@
+       $(top_builddir)/strpool $< $@