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