fix name of a blob in Makefile.am
[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_MHY2250BH--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/SAMSUNG_MP0804H--UE100-14 \
38         blob-examples/ST320410A--3.39 \
39         blob-examples/ST9160821AS--3.CLH \
40         blob-examples/ST9100821AS--3.CME \
41         blob-examples/TOSHIBA_MK1651GSY--38IGT0G5T \
42         blob-examples/WDC_WD2500JB--00REA0-20.00K20 \
43         blob-examples/WDC_WD2500JS-75NCB3--10.02E04 \
44         blob-examples/WDC_WD5000AAKS--00TMA0-12.01C01 \
45         vala/atasmart.vapi
46
47 SUBDIRS =
48
49 CLEANFILES = atasmart.strpool.c
50
51 MAINTAINERCLEANFILES =
52 noinst_DATA =
53
54 pkgconfigdir = $(libdir)/pkgconfig
55 pkgconfig_DATA = libatasmart.pc
56
57 vapidir = $(datadir)/vala/vapi
58 vapi_DATA = vala/atasmart.vapi
59
60 include_HEADERS = \
61         atasmart.h
62
63 sbin_PROGRAMS = \
64         skdump \
65         sktest
66
67 noinst_PROGRAMS = \
68         strpool
69
70 lib_LTLIBRARIES = \
71         libatasmart.la
72
73 skdump_SOURCES = \
74         skdump.c
75 skdump_LDADD = \
76         libatasmart.la
77
78 sktest_SOURCE = \
79         sktest.c
80 sktest_LDADD = \
81         libatasmart.la
82
83 libatasmart_la_SOURCES = \
84         atasmart.strpool.c atasmart.h
85 libatasmart_la_LDFLAGS = \
86         -version-info $(LIBATASMART_VERSION_INFO)
87 libatasmart_la_LIBADD = \
88         $(LIBUDEV_LIBS)
89 libatasmart_la_CFLAGS = \
90         $(LIBUDEV_CFLAGS)
91
92 strpool_SOURCES = \
93         strpool.c
94
95 BUILT_SOURCES = \
96         atasmart.strpool.c
97
98 atasmart.strpool.c: atasmart.c strpool
99         $(top_builddir)/strpool $< $@
100
101 ACLOCAL_AMFLAGS = -I m4