add another SSD blob
[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 dist_doc_DATA = README
20
21 EXTRA_DIST = \
22         bootstrap.sh \
23         LGPL \
24         README \
25         atasmart.c \
26         blob-examples/README \
27         blob-examples/FUJITSU_MHY2120BH--0084000D \
28         blob-examples/FUJITSU_MHY2120BH--0085000B \
29         blob-examples/FUJITSU_MHY2120BH--0085000B \
30         blob-examples/FUJITSU_MHZ2160BH_G1--0084000A \
31         blob-examples/INTEL_SSDSA2MH080G1GC--045C8820 \
32         blob-examples/Maxtor_96147H8--BAC51KJ0 \
33         blob-examples/Maxtor_96147H8--BAC51KJ0--2 \
34         blob-examples/MCCOE64GEMPP--2.9.09 \
35         blob-examples/SAMSUNG_HD501LJ--CR100-12 \
36         blob-examples/SAMSUNG_MMCQE28G8MUP--0VA_VAM08L1Q \
37         blob-examples/ST320410A--3.39 \
38         blob-examples/ST9160821AS--3.CLH \
39         blob-examples/TOSHIBA_MK1651GSY--38IGT0G5T \
40         blob-examples/WDC_WD2500JB--00REA0-20.00K20 \
41         blob-examples/WDC_WD2500JS-75NCB3--10.02E04 \
42         blob-examples/WDC_WD5000AAKS--00TMA0-12.01C01 \
43         vala/atasmart.vapi
44
45 SUBDIRS =
46
47 CLEANFILES = atasmart.strpool.c
48
49 MAINTAINERCLEANFILES =
50 noinst_DATA =
51
52 pkgconfigdir = $(libdir)/pkgconfig
53 pkgconfig_DATA = libatasmart.pc
54
55 vapidir = $(datadir)/vala/vapi
56 vapi_DATA = vala/atasmart.vapi
57
58 include_HEADERS = \
59         atasmart.h
60
61 sbin_PROGRAMS = \
62         skdump \
63         sktest
64
65 noinst_PROGRAMS = \
66         strpool
67
68 lib_LTLIBRARIES = \
69         libatasmart.la
70
71 skdump_SOURCES = \
72         skdump.c
73 skdump_LDADD = \
74         libatasmart.la
75
76 sktest_SOURCE = \
77         sktest.c
78 sktest_LDADD = \
79         libatasmart.la
80
81 libatasmart_la_SOURCES = \
82         atasmart.strpool.c atasmart.h
83 libatasmart_la_LDFLAGS = \
84         -version-info $(LIBATASMART_VERSION_INFO)
85 libatasmart_la_LIBADD = \
86         $(LIBUDEV_LIBS)
87 libatasmart_la_CFLAGS = \
88         $(LIBUDEV_CFLAGS)
89
90 strpool_SOURCES = \
91         strpool.c
92
93 BUILT_SOURCES = \
94         atasmart.strpool.c
95
96 atasmart.strpool.c: atasmart.c strpool
97         $(top_builddir)/strpool $< $@
98
99 ACLOCAL_AMFLAGS = -I m4