Makefile.am 1.31 KB
Newer Older
aymeric's avatar
aymeric committed
1 2
## Process this file with automake to produce Makefile.in

3 4
COMMON_CFLAGS=$(STRICT_OPTIONS) -DIN_LINPHONE -DENABLE_TRACE -D_ORTP_SOURCE $(VIDEO_CFLAGS) $(READLINE_CFLAGS) $(OSIP_CFLAGS)

aymeric's avatar
aymeric committed
5 6 7 8 9 10 11 12 13 14 15
if BUILD_CONSOLE

INCLUDES = \
	-I$(top_srcdir)\
	-I$(top_srcdir)/coreapi\
	$(ORTP_CFLAGS) \
	-I$(top_srcdir)/exosip \
	-I$(top_srcdir)/mediastreamer2/include



16
bin_PROGRAMS =  linphonec linphonecsh
aymeric's avatar
aymeric committed
17

18 19 20
if BUILD_WIN32
bin_PROGRAMS += linphoned
endif
aymeric's avatar
aymeric committed
21

22 23
linphonec_SOURCES = linphonec.c linphonec.h commands.c
linphonec_CFLAGS=$(COMMON_CFLAGS) $(CONSOLE_FLAGS)
24 25 26 27 28
linphonec_LDADD = $(top_builddir)/coreapi/liblinphone.la $(READLINE_LIBS)  \
		$(top_builddir)/mediastreamer2/src/libmediastreamer.la \
		$(ORTP_LIBS) \
		$(SPEEX_LIBS) \
		$(OSIP_LIBS)
aymeric's avatar
aymeric committed
29

30 31 32 33 34 35 36 37
if BUILD_WIN32
#special build of linphonec to detach from the windows console
linphoned_SOURCES = $(linphonec_SOURCES)
linphoned_CFLAGS=$(COMMON_CFLAGS) $(GUI_FLAGS)
linphoned_LDADD=$(linphonec_LDADD)
endif


aymeric's avatar
aymeric committed
38 39
sipomatic_SOURCES=\
	sipomatic.c sipomatic.h
40
sipomatic_CFLAGS= $(COMMON_CFLAGS) $(CONSOLE_FLAGS)
aymeric's avatar
aymeric committed
41 42

sipomatic_LDADD= 	$(INTLLIBS)  \
43 44 45 46
			$(top_builddir)/coreapi/liblinphone.la \
			$(top_builddir)/mediastreamer2/src/libmediastreamer.la \
			$(ORTP_LIBS) \
			$(SPEEX_LIBS) \
aymeric's avatar
aymeric committed
47 48
			$(OSIP_LIBS)

49
linphonecsh_SOURCES = shell.c
50
linphonecsh_CFLAGS = $(CONSOLE_FLAGS)
51 52
linphonecsh_LDADD = $(ORTP_LIBS)

aymeric's avatar
aymeric committed
53 54
endif

55

aymeric's avatar
aymeric committed
56 57 58