CD-DA extraction tool with excessive data corrections, such as jitter, loss of data, etc. This will soon be obsoleted by cdparanoia IV, I hope.... Most SCSI/ATAPI CD-ROM drives should work fine. However, the ATAPI stuff is totally untested, and if it happened to work, it was a miracle. :-) Currently, - the feature to search for CD-ROM device is not implemented and the -g option is required, - the libraries are not installed.
56 lines
1.6 KiB
Text
56 lines
1.6 KiB
Text
$NetBSD: patch-ab,v 1.1.1.1 2000/01/19 08:03:00 itohy Exp $
|
|
|
|
--- Makefile.in.orig Tue Dec 14 17:42:14 1999
|
|
+++ Makefile.in Mon Jan 17 23:32:22 2000
|
|
@@ -8,7 +8,7 @@
|
|
srcdir=@srcdir@
|
|
|
|
@SET_MAKE@
|
|
-FLAGS=@TYPESIZES@ @CFLAGS@
|
|
+FLAGS=@GETOPT_LONG@ @TYPESIZES@ @CFLAGS@
|
|
OPT=@OPT@ $(FLAGS)
|
|
DEBUG=@DEBUG@ $(FLAGS)
|
|
CC=@CC@
|
|
@@ -27,29 +27,27 @@
|
|
|
|
OFILES = main.o report.o header.o buffering_write.o
|
|
|
|
-export STATIC
|
|
-export VERSION
|
|
+STLIBS = interface/libcdda_interface.a paranoia/libcdda_paranoia.a -lm
|
|
+STLIBDEP = interface/libcdda_interface.a paranoia/libcdda_paranoia.a
|
|
|
|
-ifeq ($(STATIC),TRUE)
|
|
- LIBS = interface/libcdda_interface.a paranoia/libcdda_paranoia.a \
|
|
- -static -lm
|
|
- LIBDEP = interface/libcdda_interface.a paranoia/libcdda_paranoia.a
|
|
-else
|
|
- LIBS = -lcdda_interface -lcdda_paranoia -lm
|
|
- LIBDEP = interface/libcdda_interface.so paranoia/libcdda_paranoia.so
|
|
-endif
|
|
+SHLIBS = -lcdda_interface -lcdda_paranoia -lm
|
|
+SHLIBDEP = interface/libcdda_interface.so paranoia/libcdda_paranoia.so
|
|
|
|
|
|
-all:
|
|
+all:
|
|
cd interface && $(MAKE) all
|
|
cd paranoia && $(MAKE) all
|
|
- $(MAKE) cdparanoia CFLAGS="$(OPT)"
|
|
- strip cdparanoia
|
|
+ $(MAKE) cdparanoia CFLAGS="$(OPT)" LIBS="$(SHLIBS)" LIBDEP="$(SHLIBDEP)"
|
|
|
|
-debug:
|
|
+static:
|
|
+ cd interface && $(MAKE) lib
|
|
+ cd paranoia && $(MAKE) lib
|
|
+ $(MAKE) cdparanoia CFLAGS="$(OPT)" LIBS="$(STLIBS)" LIBDEP="$(STLIBDEP)"
|
|
+
|
|
+debug:
|
|
cd interface && $(MAKE) debug
|
|
cd paranoia && $(MAKE) debug
|
|
- $(MAKE) cdparanoia CFLAGS="$(DEBUG)" STATIC=TRUE
|
|
+ $(MAKE) cdparanoia CFLAGS="$(DEBUG)" LIBS="$(STLIBS)" LIBDEP="$(STLIBDEP)"
|
|
|
|
test:
|
|
cd interface && $(MAKE) all
|