Makefile.am 1.3 KB
Newer Older
yanmorin's avatar
   
yanmorin committed
1
2
libexec_PROGRAMS = sflphoned
bin_SCRIPTS = sflphone
jpbl's avatar
jpbl committed
3
4
lib_LTLIBRARIES = libsflphone.la

jpbl's avatar
jpbl committed
5

yanmorin's avatar
   
yanmorin committed
6
if USE_ZEROCONF
yanmorin's avatar
   
yanmorin committed
7
ZEROCONFDIR = zeroconf
yanmorin's avatar
   
yanmorin committed
8
9
10
ZEROCONFLIB = zeroconf/libzeroconf.la
ZEROCONFFLAGS = -DUSE_ZEROCONF
else
yanmorin's avatar
   
yanmorin committed
11
ZEROCONFDIR =
yanmorin's avatar
   
yanmorin committed
12
13
14
15
ZEROCONFLIB =
ZEROCONFFLAGS =  
endif

yanmorin's avatar
   
yanmorin committed
16
17
SUBDIRS = audio config gui $(ZEROCONFDIR)

yanmorin's avatar
   
yanmorin committed
18
sflphoned_SOURCES = call.cpp 	eventthread.cpp 	main.cpp 	sipvoiplink.cpp 	voIPLink.cpp \
yanmorin's avatar
   
yanmorin committed
19
		sipcall.cpp 	managerimpl.cpp 	managerimpl.h 	manager.h 	global.h \
yanmorin's avatar
   
yanmorin committed
20
		eventthread.h 	\
yanmorin's avatar
   
yanmorin committed
21
		sipvoiplink.h 	user_cfg.h 	call.h 	voIPLink.h 	sipcall.h 	\
yanmorin's avatar
   
yanmorin committed
22
		observer.cpp
jpbl's avatar
jpbl committed
23

jpbl's avatar
jpbl committed
24

yanmorin's avatar
   
yanmorin committed
25
sflphoned_CXXFLAGS = -DPREFIX=\"$(prefix)\" -DPROGSHAREDIR=\"${datadir}/sflphone\" $(ZEROCONFFLAGS)
jpbl's avatar
jpbl committed
26

yanmorin's avatar
   
yanmorin committed
27
#sflphoned_LDFLAGS = -static
jpbl's avatar
jpbl committed
28
sflphoned_LDADD =  ./libsflphone.la $(SFLPHONE_LIBS) $(ZEROCONFLIB) $(LIB_DNSSD) 
yanmorin's avatar
   
yanmorin committed
29
#KDE_CXXFLAGS = $(USE_EXCEPTIONS)
yanmorin's avatar
   
yanmorin committed
30
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(srcdir)/audio/pacpp/include  $(libccext2_CFLAGS) $(libccgnu2_CFLAGS) $(portaudio_CFLAGS) -I$(top_srcdir)/portaudio/pa_common
jpbl's avatar
jpbl committed
31

jpbl's avatar
jpbl committed
32
33
34
35
36
37
38
39
40
41
42
43
44
libsflphone_la_LDFLAGS= -version-info 0:1:0
libsflphone_la_LIBADD = \
	$(top_builddir)/exosip2/libeXosip2.la \
	$(top_builddir)/portaudio/libportaudio.la \
	$(top_builddir)/stund/libstun.la \
	$(top_builddir)/utilspp/libutilspp.la \
	./audio/libaudio.la \
	./gui/libguiframework.la \
	./config/libconfig.la 

libsflphone_la_SOURCES =


yanmorin's avatar
   
yanmorin committed
45
noinst_HEADERS = observer.h