po: Minor Russian translation updates
[petitboot] / discover / Makefile.am
index 9e922fe959b0dc9e212e6b8634ff186249347763..5d0f6e28f97a4ecc0c3f6578cb9482864df82da7 100644 (file)
@@ -13,6 +13,7 @@
 #
 
 sbin_PROGRAMS += discover/pb-discover
+noinst_PROGRAMS += discover/platform.ro
 
 discover_pb_discover_SOURCES = \
        discover/boot.c \
@@ -25,8 +26,6 @@ discover_pb_discover_SOURCES = \
        discover/discover-server.h \
        discover/event.c \
        discover/event.h \
-       discover/file.c \
-       discover/file.h \
        discover/params.c \
        discover/params.h \
        discover/parser.c \
@@ -39,9 +38,6 @@ discover_pb_discover_SOURCES = \
        discover/paths.h \
        discover/pb-discover.c \
        discover/pb-discover.h \
-       discover/platform.c \
-       discover/platform.h \
-       discover/platform-powerpc.c \
        discover/resource.c \
        discover/resource.h \
        discover/sysinfo.c \
@@ -57,10 +53,10 @@ discover_pb_discover_SOURCES = \
        discover/pxe-parser.c
 
 discover_pb_discover_LDADD = \
+       discover/grub2/grub2-parser.ro \
+       discover/platform.ro \
        $(core_lib) \
-       discover/grub2/grub2-parser.ro
-
-discover_pb_discover_LDFLAGS = -ludev
+       $(UDEV_LIBS)
 
 discover_pb_discover_CPPFLAGS = \
        $(AM_CPPFLAGS) \
@@ -70,5 +66,10 @@ discover_pb_discover_CPPFLAGS = \
        -DPKG_SHARE_DIR='"$(pkgsharedir)"' \
        -DPKG_SYSCONF_DIR='"$(pkgsysconfdir)"'
 
-EXTRA_DIST += discover/native-parser.c
+discover_platform_ro_SOURCES = \
+       discover/platform.c \
+       discover/platform.h \
+       discover/platform-powerpc.c
 
+discover_platform_ro_LINK = \
+       $(LD) -r -o $@