Advertisement
Guest User

Makefile.am of ekiga3.3.2/src/

a guest
Mar 7th, 2012
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 4.66 KB | None | 0 0
  1. INCLUDES = \
  2.     -I$(top_srcdir)/lib             \
  3.     -I$(top_srcdir)/lib/gmconf          \
  4.     -I$(top_srcdir)/lib/toolbox         \
  5.     -I$(top_srcdir)/lib/gui             \
  6.     -I$(top_srcdir)/lib/engine/         \
  7.     -I$(top_srcdir)/lib/engine/framework        \
  8.     -I$(top_srcdir)/lib/engine/gui/gtk-frontend \
  9.     -I$(top_srcdir)/lib/engine/components/call-history \
  10.     -I$(top_srcdir)/lib/engine/account      \
  11.     -I$(top_srcdir)/lib/engine/addressbook  \
  12.     -I$(top_srcdir)/lib/engine/chat     \
  13.     -I$(top_srcdir)/lib/engine/presence \
  14.     -I$(top_srcdir)/lib/engine/protocol \
  15.     -I$(top_srcdir)/lib/engine/protocol/sip     \
  16.     -I$(top_srcdir)/lib/engine/videooutput  \
  17.     -I$(top_srcdir)/lib/engine/videoinput   \
  18.     -I$(top_srcdir)/lib/engine/audioinput   \
  19.     -I$(top_srcdir)/lib/engine/audiooutput  \
  20.     -I$(top_srcdir)/lib/engine/hal      \
  21.     -I$(top_srcdir)/lib/engine/framework        \
  22.     -I$(top_srcdir)/lib/engine/gui/gtk-core     \
  23.     -I$(top_srcdir)/lib/engine/components/opal  \
  24.     -I$(top_srcdir)/src             \
  25.     -I$(top_srcdir)/src/dbus-helper/        \
  26.     -I$(top_srcdir)/src/gui/            \
  27.     -I$(top_builddir)/src/dbus-helper/
  28.  
  29. BUILT_SOURCES = src/revision.h
  30.  
  31. # XVideo/X
  32. if !WIN32
  33. INCLUDES +=                                 \
  34.     -I$(top_srcdir)/lib/engine/videooutput/common   \
  35.     -I$(top_srcdir)/lib/engine/videooutput/x
  36. endif
  37.  
  38. # DirectX
  39. if HAVE_DX
  40. INCLUDES +=                                 \
  41.     -I$(top_srcdir)/lib/engine/videooutput/common   \
  42.     -I$(top_srcdir)/lib/engine/videooutput/dx
  43. endif
  44.  
  45. bin_SCRIPTS = ekiga-config-tool
  46. bin_PROGRAMS = ekiga
  47.  
  48. EXTRA_PROGRAMS =
  49.  
  50. # Common stuff
  51. ekiga_SOURCES =         \
  52.     common.h
  53.  
  54. nodist_ekiga_SOURCES =
  55.  
  56. # Graphical User Interface
  57. ekiga_SOURCES +=            \
  58.     gui/accounts.h          \
  59.     gui/accounts.cpp        \
  60.     gui/assistant.h         \
  61.     gui/assistant.cpp       \
  62.     gui/callbacks.h         \
  63.     gui/callbacks.cpp       \
  64.     gui/conf.h              \
  65.     gui/conf.cpp            \
  66.     gui/default_devices.cpp \
  67.     gui/default_devices.h   \
  68.     gui/main_window.h       \
  69.     gui/main_window.cpp     \
  70.     gui/Paquets.h           \     # ajout des 2 fichiers
  71.     gui/Paquets.cpp         \     # ici
  72.     gui/preferences.h       \
  73.     gui/preferences.cpp     \
  74.     gui/statusicon.h        \
  75.     gui/statusicon.cpp      \
  76.     gui/statusmenu.h        \
  77.     gui/statusmenu.cpp
  78.  
  79. # Endpoints
  80. ekiga_SOURCES +=            \
  81.     ekiga.h                 \
  82.     ekiga.cpp
  83.  
  84. # resources
  85. if WIN32
  86. ekiga_SOURCES +=                        \
  87.     $(top_srcdir)/win32/plugin-gconst.cpp   \
  88.     $(top_srcdir)/win32/ekiga-rc.rc
  89. endif
  90.  
  91. if HAVE_DBUS
  92. ekiga_SOURCES +=        \
  93.     dbus-helper/dbus.h  \
  94.     dbus-helper/dbus.cpp
  95.  
  96. # find gmmarshallers.h
  97. INCLUDES += \
  98.     -I$(top_builddir)/lib
  99.  
  100. nodist_ekiga_SOURCES +=     \
  101.     dbus-helper/dbus-stub.h
  102.  
  103. bin_PROGRAMS += ekiga-helper
  104.  
  105. ekiga_helper_SOURCES =      \
  106.     dbus-helper/dbus-helper.cpp
  107.  
  108. nodist_ekiga_helper_SOURCES =   \
  109.     dbus-helper/dbus-helper-stub.h
  110.  
  111. ekiga_helper_LDADD = $(DBUS_LIBS)
  112.  
  113. BUILT_SOURCES += dbus-helper/dbus-helper-stub.h dbus-helper/dbus-stub.h
  114.  
  115. dbus-helper/dbus-helper-stub.h: dbus-helper/dbus-helper-stub.xml build-subdir-stamp
  116.     $(LIBTOOL) --mode=execute dbus-binding-tool --prefix=helper --mode=glib-server --output=$@ $<
  117.  
  118. dbus-helper/dbus-stub.h: dbus-helper/dbus-stub.xml build-subdir-stamp
  119.     $(LIBTOOL) --mode=execute dbus-binding-tool --prefix=ekiga_dbus_component --mode=glib-server --output=$@ $<
  120. endif
  121.  
  122. build-subdir-stamp:
  123.     test -d dbus-helper || mkdir dbus-helper
  124.     touch build-subdir-stamp
  125.  
  126. if INSTALL_DBUS_SERVICE
  127.  
  128. %.service: %.service.in
  129.     $(mkdir_p) dbus-helper # this is ugly...
  130.     sed -e "s#\@bindir\@#@bindir@#" $< > $@
  131.  
  132. servicedir = $(datadir)/dbus-1/services
  133. service_DATA = dbus-helper/org.ekiga.Ekiga.service dbus-helper/org.ekiga.Helper.service
  134. service_in_files = $(service_DATA:.service=.service.in)
  135.  
  136. endif
  137.  
  138. .rc.o:
  139.     $(RC) $< -o $@ -I $(top_srcdir)
  140.  
  141. GIT_REVISION=\"$$(cd ../.git; git describe )\"
  142. CACHED_REVISION=$$(cat revision.h 2>/dev/null | cut -c24-)
  143.  
  144. src/revision.h:
  145.     if test -d "../.git" -a -n "$$(which git)"; then \
  146.           if test "x$(GIT_REVISION)" != "x$(CACHED_REVISION)"; then \
  147.             echo "#define EKIGA_REVISION $(GIT_REVISION)" > revision.h; \
  148.           fi \
  149.         else \
  150.           if !(test -e "./revision.h"); then\
  151.             echo "#define EKIGA_REVISION \"unknown\"" > revision.h; \
  152.           fi \
  153.         fi
  154.  
  155. AM_CXXFLAGS = $(GTK_CFLAGS) $(GLIB_CFLAGS) $(DBUS_CFLAGS) $(OPAL_CFLAGS) $(PTLIB_CFLAGS) $(BOOST_CPPFLAGS) $(XML_CFLAGS) $(NOTIFY_CFLAGS)
  156. AM_LIBS = $(GTK_LIBS) $(GLIB_LIBS) $(DBUS_LIBS) $(OPAL_LIBS) $(PTLIB_LIBS) $(BOOST_LDFLAGS) $(BOOST_LIBS) $(XML_LIBS) $(NOTIFY_LIBS)
  157.  
  158. ekiga_LDADD = \
  159.     $(top_builddir)/lib/libekiga.la $(AM_LIBS)
  160.  
  161. if !WIN32
  162. ekiga_LDFLAGS = -lX11
  163. endif
  164.  
  165. EXTRA_DIST = \
  166.     $(service_in_files)     \
  167.     dbus-helper/dbus-stub.xml   \
  168.     dbus-helper/dbus-helper-stub.xml \
  169.     ekiga-debug-analyser
  170.  
  171. CLEANFILES = \
  172.     $(service_DATA)     \
  173.     build-subdir-stamp  \
  174.     $(BUILT_SOURCES)
  175.  
  176. DISTCLEANFILES = revision.h
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement