discover: remove register_parser printf
[petitboot] / discover / Makefile.am
index e736e936d817d885c55ed8bf3e82086949be503e..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
@@ -35,7 +38,8 @@ pb_discover_SOURCES = \
        discover-server.h \
        event.c \
        event.h \
-       event-parser.c \
+       file.c \
+       file.h \
        params.c \
        params.h \
        parser.c \
@@ -50,6 +54,8 @@ pb_discover_SOURCES = \
        pb-discover.h \
        resource.c \
        resource.h \
+       sysinfo.c \
+       sysinfo.h \
        network.c \
        network.h \
        udev.c \
@@ -57,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