On 12 Apr 2016, at 14:11, Wouter Verhelst <[email protected]> wrote:

> This can be done more easily like so:
> 
> 
> nbd_client_SOURCES = nbd-client.c cliserv.h
> nbd_server_SOURCES = nbd-server.c cliserv.h lfs.h nbd.h nbdsrv.h backend.h
> TLSSRC = crypto-gnutls.c crypto-gnutls.h
> if GNUTLS
> nbd_client_SOURCES += $(TLSSRC)
> nbd_server_SOURCES += $(TLSSRC)
> endif
> 
> Automake is smart enough about conditionals to realize that they might
> add some extra files which need to be distributed, and so fiddling with
> EXTRA_DIST isn't required (as per
> https://www.gnu.org/software/automake/manual/html_node/Conditional-Sources.html#Conditional-Compilation-using-Automake-Conditionals)

OK, fixed in PATCHv3, along with support for nbd-client, which
(surprisingly) seems to work out the box.

-- 
Alex Bligh





------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Nbd-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nbd-general

Reply via email to