History

Modernise Automake code to be more portable

* Prefer POSIX pattern rules over GNU patterns rules * Use AM_CPPFLAGS and not INCLUDES

David Seifert committed 9 years ago

Commit 3ea3b461 parent 63acb183 files · +4 −4Browse files

Unified · Split

3 files
  1. examples/Makefile.am +1 −1
  2. src/Makefile.am +2 −2
  3. tests/Makefile.am +1 −1
examples/Makefile.am+1−1
@@ -6,7 +6,7 @@ bin_PROGRAMS = sndfile-resample · 5 unmodified lines
6check_PROGRAMS = varispeed-play timewarp-file6check_PROGRAMS = varispeed-play timewarp-file
7 7
8SAMPLERATEDIR =../src8SAMPLERATEDIR =../src
9INCLUDES = -I$(srcdir)/$(SAMPLERATEDIR) @OS_SPECIFIC_INCLUDES@9AM_CPPFLAGS = -I$(srcdir)/$(SAMPLERATEDIR) @OS_SPECIFIC_INCLUDES@
10 10
11OS_SPECIFIC_LINKS = @OS_SPECIFIC_LINKS@11OS_SPECIFIC_LINKS = @OS_SPECIFIC_LINKS@
12 12
src/Makefile.am+2−2
@@ -31,8 +31,8 @@ check-asm : check_asm.sh src_sinc.s src_linear.s src_zoh.s · 30 unmodified lines
31 @echo31 @echo
32 @echo32 @echo
33 33
34%.s : $(srcdir)/%.c34.c.s:
35 $(CC) -S $(CFLAGS) $(DEFAULT_INCLUDES) $(srcdir)/$+ -o $@35 $(CC) -S $(CFLAGS) $(CPPFLAGS) $(DEFAULT_INCLUDES) $< -o $@
36 36
37# Disable autoheader.37# Disable autoheader.
38AUTOHEADER=echo38AUTOHEADER=echo
tests/Makefile.am+1−1
@@ -18,7 +18,7 @@ TESTS = \ · 17 unmodified lines
18 throughput_test18 throughput_test
19 19
20SAMPLRATEDIR =../src20SAMPLRATEDIR =../src
21INCLUDES = -I$(srcdir)/$(SAMPLRATEDIR)21AM_CPPFLAGS = -I$(srcdir)/$(SAMPLRATEDIR)
22noinst_HEADERS = util.h22noinst_HEADERS = util.h
23 23
24#===============================================================================24#===============================================================================

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t