diff --git a/sflphone-common/src/Makefile.am b/sflphone-common/src/Makefile.am
index 1b7cfcbbb50598ea1ab1d0b6e1337b64ba117733..d5684dac1323381123ca3243e9b0d38dbcecb29f 100644
--- a/sflphone-common/src/Makefile.am
+++ b/sflphone-common/src/Makefile.am
@@ -7,20 +7,7 @@ libexec_PROGRAMS = sflphoned
 
 SUBDIRS = dbus audio config plug-in hooks history sip iax im video
 
-# Add here the cpp files to be build with sflphone
-sflphoned_SOURCES = \
-		conference.cpp \
-		voiplink.cpp \
-		main.cpp \
-		preferences.cpp \
-		managerimpl.cpp \
-		managerimpl_registration.cpp \
-		eventthread.cpp \
-		accountcreator.cpp \
-		call.cpp \
-		account.cpp \
-		logger.cpp \
-		numbercleaner.cpp 
+sflphoned_SOURCES = main.cpp
 
 # Redefine the USE_IAX variable here, so that it could be used in managerimpl
 if USE_IAX
@@ -104,5 +91,14 @@ libsflphone_la_CFLAGS = \
 		@yaml_CFLAGS@ \
 	 	@xml_CFLAGS@
 
-libsflphone_la_SOURCES =
-
+libsflphone_la_SOURCES = conference.cpp \
+		voiplink.cpp \
+		preferences.cpp \
+		managerimpl.cpp \
+		managerimpl_registration.cpp \
+		eventthread.cpp \
+		accountcreator.cpp \
+		call.cpp \
+		account.cpp \
+		logger.cpp \
+		numbercleaner.cpp