1 # This file was automatically generated from the Makefile.am
4 lib_LTLIBRARIES = libsamplerate.la
5 include_HEADERS = samplerate.h
7 EXTRA_DIST = config.h.in Version_script.in check_asm.sh
8 CLEANFILES = src_sinc.s
10 COEFF_HDRS = fastest_coeffs.h mid_qual_coeffs.h high_qual_coeffs.h
13 noinst_HEADERS = common.h float_cast.h $(COEFF_HDRS)
15 SRC_SOURCES = samplerate.c src_sinc.c $(COEFF_HDRS) src_zoh.c src_linear.c
17 # MinGW requires -no-undefined if a DLL is to be built.
18 libsamplerate_la_LDFLAGS = -no-undefined -version-info @SHARED_VERSION_INFO@ @SHLIB_VERSION_ARG@
19 libsamplerate_la_SOURCES = $(SRC_SOURCES) $(noinst_HEADERS)
20 libsamplerate_la_LIBADD = -lm
22 #-------------------------------------------------------------------------------
23 # An extra check for bad asm.
25 check-asm : check_asm.sh src_sinc.s src_linear.s src_zoh.s
28 $(srcdir)/check_asm.sh src_sinc.s
29 $(srcdir)/check_asm.sh src_linear.s
30 $(srcdir)/check_asm.sh src_zoh.s
35 $(CC) -S $(CFLAGS) $(DEFAULT_INCLUDES) $(srcdir)/$+ -o $@