~ubuntu-branches/ubuntu/utopic/cdparanoia/utopic

« back to all changes in this revision

Viewing changes to .pc/05-kfreebsd.patch/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Rogério Brito, Rogério Brito, TANIGUCHI Takaki
  • Date: 2010-11-06 14:53:55 UTC
  • mfrom: (3.1.11 sid)
  • Revision ID: james.westby@ubuntu.com-20101106145355-93nm5l8g6nq8viyw
Tags: 3.10.2+debian-10
[ Rogério Brito ]
* Preparation to format "3.0 (quilt)".
* Remove README.source (void effect with format 3.0).
* Refresh patches to avoid potential problems with the buildd's and
  dpkg's implementation of quilt.
* Include control on compilation and linking flags.
* Include extra fixes for spelling in the patch.
* Update 01-typos-and-spelling.patch to match DEP-3
* Add an option to not suppress progress bar when stderr is
  redirected. Closes: #589112.
* Split build-dependencies for VCS-friendliness
* Remove duplicate field in the binary packages
* Detail some of the long descriptions so that they are not equal
  anymore
* Update 01-typos-and-spelling.patch with some other spelling errors
* Fix some more typos. Closes: #552209, #572482.

[ TANIGUCHI Takaki ]
* debian/watch: add new control file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
###############################################################################
 
3
# DO NOT EDIT BELOW! ##########################################################
 
4
# (unless, of course, you know what you are doing :) ##########################
 
5
 
 
6
VERSION=10.2
 
7
VPATH=@srcdir@
 
8
srcdir=@srcdir@
 
9
 
 
10
@SET_MAKE@
 
11
FLAGS=@TYPESIZES@ @CFLAGS@
 
12
OPT=@OPT@ $(FLAGS)
 
13
DEBUG=@DEBUG@ $(FLAGS)
 
14
CC=@CC@
 
15
LD=@CC@
 
16
LDFLAGS=@LDFLAGS@ $(FLAGS)
 
17
AR=@AR@
 
18
RANLIB=@RANLIB@
 
19
INSTALL=@INSTALL@
 
20
prefix=@prefix@
 
21
exec_prefix=@exec_prefix@
 
22
BINDIR=@bindir@
 
23
MANDIR=@mandir@
 
24
INCLUDEDIR=@includedir@
 
25
LIBDIR=@libdir@
 
26
PWD = $(shell pwd)
 
27
 
 
28
OFILES = main.o report.o header.o buffering_write.o cachetest.o
 
29
 
 
30
export STATIC 
 
31
export VERSION
 
32
 
 
33
ifeq ($(STATIC),TRUE)
 
34
        LIBS = interface/libcdda_interface.a paranoia/libcdda_paranoia.a \
 
35
                -static -lm -lrt
 
36
        LIBDEP = interface/libcdda_interface.a paranoia/libcdda_paranoia.a
 
37
else
 
38
        LIBS = -lcdda_interface -lcdda_paranoia -lm -lrt
 
39
        LIBDEP = interface/libcdda_interface.so paranoia/libcdda_paranoia.so
 
40
endif
 
41
 
 
42
 
 
43
all:    
 
44
        cd interface && $(MAKE) all
 
45
        cd paranoia && $(MAKE) all
 
46
        $(MAKE) cdparanoia CFLAGS="$(OPT)" 
 
47
 
 
48
debug:  
 
49
        cd interface && $(MAKE) debug
 
50
        cd paranoia && $(MAKE) debug
 
51
        $(MAKE) cdparanoia CFLAGS="$(DEBUG)" STATIC=TRUE
 
52
 
 
53
test:   
 
54
        cd interface && $(MAKE) all
 
55
        cd paranoia && $(MAKE) test
 
56
 
 
57
lib:    
 
58
        cd interface && $(MAKE) lib
 
59
        cd paranoia && $(MAKE) lib
 
60
 
 
61
slib:
 
62
        cd interface && $(MAKE) slib
 
63
        cd paranoia && $(MAKE) slib
 
64
 
 
65
install:
 
66
        $(INSTALL) -d -m 0755 $(BINDIR)
 
67
        $(INSTALL) -m 755 $(srcdir)/cdparanoia $(BINDIR)
 
68
        $(INSTALL) -d -m 0755 $(MANDIR)
 
69
        $(INSTALL) -d -m 0755 $(MANDIR)/man1
 
70
        $(INSTALL) -m 0644 $(srcdir)/cdparanoia.1 $(MANDIR)/man1
 
71
        $(INSTALL) -d -m 0755 $(INCLUDEDIR)
 
72
        $(INSTALL) -m 0644 $(srcdir)/paranoia/cdda_paranoia.h $(INCLUDEDIR)
 
73
        $(INSTALL) -d -m 0755 $(LIBDIR)
 
74
        $(INSTALL) -m 0644 $(srcdir)/paranoia/libcdda_paranoia.so.0.$(VERSION) $(LIBDIR)
 
75
        $(INSTALL) -m 0644 $(srcdir)/paranoia/libcdda_paranoia.a $(LIBDIR)
 
76
        $(INSTALL) -m 0644 $(srcdir)/interface/cdda_interface.h $(INCLUDEDIR)
 
77
        $(INSTALL) -m 0644 $(srcdir)/interface/libcdda_interface.so.0.$(VERSION) $(LIBDIR)
 
78
        $(INSTALL) -m 0644 $(srcdir)/interface/libcdda_interface.a $(LIBDIR)
 
79
        $(INSTALL) -m 0644 $(srcdir)/utils.h $(INCLUDEDIR)
 
80
        ln -fs libcdda_interface.so.0.$(VERSION) \
 
81
                $(LIBDIR)/libcdda_interface.so.0
 
82
        ln -fs libcdda_interface.so.0.$(VERSION) \
 
83
                $(LIBDIR)/libcdda_interface.so
 
84
        ln -fs libcdda_paranoia.so.0.$(VERSION) \
 
85
                $(LIBDIR)/libcdda_paranoia.so.0
 
86
        ln -fs libcdda_paranoia.so.0.$(VERSION) \
 
87
                $(LIBDIR)/libcdda_paranoia.so
 
88
 
 
89
cdparanoia:     $(OFILES) $(LIBDEP)
 
90
                $(LD) $(CFLAGS) $(LDFLAGS) $(OFILES) \
 
91
                -L$(PWD)/paranoia -L$(PWD)/interface \
 
92
                -o cdparanoia $(LIBS)
 
93
 
 
94
.c.o:
 
95
        $(CC) $(CFLAGS) -c $<
 
96
 
 
97
clean:
 
98
        cd interface && $(MAKE) clean
 
99
        cd paranoia && $(MAKE) clean
 
100
        -rm -f cdparanoia *~ config.* *.o *.wav *.aifc *.raw \
 
101
                verify_test core gmon.out
 
102
 
 
103
distclean:
 
104
        cd interface && $(MAKE) distclean
 
105
        cd paranoia && $(MAKE) distclean
 
106
        -rm -f cdparanoia *~ config.* *.o *.wav *.aifc *.raw test.file \
 
107
                Makefile verify_test core gmon.out
 
108
 
 
109
.PHONY: all debug test lib slib install clean distclean