From 36c36e04a5cb8bb7b166dcfab7eb351fc4bd2115 Mon Sep 17 00:00:00 2001 From: rbuj Date: Sat, 13 Oct 2018 10:06:48 +0200 Subject: librda_la_SOURCES: add conditional sources --- src/Makefile.am | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index c770c54..4cae77f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -15,10 +15,9 @@ librdainclude_HEADERS = \ $(NULL) librda_la_SOURCES = \ - $(rda_headers) \ rda.c \ - rda_x2go.h \ - rda_x2go.c \ + $(if WITH_X2GO_AWARENESS, rda_x2go.c) \ + $(if WITH_OGON_AWARENESS, rda_ogon.c) \ $(NULL) librda_la_CFLAGS = \ -- cgit v1.2.3