1 # This file is part of libatasmart.
3 # Copyright 2008 Lennart Poettering
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.
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.
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/>.
19 AM_CFLAGS = $(WARNINGFLAGS)
20 AM_LDFLAGS = $(GCLDFLAGS)
22 dist_doc_DATA = README
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 \
50 # build the strpool tool first
53 CLEANFILES = atasmart.strpool.c
55 MAINTAINERCLEANFILES =
58 pkgconfigdir = $(libdir)/pkgconfig
59 pkgconfig_DATA = libatasmart.pc
61 vapidir = $(datadir)/vala/vapi
62 vapi_DATA = vala/atasmart.vapi
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 = \
91 libatasmart_la_CFLAGS = \
98 $(MAKE) -C strpool strpool
100 atasmart.strpool.c: atasmart.c strpool/strpool
101 $(top_builddir)/strpool/strpool $< $@
103 ACLOCAL_AMFLAGS = -I m4