Makefile.am 1.12 KB
Newer Older
jpbl's avatar
jpbl committed
1
if MAINTENER_CODE
jpbl's avatar
jpbl committed
2
noinst_PROGRAMS = example01 example02 example03 example04
jpbl's avatar
jpbl committed
3 4 5 6 7
noinst_LTLIBRARIES = libsflaudio.la

libsflaudio_la_SOURCES = \
	AudioLayer.cpp AudioLayer.hpp \
	AudioManagerImpl.cpp AudioManagerImpl.hpp \
jpbl's avatar
jpbl committed
8
	Context.cpp Context.hpp \
jpbl's avatar
jpbl committed
9
	Device.cpp Device.hpp \
jpbl's avatar
jpbl committed
10
	Emitter.cpp Emitter.hpp \
jpbl's avatar
jpbl committed
11 12 13
	NullLayer.cpp NullLayer.hpp \
	NullDevice.cpp NullDevice.hpp \
	NullContext.cpp NullContext.hpp \
jpbl's avatar
jpbl committed
14
	NullSource.cpp NullSource.hpp \
jpbl's avatar
jpbl committed
15 16
	OpenALLayer.cpp OpenALLayer.hpp \
	OpenALDevice.cpp OpenALDevice.hpp \
jpbl's avatar
jpbl committed
17 18
	OpenALContext.cpp OpenALContext.hpp \
	OpenALSource.cpp OpenALSource.hpp \
jpbl's avatar
jpbl committed
19 20
	PortAudioLayer.cpp PortAudioLayer.hpp \
	SFLAudio.hpp \
jpbl's avatar
jpbl committed
21 22
	Source.cpp Source.hpp \
	WavEmitter.cpp WavEmitter.hpp
jpbl's avatar
jpbl committed
23

jpbl's avatar
jpbl committed
24
AM_CPPFLAGS = $(PORTAUDIO_CFLAGS) -I$(top_srcdir)/libs/portaudio/pa_common -I$(top_srcdir)/libs/
jpbl's avatar
jpbl committed
25 26 27 28
AM_CXXFLAGS = $(PORTAUDIO_CXXFLAGS) -I$(top_srcdir)/libs/
AM_LDFLAGS  =  -L$(top_srcdir)/libs/portaudio/ 

LIBADD = $(PORTAUDIO_LIBS) -lportaudio -lopenal
jpbl's avatar
jpbl committed
29
LDADD = libsflaudio.la $(PORTAUDIO_LIBS) -lopenal -lportaudio
jpbl's avatar
jpbl committed
30 31 32 33


example01_SOURCES = example01.cpp
example02_SOURCES = example02.cpp
jpbl's avatar
jpbl committed
34
example03_SOURCES = example03.cpp
jpbl's avatar
jpbl committed
35
example04_SOURCES = example04.cpp
jpbl's avatar
jpbl committed
36
endif
jpbl's avatar
jpbl committed
37