~ubuntu-branches/ubuntu/utopic/rtaudio/utopic-proposed

« back to all changes in this revision

Viewing changes to .pc/0002-Bump-SOVERSION.patch/Makefile.in

  • Committer: Package Import Robot
  • Author(s): Felipe Sateler, Jaromír Mikeš, Felipe Sateler
  • Date: 2014-06-10 10:20:39 UTC
  • mfrom: (2.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20140610102039-ugo864uwbxx490mp
Tags: 4.1.1~ds0-2
* Team upload

[ Jaromír Mikeš ]
* Build with autotools-dev. (Closes: #751097)

[ Felipe Sateler ]
* Bump SONAME due to ABI break. Closes: #751069

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
LIBNAME = librtaudio
 
10
SHARED = @sharedlib@
 
11
RELEASE = 4.1.1
 
12
MAJOR = 4
 
13
LIBRARIES = $(SHARED)
 
14
 
 
15
CC       = @CXX@
 
16
AR       = @AR@
 
17
RANLIB   = @RANLIB@
 
18
 
 
19
DEFS     = @CPPFLAGS@
 
20
CFLAGS   += @CXXFLAGS@ -Iinclude -fPIC
 
21
 
 
22
PREFIX   = @prefix@
 
23
 
 
24
all : $(LIBRARIES)
 
25
 
 
26
check:
 
27
        cd tests && $(MAKE) all
 
28
 
 
29
$(LIBRARIES): $(OBJECTS)
 
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
install:
 
41
        install --mode=755 $(STATIC) $(PREFIX)/lib/
 
42
        install --mode=755 @sharedname@ $(PREFIX)/lib/
 
43
        $(LN) -sf @sharedname@ $(PREFIX)/lib/$(SHARED)
 
44
        $(LN) -sf @sharedname@ $(PREFIX)/lib/$(SHARED).$(MAJOR)
 
45
        install --mode=644 $(LIBNAME).pc $(PREFIX)/lib/pkgconfig
 
46
        install --mode=644 RtAudio.h $(PREFIX)/include/
 
47
        install --mode=755 rtaudio-config $(PREFIX)/bin/
 
48
 
 
49
uninstall:
 
50
        -@rm -vf $(patsubst %,$(PREFIX)/lib/%, $(LIBRARIES) $(SHARED).$(MAJOR) $(SHARED).$(RELEASE))
 
51
        -@rm -vf $(PREFIX)/lib/pkgconfig/$(LIBNAME).pc
 
52
        -@rm -vf $(PREFIX)/bin/rtaudio-config
 
53
 
 
54
clean : 
 
55
        $(RM) -f $(LIBRARIES) @sharedname@ $(SHARED)*
 
56
        $(RM) -f $(OBJECTS)
 
57
        $(RM) -f *~
 
58
        cd tests && $(MAKE) clean
 
59
 
 
60
distclean:
 
61
        $(RM) -f $(LIBRARIES) @sharedname@ $(SHARED)*
 
62
        $(RM) -f $(OBJECTS)
 
63
        $(RM) -f *~
 
64
        $(RM) -rf config.log config.status autom4te.cache Makefile rtaudio-config $(LIBNAME).pc
 
65
        cd tests && $(MAKE) distclean
 
66
 
 
67
strip : 
 
68
        strip $(LIBRARIES)
 
69
        ranlib $(LIBRARIES)
 
70
        cd tests && $(MAKE) strip
 
71
 
 
72
.PHONY: clean distclean strip install uninstall