Makefile.am 1.56 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 \
areversat's avatar
areversat committed
31
  historyfilter.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 41
  timestamp.c \
  reqaccount.c
42

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

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

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

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

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

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

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