Various updates for pulseaudio API and default ALSA device enumeration (gs).
[rtaudio-cdist.git] / Makefile.in
1 ### Do not edit -- Generated by 'configure --with-whatever' from Makefile.in
2 ### RtAudio library Makefile
3
4 RM = /bin/rm
5 LN = /bin/ln
6
7 OBJECTS = RtAudio.o @objects@
8
9 STATIC = librtaudio.a
10 SHARED = @sharedlib@
11 RELEASE = 4.0.11
12 MAJOR = 4
13 LIBRARIES = $(STATIC) $(SHARED)
14
15 CC       = @CXX@
16 AR       = @AR@
17 RANLIB   = @RANLIB@
18
19 DEFS     = @CPPFLAGS@
20 CFLAGS   = @CXXFLAGS@ -Iinclude -fPIC
21
22 all : $(LIBRARIES)
23
24 tests:
25         cd tests && $(MAKE) all
26
27 $(LIBRARIES): $(OBJECTS)
28         $(AR) ruv $(STATIC) $(OBJECTS)
29         ranlib $(STATIC)
30         $(CC) -fPIC @libflags@ $(OBJECTS) @LIBS@
31         $(LN) -sf @sharedname@ $(SHARED)
32         $(LN) -sf @sharedname@ $(SHARED).$(MAJOR)
33
34 %.o : %.cpp
35         $(CC) $(CFLAGS) $(DEFS) -c $(<) -o $@
36
37 %.o : include/%.cpp
38         $(CC) $(CFLAGS) $(DEFS) -c $(<) -o $@
39
40 clean : 
41         $(RM) -f $(LIBRARIES) @sharedname@ $(SHARED)*
42         $(RM) -f $(OBJECTS)
43         $(RM) -f *~
44         cd tests && $(MAKE) clean
45
46 distclean:
47         $(RM) -f $(LIBRARIES) @sharedname@ $(SHARED)*
48         $(RM) -f $(OBJECTS)
49         $(RM) -f *~
50         $(RM) -rf config.log config.status autom4te.cache Makefile rtaudio-config librtaudio.pc
51         cd tests && $(MAKE) distclean
52
53 strip : 
54         strip $(LIBRARIES)
55         ranlib $(LIBRARIES)
56         cd tests && $(MAKE) strip