Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

101 lines
2.7KB

  1. SHELL = /bin/sh
  2. top_srcdir = .
  3. INSTALL = @INSTALL@
  4. prefix = @prefix@
  5. exec_prefix = @exec_prefix@
  6. datarootdir = @datarootdir@
  7. bindir = @bindir@
  8. srcdir = @srcdir@
  9. mandir = @mandir@
  10. libdir = @libdir@
  11. includedir = @includedir@
  12. pkgconfigdir = $(libdir)/pkgconfig
  13. VPATH = @srcdir@
  14. mkinstalldirs = $(SHELL) $(srcdir)/mkinstalldirs
  15. CC = @CC@
  16. DEFS = @DEFS@
  17. CFLAGS = @CFLAGS@
  18. LDFLAGS = @LDFLAGS@
  19. LIBS = @LIBS@
  20. JACK_LIBS = @JACK_LIBS@
  21. S7_HEADERS = s7.h
  22. S7_FILES = s7.c
  23. S7_O_FILES = @S7_LIB@
  24. XEN_LIBS = @XEN_LIBS@
  25. XEN_CFLAGS = @XEN_CFLAGS@
  26. AUDIO_LIB = @AUDIO_LIB@
  27. GSL_LIBS = @GSL_LIBS@
  28. GSL_FLAGS = @GSL_CFLAGS@
  29. JACK_FLAGS = @JACK_FLAGS@
  30. LDSO_FLAGS = @LDSO_FLAGS@
  31. SO_FLAGS = @SO_FLAGS@
  32. SO_INSTALL = @SO_INSTALL@
  33. A_INSTALL = @A_INSTALL@
  34. SO_LD = @SO_LD@
  35. A_LD = @A_LD@
  36. A_LD_FLAGS = @A_LD_FLAGS@
  37. LD_FLAGS = @LD_FLAGS@
  38. SO_NAME = @SO_NAME@
  39. RANLIB = @RANLIB@
  40. main_target: sndlib
  41. .c.o:
  42. $(CC) -c $(DEFS) $(CFLAGS) $(SO_FLAGS) $(XEN_CFLAGS) $(GSL_FLAGS) $(JACK_FLAGS) $<
  43. SNDLIB_HEADERS = sndlib.h sndlib-strings.h vct.h clm.h xen.h sndlib2xen.h clm2xen.h s7.h
  44. SNDLIB_O_FILES = headers.o audio.o io.o sound.o xen.o vct.o clm.o sndlib2xen.o clm2xen.o
  45. SNDLIB_SIMPLE_O_FILES = headers.o audio.o io.o sound.o
  46. sndlib: $(SNDLIB_HEADERS) $(SNDLIB_O_FILES) $(S7_O_FILES)
  47. $(SO_LD) $(LDFLAGS) $(SNDLIB_O_FILES) $(S7_O_FILES) -o $(SO_NAME) $(LDSO_FLAGS) $(XEN_LIBS) $(AUDIO_LIB) $(GSL_LIBS) $(JACK_FLAGS) $(JACK_LIBS) $(LIBS)
  48. $(A_LD) $(A_LD_FLAGS) libsndlib.a $(SNDLIB_O_FILES) $(S7_O_FILES)
  49. $(RANLIB) libsndlib.a
  50. $(SNDLIB_O_FILES): $(SNDLIB_HEADERS)
  51. $(S7_O_FILES): $(S7_HEADERS) $(S7_FILES)
  52. clean:
  53. rm -f $(SNDLIB_O_FILES)
  54. rm -f $(S7_O_FILES)
  55. sndplay: $(SNDLIB_HEADERS) $(SNDLIB_O_FILES) sndplay.o
  56. $(CC) sndplay.c -o sndplay libsndlib.a $(AUDIO_LIB) $(DEFS) $(CFLAGS) $(SO_FLAGS) $(XEN_CFLAGS) $(JACK_FLAGS) $(JACK_LIBS) $(LIBS)
  57. sndinfo: $(SNDLIB_HEADERS) $(SNDLIB_O_FILES) sndinfo.o
  58. $(CC) sndinfo.c -o sndinfo libsndlib.a $(AUDIO_LIB) $(DEFS) $(CFLAGS) $(SO_FLAGS) $(XEN_CFLAGS) $(JACK_FLAGS) $(JACK_LIBS) $(LIBS)
  59. audinfo: $(SNDLIB_HEADERS) $(SNDLIB_O_FILES) audinfo.o
  60. $(CC) audinfo.c -o audinfo libsndlib.a $(AUDIO_LIB) $(DEFS) $(CFLAGS) $(SO_FLAGS) $(XEN_CFLAGS) $(JACK_FLAGS) $(JACK_LIBS) $(LIBS)
  61. install: sndlib
  62. $(mkinstalldirs) $(bindir)
  63. $(mkinstalldirs) $(libdir)
  64. $(mkinstalldirs) $(includedir)
  65. $(SO_INSTALL) libsndlib.so $(libdir)/libsndlib.so
  66. $(A_INSTALL) libsndlib.a $(libdir)/libsndlib.a
  67. $(INSTALL) sndlib.h $(includedir)/sndlib.h
  68. $(INSTALL) sndlib-config $(bindir)/sndlib-config
  69. $(INSTALL) sndlib.pc $(pkgconfigdir)/sndlib.pc
  70. uninstall:
  71. rm -f $(libdir)/libsndlib.so
  72. rm -f $(libdir)/libsndlib.a
  73. Makefile: Makefile.in config.status
  74. ./config.status
  75. config.status: configure
  76. ./config.status --recheck
  77. configure: configure.in
  78. cd $(srcdir); autoconf