Bring legend handling in line with the 1d panels, fixing a few update bugs along...
[xiph/unicode.git] / cdparanoia / Makefile.in
blob43b8a9bfc9b439eb673350aefa75982063948c89
2 ###############################################################################
3 # DO NOT EDIT BELOW! ##########################################################
4 # (unless, of course, you know what you are doing :) ##########################
6 VERSION=10.0
7 VPATH=@srcdir@
8 srcdir=@srcdir@
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)
28 OFILES = main.o report.o header.o buffering_write.o
30 export STATIC
31 export VERSION
33 ifeq ($(STATIC),TRUE)
34 LIBS = interface/libcdda_interface.a paranoia/libcdda_paranoia.a \
35 -static -lm
36 LIBDEP = interface/libcdda_interface.a paranoia/libcdda_paranoia.a
37 else
38 LIBS = -lcdda_interface -lcdda_paranoia -lm
39 LIBDEP = interface/libcdda_interface.so paranoia/libcdda_paranoia.so
40 endif
43 all:
44 cd interface && $(MAKE) all
45 cd paranoia && $(MAKE) all
46 $(MAKE) cdparanoia CFLAGS="$(OPT)"
48 debug:
49 cd interface && $(MAKE) debug
50 cd paranoia && $(MAKE) debug
51 $(MAKE) cdparanoia CFLAGS="$(DEBUG)" STATIC=TRUE
53 test:
54 cd interface && $(MAKE) all
55 cd paranoia && $(MAKE) test
57 lib:
58 cd interface && $(MAKE) lib
59 cd paranoia && $(MAKE) lib
61 slib:
62 cd interface && $(MAKE) slib
63 cd paranoia && $(MAKE) slib
65 install:
66 $(INSTALL) -d -m 0755 $(BINDIR)
67 $(INSTALL) -m 0755 $(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
89 cdparanoia: $(OFILES) $(LIBDEP)
90 $(LD) $(CFLAGS) $(LDFLAGS) $(OFILES) \
91 -L$(PWD)/paranoia -L$(PWD)/interface \
92 -o cdparanoia $(LIBS)
94 .c.o:
95 $(CC) $(CFLAGS) -c $<
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
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
109 .PHONY: all debug test lib slib install clean distclean