diff options
| author | Stephen Sinclair <radarsat1@gmail.com> | 2016-02-12 11:05:34 -0300 |
|---|---|---|
| committer | Stephen Sinclair <radarsat1@gmail.com> | 2016-02-12 12:13:20 -0300 |
| commit | fbcd1910a3ea72ec6dc50d50c3f7848e6861abc4 (patch) | |
| tree | 1ecdfec46e197fe1f44944842a70653960241290 /tests | |
| parent | 0f60381cb4ed79bb40979c106ee1515df85c4873 (diff) | |
Port the build system to automake.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/Makefile.am | 27 | ||||
| -rw-r--r-- | tests/Makefile.in | 58 |
2 files changed, 27 insertions, 58 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am new file mode 100644 index 0000000..e39fdde --- /dev/null +++ b/tests/Makefile.am @@ -0,0 +1,27 @@ + +noinst_PROGRAMS = audioprobe playsaw playraw record duplex testall teststops + +AM_CXXFLAGS = -Wall -I$(top_srcdir) + +audioprobe_SOURCES = audioprobe.cpp +audioprobe_LDADD = $(top_builddir)/librtaudio.la + +playsaw_SOURCES = playsaw.cpp +playsaw_LDADD = $(top_builddir)/librtaudio.la + +playraw_SOURCES = playraw.cpp +playraw_LDADD = $(top_builddir)/librtaudio.la + +record_SOURCES = record.cpp +record_LDADD = $(top_builddir)/librtaudio.la + +duplex_SOURCES = duplex.cpp +duplex_LDADD = $(top_builddir)/librtaudio.la + +testall_SOURCES = testall.cpp +testall_LDADD = $(top_builddir)/librtaudio.la + +teststops_SOURCES = teststops.cpp +teststops_LDADD = $(top_builddir)/librtaudio.la + +EXTRA_DIST = Windows diff --git a/tests/Makefile.in b/tests/Makefile.in deleted file mode 100644 index fbca16b..0000000 --- a/tests/Makefile.in +++ /dev/null @@ -1,58 +0,0 @@ -### Do not edit -- Generated by 'configure --with-whatever' from Makefile.in -### RtAudio tests Makefile - for various flavors of unix and MinGW - -PROGRAMS = audioprobe playsaw playraw record duplex testall teststops -RM = /bin/rm -SRC_PATH = .. -INCLUDE = .. -OBJECT_PATH = @object_path@ -vpath %.o $(OBJECT_PATH) - -OBJECTS = RtAudio.o @objects@ - -CC = @CXX@ -DEFS = @CPPFLAGS@ -CFLAGS = @CXXFLAGS@ -CFLAGS += -I$(INCLUDE) -I../include -LIBRARY = @LIBS@ - -%.o : $(SRC_PATH)/%.cpp - $(CC) $(CFLAGS) $(DEFS) -c $(<) -o $(OBJECT_PATH)/$@ - -%.o : ../include/%.cpp - $(CC) $(CFLAGS) $(DEFS) -c $(<) -o $(OBJECT_PATH)/$@ - -all : $(PROGRAMS) - -audioprobe : audioprobe.cpp $(OBJECTS) - $(CC) $(CFLAGS) $(DEFS) -o audioprobe audioprobe.cpp $(OBJECT_PATH)/*.o $(LIBRARY) - -playsaw : playsaw.cpp $(OBJECTS) - $(CC) $(CFLAGS) $(DEFS) -o playsaw playsaw.cpp $(OBJECT_PATH)/*.o $(LIBRARY) - -playraw : playraw.cpp $(OBJECTS) - $(CC) $(CFLAGS) $(DEFS) -o playraw playraw.cpp $(OBJECT_PATH)/*.o $(LIBRARY) - -record : record.cpp $(OBJECTS) - $(CC) $(CFLAGS) $(DEFS) -o record record.cpp $(OBJECT_PATH)/*.o $(LIBRARY) - -duplex : duplex.cpp $(OBJECTS) - $(CC) $(CFLAGS) $(DEFS) -o duplex duplex.cpp $(OBJECT_PATH)/*.o $(LIBRARY) - -testall : testall.cpp $(OBJECTS) - $(CC) $(CFLAGS) $(DEFS) -o testall testall.cpp $(OBJECT_PATH)/*.o $(LIBRARY) - -teststops : teststops.cpp $(OBJECTS) - $(CC) $(CFLAGS) $(DEFS) -o teststops teststops.cpp $(OBJECT_PATH)/*.o $(LIBRARY) - -clean : - $(RM) -f $(OBJECT_PATH)/*.o - $(RM) -f $(PROGRAMS) - $(RM) -f *.raw *~ *.exe - $(RM) -fR *.dSYM - -distclean: clean - $(RM) -f Makefile - -strip : - strip $(PROGRAMS) |
