summaryrefslogtreecommitdiffstats
path: root/Makefile.am
blob: c9ef12c2c4e4d456d1aa2d2b7cdd32ef59b28f99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# This file is part of libatasmart.
#
# Copyright 2008 Lennart Poettering
#
# libatasmart is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation, either version 2.1 of the
# License, or (at your option) any later version.
#
# libatasmart is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with libatasmart. If not, If not, see
# <http://www.gnu.org/licenses/>.

EXTRA_DIST = \
	bootstrap.sh \
	LGPL \
	README \
	atasmart.vapi \
	atasmart.c \
	blob-examples/README \
	blob-examples/Maxtor_96147H8--BAC51KJ0 \
	blob-examples/SAMSUNG_HD501LJ--CR100-12 \
	blob-examples/ST320410A--3.39 \
	blob-examples/WDC_WD2500JB--00REA0-20.00K20 \
	blob-examples/WDC_WD5000AAKS--00TMA0-12.01C01

SUBDIRS =

CLEANFILES = atasmart.strpool.c

MAINTAINERCLEANFILES =
noinst_DATA =

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libatasmart.pc

include_HEADERS = \
	atasmart.h

sbin_PROGRAMS = \
	skdump \
	sktest

noinst_PROGRAMS = \
	strpool

lib_LTLIBRARIES = \
	libatasmart.la

skdump_SOURCES = \
	skdump.c
skdump_LDADD = \
	libatasmart.la

sktest_SOURCE = \
	sktest.c
sktest_LDADD = \
	libatasmart.la

libatasmart_la_SOURCES = \
	atasmart.strpool.c atasmart.h
libatasmart_la_LDFLAGS = \
	-version-info $(LIBATASMART_VERSION_INFO)
libatasmart_la_LIBADD = \
	$(LIBUDEV_LIBS)
libatasmart_la_CFLAGS = \
	$(LIBUDEV_CFLAGS)

strpool_SOURCES = \
	strpool.c

BUILT_SOURCES = \
	atasmart.strpool.c

atasmart.strpool.c: atasmart.c strpool
	$(top_builddir)/strpool $< $@