1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/audio/cdd/files/patch-aa
Luigi Rizzo 4d36880612 cdd port grab audio tracks from CDs.
This port is lobotomized and only works with atapi  waiting for someone
to do the scsi->cam modifications.
(also, this is my first attempt with easy-import...)
1998-12-31 12:02:03 +00:00

38 lines
881 B
Plaintext

--- Makefile.orig Sun May 18 22:34:28 1997
+++ Makefile Thu Dec 31 12:06:38 1998
@@ -1,11 +1,12 @@
CC = cc
-CFLAGS = -O3 -Wall -DNETWORK_DB -I./st
-LDFLAGS = -lscsi
-STLIB = ./st/libst.a
+CFLAGS = -O3 -Wall -DNETWORK_DB -I./st -I.
+LDFLAGS =
+STLIB = st/libst.a
CDD_OBJECTS = cdd.o cdd_util.o cdd_cdcmds.o cdd_xmcddiscid.o cdd_cddb.o \
cdd_plextorcmds.o \
cdd_hpcmds.o \
+ cdd_atapicmds.o \
cdd_toshibacmds.o
PCMPLAY_OBJECTS = pcmplay.o
@@ -14,6 +15,9 @@
all: cdd pcmplay stripzeros
+st/libst.a:
+ cd st ; make
+
$(CDD_OBJECTS): cdd.h
pcmplay: $(PCMPLAY_OBJECTS)
@@ -22,7 +26,7 @@
stripzeros: $(STRIPZEROS_OBJECTS)
$(CC) $(CFLAGS) -o $@ $(STRIPZEROS_OBJECTS) $(LDFLAGS)
-cdd: $(CDD_OBJECTS)
+cdd: $(CDD_OBJECTS) $(STLIB)
$(CC) $(CFLAGS) -o $@ $(CDD_OBJECTS) $(LDFLAGS) $(STLIB) -DDEBUG
clean: