Makefile.am 1.6 KB
Newer Older
Pierre-Luc Beaudoin's avatar
Pierre-Luc Beaudoin committed
1 2
bin_PROGRAMS = sflphone-gtk

3 4
SUBDIRS=contactlist
  
Julien Bonjean's avatar
Julien Bonjean committed
5
# noinst_LTLIBRARIES = libsflphonegtk.la
6

7 8 9
NOFIFY_LIBS=-lnotify
SEXY_LIBS=-lsexy

10 11 12 13 14 15 16 17
#if GTK_CHECK_VERSION(2,10,0)  
STATUSICON_HEADER = statusicon.h
STATUSICON_SOURCE = statusicon.c
#elif
#STATUSICON_HEADER = 
#STATUSICON_SOURCE = 
#endif

Pierre-Luc Beaudoin's avatar
Pierre-Luc Beaudoin committed
18 19
sflphone_gtk_SOURCES = \
  main.c \
20
  errors.c \
Pierre-Luc Beaudoin's avatar
Pierre-Luc Beaudoin committed
21
  dbus.c \
22
  sflnotify.c \
23
  assistant.c \
Pierre-Luc Beaudoin's avatar
Pierre-Luc Beaudoin committed
24 25 26
  mainwindow.c \
  calllist.c \
  dialpad.c \
27
  audioconf.c \
Pierre-Luc Beaudoin's avatar
Pierre-Luc Beaudoin committed
28
  menus.c \
areversat's avatar
areversat committed
29
  calltab.c \
Pierre-Luc Beaudoin's avatar
Pierre-Luc Beaudoin committed
30
  calltree.c \
31
  searchfilter.c \
Pierre-Luc Beaudoin's avatar
Pierre-Luc Beaudoin committed
32 33 34 35
  actions.c \
  configwindow.c \
  accountlist.c \
  accountwindow.c \
36
  marshaller.c \
37
  sliders.c \
38
  $(STATUSICON_SOURCE) \
Jean Tessier's avatar
Jean Tessier committed
39
  codeclist.c \
40
  timestamp.c \
41 42
  reqaccount.c \
  addressbook-config.c
43

44
noinst_HEADERS =  actions.h dbus.h sflnotify.h mainwindow.h calllist.h dialpad.h audioconf.h codeclist.h assistant.h \
45
                  callmanager-glue.h errors.h sflphone_const.h configurationmanager-glue.h instance-glue.h menus.h calltab.h calltree.h configwindow.h \
46
                  accountlist.h accountwindow.h marshaller.h sliders.h $(STATUSICON_HEADER) timestamp.h searchfilter.h reqaccount.h addressbook-config.h
47

Pierre-Luc Beaudoin's avatar
Pierre-Luc Beaudoin committed
48
EXTRA_DIST   = marshaller.list  
49 50

sflphone_gtk_LDADD = $(DEPS_LIBS) $(NOTIFY_LIBS) $(SEXY_LIBS) \
Julien Bonjean's avatar
Julien Bonjean committed
51
			./contactlist/libcontact.la
52

Pierre-Luc Beaudoin's avatar
Pierre-Luc Beaudoin committed
53 54

AM_CPPFLAGS = $(DEPS_CFLAGS) \
55 56
              -DICONS_DIR=\""$(prefix)/share/sflphone"\" \
	      	-DCODECS_DIR=\""$(prefix)/lib/sflphone/codecs"\" 
57 58

# add symbolic link	     
Emmanuel Milou's avatar
Emmanuel Milou committed
59
install-exec-local:
60 61
	echo $(prefix); echo $(bindir); echo $(datadir); echo $(libdir)
	cd $(bindir); ln -sf sflphone-gtk sflphone 
62 63 64

uninstall-local:
	-test -h $(bindir)/sflphone && rm $(bindir)/sflphone