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

40 lines
904 B
Plaintext
Raw Normal View History

1999-04-11 12:07:11 +00:00
--- Makefile.orig Mon May 19 06:04:28 1997
+++ Makefile Sun Apr 11 20:42:32 1999
@@ -1,11 +1,13 @@
-CC = cc
-CFLAGS = -O3 -Wall -DNETWORK_DB -I./st
-LDFLAGS = -lscsi
-STLIB = ./st/libst.a
1999-04-11 12:07:11 +00:00
+CC ?= cc
+CFLAGS ?= -O3
+CFLAGS += -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
1999-04-11 12:07:11 +00:00
@@ -14,6 +16,9 @@
all: cdd pcmplay stripzeros
+st/libst.a:
+ cd st ; make
+
$(CDD_OBJECTS): cdd.h
pcmplay: $(PCMPLAY_OBJECTS)
1999-04-11 12:07:11 +00:00
@@ -22,7 +27,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: