build-system: add missing blob to tarball
[platform/upstream/libatasmart.git] / Makefile.am
1 # This file is part of libatasmart.
2 #
3 # Copyright 2008 Lennart Poettering
4 #
5 # libatasmart is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU Lesser General Public License as
7 # published by the Free Software Foundation, either version 2.1 of the
8 # License, or (at your option) any later version.
9 #
10 # libatasmart is distributed in the hope that it will be useful, but
11 # WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 # Lesser General Public License for more details.
14 #
15 # You should have received a copy of the GNU Lesser General Public
16 # License along with libatasmart. If not, If not, see
17 # <http://www.gnu.org/licenses/>.
18
19 EXTRA_DIST = \
20         bootstrap.sh \
21         LGPL \
22         README \
23         atasmart.vapi \
24         atasmart.c \
25         blob-examples/README \
26         blob-examples/FUJITSU_MHY2120BH--0084000D \
27         blob-examples/FUJITSU_MHY2120BH--0085000B \
28         blob-examples/FUJITSU_MHZ2160BH_G1--0084000A \
29         blob-examples/Maxtor_96147H8--BAC51KJ0 \
30         blob-examples/SAMSUNG_HD501LJ--CR100-12 \
31         blob-examples/ST320410A--3.39 \
32         blob-examples/ST9160821AS--3.CLH \
33         blob-examples/WDC_WD2500JB--00REA0-20.00K20 \
34         blob-examples/WDC_WD2500JS-75NCB3--10.02E04 \
35         blob-examples/WDC_WD5000AAKS--00TMA0-12.01C01
36
37 SUBDIRS =
38
39 CLEANFILES = atasmart.strpool.c
40
41 MAINTAINERCLEANFILES =
42 noinst_DATA =
43
44 pkgconfigdir = $(libdir)/pkgconfig
45 pkgconfig_DATA = libatasmart.pc
46
47 include_HEADERS = \
48         atasmart.h
49
50 sbin_PROGRAMS = \
51         skdump \
52         sktest
53
54 noinst_PROGRAMS = \
55         strpool
56
57 lib_LTLIBRARIES = \
58         libatasmart.la
59
60 skdump_SOURCES = \
61         skdump.c
62 skdump_LDADD = \
63         libatasmart.la
64
65 sktest_SOURCE = \
66         sktest.c
67 sktest_LDADD = \
68         libatasmart.la
69
70 libatasmart_la_SOURCES = \
71         atasmart.strpool.c atasmart.h
72 libatasmart_la_LDFLAGS = \
73         -version-info $(LIBATASMART_VERSION_INFO)
74 libatasmart_la_LIBADD = \
75         $(LIBUDEV_LIBS)
76 libatasmart_la_CFLAGS = \
77         $(LIBUDEV_CFLAGS)
78
79 strpool_SOURCES = \
80         strpool.c
81
82 BUILT_SOURCES = \
83         atasmart.strpool.c
84
85 atasmart.strpool.c: atasmart.c strpool
86         $(top_builddir)/strpool $< $@
87
88 ACLOCAL_AMFLAGS = -I m4