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