discover: Use pxeconffile for udhcpc option name
[petitboot] / discover / Makefile.am
index 1dd63f1e088d76abf5b9681adeb922d51844abb5..2a7885d7c7c1ebb379578766a579ec21b9f8c5cc 100644 (file)
 
 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)"'
 
 EXTRA_DIST = native-parser.c
@@ -51,6 +54,8 @@ pb_discover_SOURCES = \
        pb-discover.h \
        resource.c \
        resource.h \
+       sysinfo.c \
+       sysinfo.h \
        network.c \
        network.h \
        udev.c \
@@ -58,11 +63,10 @@ pb_discover_SOURCES = \
        user-event.c \
        user-event.h \
        kboot-parser.c \
-       grub2-parser.c \
        yaboot-parser.c \
        pxe-parser.c
 
-pb_discover_LDADD = $(top_builddir)/lib/libpbcore.la
+pb_discover_LDADD = $(top_builddir)/lib/libpbcore.la grub2/grub2-parser.ro
 
 pb_discover_LDFLAGS = -ludev