X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=discover%2FMakefile.am;h=5d5f5b42787df172e5804f6c08678f1ac512bd88;hp=5f634425f948dca00a2953040888cde779382eb2;hb=ae3c354e844698bdb4ed35a6845aa9dca1e9205f;hpb=eea4234f719966d2c2e4351d2f465edf58b80ed3 diff --git a/discover/Makefile.am b/discover/Makefile.am index 5f63442..5d5f5b4 100644 --- a/discover/Makefile.am +++ b/discover/Makefile.am @@ -12,51 +12,67 @@ # 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 \ - 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 \ + platform.c \ + platform.h \ + platform-powerpc.c \ + 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