From 9f217413cdc3f58dfd8ce58dd94d7b8943f50b4b 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(-) 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