Makefile.am 1.53 KB
Newer Older
jpbl's avatar
jpbl committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
libexec_PROGRAMS = sflphoned
bin_SCRIPTS = sflphone

if USE_ZEROCONF
ZEROCONFDIR = zeroconf
ZEROCONFLIB = zeroconf/libzeroconf.la
ZEROCONFFLAGS = -DUSE_ZEROCONF
else
ZEROCONFDIR =
ZEROCONFLIB =
ZEROCONFFLAGS =  
endif

SUBDIRS = audio config gui $(ZEROCONFDIR)

yanmorin's avatar
 
yanmorin committed
16 17 18 19
sflphoned_SOURCES = eventthread.cpp 	main.cpp 	voIPLink.cpp \
		managerimpl.cpp	observer.cpp \
		account.cpp sipaccount.cpp iaxaccount.cpp accountcreator.cpp iaxvoiplink.cpp \
                sipvoiplink.cpp call.cpp sipcall.cpp
jpbl's avatar
jpbl committed
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40

sflphoned_CXXFLAGS = -DPREFIX=\"$(prefix)\" -DPROGSHAREDIR=\"${datadir}/sflphone\" $(ZEROCONFFLAGS)

#sflphoned_LDFLAGS = -static
sflphoned_LDADD =  ./libsflphone.la $(SFLPHONE_LIBS) $(ZEROCONFLIB) $(LIB_DNSSD)
#KDE_CXXFLAGS = $(USE_EXCEPTIONS)
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/libs -I$(srcdir)/audio/pacpp/include  $(libccext2_CFLAGS) $(libccgnu2_CFLAGS) $(portaudio_CFLAGS) -I$(top_srcdir)/libs/portaudio/pa_common

#libsflphone_la_LDFLAGS= -version-info 0:1:0
libsflphone_la_LIBADD = \
	$(top_builddir)/libs/eXosip2/libeXosip2.la \
	$(top_builddir)/libs/portaudio/libportaudio.la \
	$(top_builddir)/libs/stund/libstun.la \
	$(top_builddir)/libs/utilspp/libutilspp.la \
	./audio/libaudio.la \
	./gui/libguiframework.la \
	./config/libconfig.la 

libsflphone_la_SOURCES =

noinst_LTLIBRARIES = libsflphone.la
yanmorin's avatar
 
yanmorin committed
41 42 43 44 45
noinst_HEADERS = managerimpl.h manager.h global.h observer.h eventthread.h user_cfg.h \
                 voIPLink.h \
		 account.h sipaccount.h iaxaccount.h accountcreator.h iaxvoiplink.h \
                 sipvoiplink.h  call.h  sipcall.h