discover: Add setlocale calls in discover server
[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 pkgsysconfdir = @sysconfdir@/@PACKAGE@
16
17 SUBDIRS = grub2
18
19 AM_CPPFLAGS = -I$(top_srcdir)/lib \
20         -DLOCALEDIR='"$(localedir)"' \
21         $(DEFAULT_CPPFLAGS)
22
23 AM_CFLAGS = $(DEFAULT_CFLAGS)  \
24         -DPREFIX='"$(prefix)"' \
25         -DPKG_SHARE_DIR='"$(pkgdatadir)"' \
26         -DPKG_SYSCONF_DIR='"$(pkgsysconfdir)"' \
27         -DPKG_LIBEXEC_DIR='"$(pkglibexecdir)"' \
28         -DLOCAL_STATE_DIR='"$(localstatedir)"'
29
30 EXTRA_DIST = native-parser.c
31
32 sbin_PROGRAMS = pb-discover
33
34 pb_discover_SOURCES = \
35         boot.c \
36         boot.h \
37         cdrom.c \
38         cdrom.h \
39         device-handler.c \
40         device-handler.h \
41         discover-server.c \
42         discover-server.h \
43         event.c \
44         event.h \
45         file.c \
46         file.h \
47         params.c \
48         params.h \
49         parser.c \
50         parser.h \
51         parser-conf.c \
52         parser-conf.h \
53         parser-utils.c \
54         parser-utils.h \
55         paths.c \
56         paths.h \
57         pb-discover.c \
58         pb-discover.h \
59         platform.c \
60         platform.h \
61         platform-powerpc.c \
62         resource.c \
63         resource.h \
64         sysinfo.c \
65         sysinfo.h \
66         network.c \
67         network.h \
68         udev.c \
69         udev.h \
70         user-event.c \
71         user-event.h \
72         kboot-parser.c \
73         yaboot-parser.c \
74         pxe-parser.c
75
76 pb_discover_LDADD = $(top_builddir)/lib/libpbcore.la grub2/grub2-parser.ro
77
78 pb_discover_LDFLAGS = -ludev
79
80 MAINTAINERCLEANFILES = Makefile.in