aboutsummaryrefslogtreecommitdiffstats
path: root/audio/cdparanoia/files/patch-interface-Makefile.in
blob: ba4aee123c93ce3be521a9b79184d190428e98f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
Index: interface/Makefile.in
===================================================================
RCS file: /home/cvs/cdparanoia/interface/Makefile.in,v
retrieving revision 1.1.1.1
retrieving revision 1.3
diff -u -r1.1.1.1 -r1.3
--- interface/Makefile.in   2003/01/05 09:46:26 1.1.1.1
+++ interface/Makefile.in   2003/01/05 12:03:46 1.3
@@ -9,13 +9,13 @@
 @SET_MAKE@
 FLAGS=@SBPCD_H@ @UCDROM_H@ @TYPESIZES@ @CFLAGS@
 OPT=@OPT@ $(FLAGS)
-DEBUG=@DEBUG@ $(FLAGS) -DCDDA_TEST
+DEBUG=@DEBUG@ $(FLAGS)
 CC=@CC@
 LD=@CC@
 LDFLAGS=@LDFLAGS@ $(FLAGS)
 AR=@AR@
 RANLIB=@RANLIB@
-LIBS = -lm
+LIBS = -lm -lcam
 CPPFLAGS+=-D_REENTRANT
 
 OFILES = scan_devices.o    common_interface.o cooked_interface.o interface.o\
@@ -23,19 +23,15 @@
 
 export VERSION
 
-all: lib slib
-
-debug: 
-   $(MAKE) libcdda_interface.a CFLAGS="$(DEBUG)"
-
-lib:   
+all:
    $(MAKE) libcdda_interface.a CFLAGS="$(OPT)" 
-
-slib:  
    $(MAKE) lessmessy
    $(MAKE) libcdda_interface.so CFLAGS="$(OPT) -fpic" 
    [ -e libcdda_interface.so.0 ] || ln -s libcdda_interface.so libcdda_interface.so.0
 
+debug:
+   $(MAKE) libcdda_interface.a CFLAGS="$(DEBUG)"
+
 test:  
    $(MAKE) libcdda_interface.a CFLAGS="$(DEBUG)"
    $(CC) $(DEBUG) -c test.c
@@ -46,7 +42,7 @@
    $(RANLIB) libcdda_interface.a
 
 libcdda_interface.so:  $(OFILES)   
-   $(CC) -fpic -shared -o libcdda_interface.so.0.$(VERSION) -Wl,-soname -Wl,libcdda_interface.so.0 $(OFILES)
+   $(CC) -fpic -shared -o libcdda_interface.so.0.$(VERSION) -Wl,-soname -Wl,libcdda_interface.so.0 $(OFILES) ${LIBS}
    [ -e libcdda_interface.so.0 ] || ln -s libcdda_interface.so.0.$(VERSION) libcdda_interface.so.0
    [ -e libcdda_interface.so ] || ln -s libcdda_interface.so.0.$(VERSION) libcdda_interface.so