patch-plugins_dumb_Makefile_am 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. $OpenBSD: patch-plugins_dumb_Makefile_am,v 1.3 2016/09/13 08:48:12 dcoppa Exp $
  2. --- plugins/dumb/Makefile.am.orig Sun Jun 19 13:26:18 2016
  3. +++ plugins/dumb/Makefile.am Thu Sep 8 08:09:20 2016
  4. @@ -4,15 +4,13 @@ EXTRA_DIST = $(dumbpath)/readme.txt $(dumbpath)/Change
  5. if HAVE_DUMB
  6. pkglib_LTLIBRARIES = ddb_dumb.la
  7. -ddb_dumb_la_CFLAGS = $(CFLAGS) -I$(dumbpath)/include -std=gnu99
  8. -ddb_dumb_la_LDFLAGS = -module -avoid-version -lm
  9. if HAVE_SSE2
  10. -noinst_LIBRARIES = libdumbsse2.a
  11. -libdumbsse2_a_SOURCES = dumb-kode54/src/helpers/resampler_sse2.c
  12. -libdumbsse2_a_CFLAGS = $(CFLAGS) -I$(dumbpath)/include -std=gnu99 -msse2 -fPIC
  13. -ddb_dumb_la_LIBADD = libdumbsse2.a
  14. +ddb_dumb_la_CFLAGS = $(CFLAGS) -I$(dumbpath)/include -std=gnu99 -msse2
  15. +else
  16. +ddb_dumb_la_CFLAGS = $(CFLAGS) -I$(dumbpath)/include -std=gnu99
  17. endif
  18. +ddb_dumb_la_LDFLAGS = -module -avoid-version -lm
  19. ddb_dumb_la_SOURCES =\
  20. dumb-kode54/src/it/loadmod2.c\
  21. @@ -115,4 +113,7 @@ dumb-kode54/src/helpers/resample.inc\
  22. dumb-kode54/src/helpers/resamp2.inc\
  23. dumb-kode54/src/helpers/resamp3.inc\
  24. cdumb.c
  25. +if HAVE_SSE2
  26. +ddb_dumb_la_SOURCES += dumb-kode54/src/helpers/resampler_sse2.c
  27. +endif
  28. endif