X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=discover%2FMakefile.am;h=84c0436a9ade56835d4a737dce769bcd47d084fb;hp=a3087ef8fefe223796427b65998f45b4a1fcc7cf;hb=9de5d31f93dab36cfb451e9ad724d47311b54424;hpb=5be946cda7b8e2271ade6188ca3f5dc068826619 diff --git a/discover/Makefile.am b/discover/Makefile.am index a3087ef..84c0436 100644 --- a/discover/Makefile.am +++ b/discover/Makefile.am @@ -12,55 +12,64 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # +pkgsysconfdir = @sysconfdir@/@PACKAGE@ + +SUBDIRS = grub2 + AM_CPPFLAGS = -I$(top_srcdir)/lib $(DEFAULT_CPPFLAGS) AM_CFLAGS = $(DEFAULT_CFLAGS) \ -DPREFIX='"$(prefix)"' \ -DPKG_SHARE_DIR='"$(pkgdatadir)"' \ + -DPKG_SYSCONF_DIR='"$(pkgsysconfdir)"' \ + -DPKG_LIBEXEC_DIR='"$(pkglibexecdir)"' \ -DLOCAL_STATE_DIR='"$(localstatedir)"' -noinst_LTLIBRARIES = libparser.la - -libparser_la_SOURCES = \ - parser.c \ - parser.h \ - parser-conf.c \ - parser-conf.h \ - parser-utils.c \ - parser-utils.h \ - paths.c \ - paths.h \ - resource.c \ - resource.h \ - kboot-parser.c \ - grub2-parser.c \ - yaboot-parser.c - EXTRA_DIST = native-parser.c -libparser_la_LIBADD = $(top_builddir)/lib/libpbcore.la - sbin_PROGRAMS = pb-discover pb_discover_SOURCES = \ boot.c \ boot.h \ + cdrom.c \ + cdrom.h \ device-handler.c \ device-handler.h \ discover-server.c \ discover-server.h \ event.c \ event.h \ - event-parser.c \ + file.c \ + file.h \ params.c \ params.h \ + parser.c \ + parser.h \ + parser-conf.c \ + parser-conf.h \ + parser-utils.c \ + parser-utils.h \ + paths.c \ + paths.h \ pb-discover.c \ pb-discover.h \ + resource.c \ + resource.h \ + sysinfo.c \ + sysinfo.h \ + network.c \ + network.h \ udev.c \ udev.h \ user-event.c \ - user-event.h + user-event.h \ + kboot-parser.c \ + yaboot-parser.c \ + pxe-parser.c + +pb_discover_LDADD = $(top_builddir)/lib/libpbcore.la grub2/grub2-parser.ro -pb_discover_LDADD = libparser.la $(top_builddir)/lib/libpbcore.la +pb_discover_LDFLAGS = -ludev MAINTAINERCLEANFILES = Makefile.in