---
 client/Makefile.am |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/client/Makefile.am b/client/Makefile.am
index 166ce5e..da859f4 100644
--- a/client/Makefile.am
+++ b/client/Makefile.am
@@ -28,8 +28,10 @@ else
 GL_SRCS =
 endif
 
+SMARTCARD_SRC_ENABLED = smartcard_channel.cpp smartcard_channel.h
+
 if SUPPORT_SMARTCARD
-SMARTCARD_SRCS = smartcard_channel.cpp
+SMARTCARD_SRCS = $(SMARTCARD_SRC_ENABLED)
 else
 SMARTCARD_SRCS =
 endif
@@ -140,6 +142,6 @@ GDI_FILES =                         \
 
 MAINTAINERCLEANFILES = $(spice_built_sources)
 
-EXTRA_DIST = $(RED_COMMON_SRCS) $(spice_built_sources) $(GL_SRCS) $(GDI_FILES) 
$(SMARTCARD_SRCS)
+EXTRA_DIST = $(RED_COMMON_SRCS) $(spice_built_sources) $(GL_SRCS) $(GDI_FILES) 
$(SMARTCARD_SRC_ENABLED)
 
 BUILT_SOURCES = $(spice_built_sources)
-- 
1.7.3.2

_______________________________________________
Spice-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to