aRts audio server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

123 lines
4.9 KiB

  1. # $Id: Makefile.am 434809 2005-07-15 13:20:54Z mueller $
  2. # necessary for artswrapper
  3. artsdpath = $(bindir)/artsd
  4. INCLUDES = -I$(top_srcdir)/mcop -I$(top_builddir)/mcop -I$(top_srcdir)/flow \
  5. -I$(top_builddir)/flow -DEXECUTE=\"$(artsdpath)\" $(all_includes)
  6. MCOPINC = -I$(srcdir) -I$(top_srcdir)/flow -I$(top_srcdir)/mcop
  7. FLOWLIBS = $(top_builddir)/flow/libartsflow.la
  8. ####### install idl files
  9. artsincludedir = $(includedir)/arts
  10. artsinclude_HEADERS = soundserver.h soundserver.idl kmedia2.h kmedia2.idl \
  11. artsversion.h
  12. ####### libsoundserver_idl, libkmedia2_idl (idl files as library)
  13. lib_LTLIBRARIES = libkmedia2_idl.la libsoundserver_idl.la \
  14. libartsgslplayobject.la libartswavplayobject.la libkmedia2.la
  15. AM_LDFLAGS = $(LDFLAGS_AS_NEEDED)
  16. libsoundserver_idl_la_LIBADD = libkmedia2_idl.la \
  17. $(top_builddir)/flow/libartsflow_idl.la
  18. libsoundserver_idl_la_LDFLAGS = -no-undefined -version-info 1:0 $(all_libraries)
  19. libsoundserver_idl_la_SOURCES = soundserver.cc
  20. libsoundserver_idl_la_COMPILE_FIRST = soundserver.h
  21. libkmedia2_idl_la_SOURCES = kmedia2.cc
  22. libkmedia2_idl_la_COMPILE_FIRST = kmedia2.h
  23. libkmedia2_idl_la_LIBADD = $(top_builddir)/flow/libartsflow.la
  24. libkmedia2_idl_la_LDFLAGS = -no-undefined -version-info 1:0 $(all_libraries)
  25. libkmedia2_la_SOURCES = fileinputstream_impl.cc stdoutwriter_impl.cc
  26. libkmedia2_la_LIBADD = libkmedia2_idl.la $(FLOWLIBS)
  27. libkmedia2_la_LDFLAGS = -no-undefined -version-info 1:0 $(all_libraries)
  28. libkmedia2_la_COMPILE_FIRST = kmedia2.h ../flow/artsflow.h
  29. libartswavplayobject_la_SOURCES = wavplayobject_impl.cc
  30. libartswavplayobject_la_LIBADD = $(top_builddir)/mcop/libmcop.la \
  31. libsoundserver_idl.la $(FLOWLIBS)
  32. libartswavplayobject_la_LDFLAGS = -no-undefined -module $(all_libraries)
  33. libartswavplayobject_la_COMPILE_FIRST = soundserver.h ../flow/artsflow.h
  34. libartsgslplayobject_la_SOURCES = gslplayobject_impl.cc
  35. libartsgslplayobject_la_LIBADD = $(top_builddir)/mcop/libmcop.la \
  36. libsoundserver_idl.la $(FLOWLIBS)
  37. libartsgslplayobject_la_LDFLAGS = -no-undefined -module $(all_libraries)
  38. libartsgslplayobject_la_COMPILE_FIRST = soundserver.h ../flow/artsflow.h
  39. ###### "real" programs
  40. bin_PROGRAMS = artsd artsplay artscat artswrapper artsshell artsrec
  41. artsd_LDADD = libsoundserver_idl.la $(LIB_QT) $(FLOWLIBS) \
  42. $(top_builddir)/mcop_mt/libmcop_mt.la
  43. artsd_LDFLAGS = $(USE_THREADS)
  44. artsd_SOURCES = soundserverv2_impl.cc soundserver_impl.cc simplesoundserver_impl.cc artsd.cc cpuusage.cc samplestorage_impl.cc crashhandler.cc soundserverstartup_impl.cc
  45. artsd_COMPILE_FIRST = soundserver.h artsversion.h
  46. artscat_LDADD = libsoundserver_idl.la $(LIB_QT) $(FLOWLIBS) $(LIBPTHREAD)
  47. artscat_LDFLAGS = $(USE_THREADS)
  48. artscat_SOURCES = artscat.cc
  49. artscat_COMPILE_FIRST = soundserver.h artsversion.h
  50. artsrec_LDADD = libsoundserver_idl.la $(LIB_QT) $(FLOWLIBS) $(LIBPTHREAD)
  51. artsrec_LDFLAGS = $(USE_THREADS)
  52. artsrec_SOURCES = artsrec.cc
  53. artsrec_COMPILE_FIRST = soundserver.h artsversion.h
  54. artsplay_LDADD = libsoundserver_idl.la $(LIB_QT) $(LIBPTHREAD)
  55. artsplay_LDFLAGS = $(USE_THREADS)
  56. artsplay_SOURCES = artsplay.cc
  57. artsplay_COMPILE_FIRST = soundserver.h artsversion.h
  58. artswrapper_SOURCES = artswrapper.c
  59. artswrapper_CFLAGS = $(KDE_USE_FPIE)
  60. artswrapper_INCLUDES = -I$(top_builddir) -DEXECUTE=\"$(artsdpath)\"
  61. artswrapper_LDADD = $(LIBPOSIX4)
  62. artswrapper_LDFLAGS = $(KDE_USE_PIE)
  63. artsshell_LDADD = libsoundserver_idl.la $(LIB_QT) $(LIBPTHREAD)
  64. artsshell_LDFLAGS = $(USE_THREADS)
  65. artsshell_SOURCES = artsshell.cc tradercheck.cc
  66. artsshell_COMPILE_FIRST = soundserver.h artsversion.h ../flow/artsflow.h
  67. DISTCLEANFILES = soundserver.cc soundserver.h soundserver.mcopclass \
  68. soundserver.mcoptype kmedia2.h kmedia2.cc kmedia2.mcopclass kmedia2.mcoptype artsversion.h
  69. ####### Build rules
  70. soundserver.mcoptype: soundserver.h
  71. soundserver.mcopclass: soundserver.h
  72. soundserver.cc soundserver.h: $(top_srcdir)/soundserver/soundserver.idl kmedia2.h $(MCOPIDL) ../flow/artsflow.h
  73. $(MCOPIDL) -t $(MCOPINC) $(top_srcdir)/soundserver/soundserver.idl
  74. kmedia2.mcoptype: kmedia2.h
  75. kmedia2.mcopclass: kmedia2.h
  76. kmedia2.cc kmedia2.h: $(top_srcdir)/soundserver/kmedia2.idl $(MCOPIDL) ../flow/artsflow.h
  77. $(MCOPIDL) -t $(MCOPINC) $(top_srcdir)/soundserver/kmedia2.idl
  78. artsversion.h: artsversion-new.h
  79. (cmp -s artsversion-new.h artsversion.h \
  80. || cp artsversion-new.h artsversion.h)
  81. if HAVE_WAVSUPPORT
  82. WAV_MCOPCLASS = WavPlayObject.mcopclass
  83. endif
  84. mcopclassdir = $(libdir)/mcop/Arts
  85. mcopclass_DATA = FileInputStream.mcopclass $(WAV_MCOPCLASS) GSLPlayObject.mcopclass
  86. #install-exec-hook:
  87. # @(chown root $(DESTDIR)$(bindir)/artswrapper && chmod 4755 $(DESTDIR)$(bindir)/artswrapper) \
  88. # || echo "please make $(DESTDIR)$(bindir)/artswrapper suid root"
  89. ######## install idl typeinfo files
  90. mcoptypedir = $(libdir)/mcop
  91. mcoptype_DATA = soundserver.mcoptype soundserver.mcopclass \
  92. kmedia2.mcoptype kmedia2.mcopclass