X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=discover%2FMakefile.am;h=4a6cbd094737a3b32ffd3205d844b4c08b0c0563;hp=7808110811cb00654f5605a51031235f780be568;hb=675eb751ff84e80f286da808daa931a84baf9302;hpb=28219c8896177558892f48bef03ef7381382c420 diff --git a/discover/Makefile.am b/discover/Makefile.am index 7808110..4a6cbd0 100644 --- a/discover/Makefile.am +++ b/discover/Makefile.am @@ -24,6 +24,8 @@ discover_pb_discover_SOURCES = \ discover/device-handler.h \ discover/discover-server.c \ discover/discover-server.h \ + discover/devmapper.c \ + discover/devmapper.h \ discover/event.c \ discover/event.h \ discover/params.c \ @@ -56,7 +58,12 @@ discover_pb_discover_LDADD = \ discover/grub2/grub2-parser.ro \ discover/platform.ro \ $(core_lib) \ - $(UDEV_LIBS) + $(UDEV_LIBS) \ + $(GPGME_LIBS) + +discover_pb_discover_LDFLAGS = \ + $(AM_LDFLAGS) \ + $(DEVMAPPER_LIBS) discover_pb_discover_CPPFLAGS = \ $(AM_CPPFLAGS) \ @@ -73,7 +80,21 @@ discover_platform_ro_SOURCES = \ discover/ipmi.h \ discover/dt.c \ discover/dt.h \ + discover/hostboot.h \ discover/platform-powerpc.c +discover_platform_ro_CPPFLAGS = \ + $(AM_CPPFLAGS) + +if ENABLE_MTD +discover_platform_ro_SOURCES += \ + discover/hostboot.c + +discover_platform_ro_LDFLAGS = \ + $(core_lib) \ + $(UDEV_LIBS) + +endif + discover_platform_ro_LINK = \ $(LD) -r -o $@