shithub: libsamplerate

Download patch

ref: 029bc059b7637e6f563ea1b6ca31705ce5864782
parent: ce3c49b5c32a0073c96539fbde12b06f68b4b0bc
author: Erik de Castro Lopo <erikd@miles>
date: Sat Jul 17 22:55:03 EDT 2004

Add "make check-asm" target.

--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2004-07-18  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
+
+    * configure.ac
+    Bump version to 0.1.1.
+
+    * Makefile.am src/Makefile.am
+    Add "make check-asm" target which is not used by default.
+
 2004-06-27  Erik de Castro Lopo  <erikd AT mega-nerd DOT com>
 
     * src/src_sinc.c
--- a/Makefile.am
+++ b/Makefile.am
@@ -12,6 +12,9 @@
 test:
 	make check
 
+check-asm :
+	(cd src && make check-asm)
+
 ## Do not edit or modify anything in this comment block.
 ## The arch-tag line is a file identity tag for the GNU Arch 
 ## revision control system.
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -12,7 +12,7 @@
 noinst_HEADERS = common.h float_cast.h $(COEFF_HDRS)
 
 SRC_SOURCES = samplerate.c src_sinc.c $(COEFF_HDRS) src_zoh.c src_linear.c
-				
+
 libsamplerate_la_SOURCES = $(SRC_SOURCES) $(noinst_HEADERS)
 libsamplerate_la_LDFLAGS = -version-info @SHARED_VERSION_INFO@ @SHLIB_VERSION_ARG@
 libsamplerate_la_LIBADD  = -lm
@@ -20,21 +20,21 @@
 #-------------------------------------------------------------------------------
 # An extra check for bad asm.
 
-check : check_asm.sh src_sinc.s
+check-asm : check_asm.sh src_sinc.s
 	@echo
 	@echo
-	./check_asm.sh src_sinc.s
+	$(srcdir)/check_asm.sh src_sinc.s
 	@echo
 	@echo
 
-src_sinc.s : src_sinc.c
-	$(CC) -S $(CFLAGS) src_sinc.c -o src_sinc.s
+src_sinc.s : $(srcdir)/src_sinc.c
+	$(CC) -S $(CFLAGS) $(DEFAULT_INCLUDES) $(srcdir)/src_sinc.c -o src_sinc.s
 
-# Disable autoheader. 
+# Disable autoheader.
 AUTOHEADER=echo
 
 ## Do not edit or modify anything in this comment block.
-## The arch-tag line is a file identity tag for the GNU Arch 
+## The arch-tag line is a file identity tag for the GNU Arch
 ## revision control system.
 ##
 ## arch-tag: 62db1d8d-493b-4874-afb0-e421d3dbb868