5ddba1fd74823520e2511165bcbacfa08a44061a
[petitboot] / discover / Makefile.am
1 #  This program is free software; you can redistribute it and/or modify
2 #  it under the terms of the GNU General Public License as published by
3 #  the Free Software Foundation; version 2 of the License.
4 #
5 #  This program is distributed in the hope that it will be useful,
6 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
7 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
8 #  GNU General Public License for more details.
9 #
10 #  You should have received a copy of the GNU General Public License
11 #  along with this program; if not, write to the Free Software
12 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
13 #
14
15 AM_CPPFLAGS = -I$(top_srcdir)/lib $(DEFAULT_CPPFLAGS)
16
17 AM_CFLAGS = $(DEFAULT_CFLAGS)  \
18         -DPREFIX='"$(prefix)"' \
19         -DPKG_SHARE_DIR='"$(pkgdatadir)"' \
20         -DLOCAL_STATE_DIR='"$(localstatedir)"'
21
22 noinst_LTLIBRARIES = libparser.la
23
24 libparser_la_SOURCES = \
25         parser.c \
26         parser.h \
27         parser-conf.c \
28         parser-conf.h \
29         parser-utils.c \
30         parser-utils.h \
31         paths.c \
32         paths.h \
33         kboot-parser.c \
34         yaboot-parser.c
35
36 EXTRA_DIST = native-parser.c
37
38 libparser_la_LIBADD = $(top_builddir)/lib/libpbcore.la
39
40 sbin_PROGRAMS = pb-discover
41
42 pb_discover_SOURCES = \
43         device-handler.c \
44         device-handler.h \
45         discover-server.c \
46         discover-server.h \
47         event.c \
48         event.h \
49         event-parser.c \
50         message.h \
51         params.c \
52         params.h \
53         pb-discover.c \
54         pb-discover.h \
55         udev.c \
56         udev.h \
57         user-event.c \
58         user-event.h
59
60 pb_discover_LDADD = libparser.la $(top_builddir)/lib/libpbcore.la
61
62 MAINTAINERCLEANFILES = Makefile.in