Skip to content
Snippets Groups Projects
Commit 92edf323 authored by Rafaël Carré's avatar Rafaël Carré
Browse files

Move all .cpp files from sflphoned target to libsflphone.la, except main.c

That way we can link libsflphone.la to tests
parent e886ed51
No related branches found
No related tags found
No related merge requests found
...@@ -7,20 +7,7 @@ libexec_PROGRAMS = sflphoned ...@@ -7,20 +7,7 @@ libexec_PROGRAMS = sflphoned
SUBDIRS = dbus audio config plug-in hooks history sip iax im video SUBDIRS = dbus audio config plug-in hooks history sip iax im video
# Add here the cpp files to be build with sflphone sflphoned_SOURCES = main.cpp
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
# Redefine the USE_IAX variable here, so that it could be used in managerimpl # Redefine the USE_IAX variable here, so that it could be used in managerimpl
if USE_IAX if USE_IAX
...@@ -104,5 +91,14 @@ libsflphone_la_CFLAGS = \ ...@@ -104,5 +91,14 @@ libsflphone_la_CFLAGS = \
@yaml_CFLAGS@ \ @yaml_CFLAGS@ \
@xml_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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment