2013-03-31 10:31:49 +02:00
|
|
|
$NetBSD: patch-ah,v 1.2 2013/03/31 08:31:49 sbd Exp $
|
2007-11-23 01:18:41 +01:00
|
|
|
|
2013-03-31 10:31:49 +02:00
|
|
|
--- rtunes/GNUmakefile.orig 2006-05-06 14:02:13.000000000 +0000
|
2007-11-23 01:18:41 +01:00
|
|
|
+++ rtunes/GNUmakefile
|
2013-03-31 10:31:49 +02:00
|
|
|
@@ -2,31 +2,32 @@
|
|
|
|
|
2007-11-23 01:18:41 +01:00
|
|
|
CCFLAGS = -O2 -pipe -Wall -Wstrict-prototypes -c
|
2013-03-31 10:31:49 +02:00
|
|
|
+CCFLAGS += ${CFLAGS} ${LDFLAGS}
|
2007-11-23 01:18:41 +01:00
|
|
|
|
|
|
|
rtunes: rtunes.o cipher.o mp4.o rtsp.o sys.o parse.o scan.o
|
|
|
|
- cc -L../libbsd -o rtunes rtunes.o cipher.o mp4.o rtsp.o sys.o parse.o scan.o -lbsd -lcrypto
|
2013-03-31 10:31:49 +02:00
|
|
|
+ ${CC} ${CFLAGS} ${LDFLAGS} -L../libbsd -o rtunes rtunes.o cipher.o mp4.o rtsp.o sys.o parse.o scan.o -lbsd -lcrypto
|
2007-11-23 01:18:41 +01:00
|
|
|
strip rtunes
|
|
|
|
|
|
|
|
rtunes.o: rtunes.c
|
|
|
|
- cc ${CCFLAGS} rtunes.c
|
|
|
|
+ ${CC} ${CCFLAGS} rtunes.c
|
|
|
|
|
|
|
|
cipher.o: cipher.c
|
|
|
|
- cc ${CCFLAGS} cipher.c
|
|
|
|
+ ${CC} ${CCFLAGS} cipher.c
|
|
|
|
|
|
|
|
mp4.o: mp4.c
|
|
|
|
- cc ${CCFLAGS} mp4.c
|
|
|
|
+ ${CC} ${CCFLAGS} mp4.c
|
|
|
|
|
|
|
|
rtsp.o: rtsp.c
|
|
|
|
- cc ${CCFLAGS} rtsp.c
|
|
|
|
+ ${CC} ${CCFLAGS} rtsp.c
|
|
|
|
|
|
|
|
sys.o: sys.c
|
|
|
|
- cc ${CCFLAGS} sys.c
|
|
|
|
+ ${CC} ${CCFLAGS} sys.c
|
|
|
|
|
|
|
|
parse.o: parse.y
|
|
|
|
yacc -d parse.y
|
|
|
|
- cc ${CCFLAGS} -o parse.o y.tab.c
|
|
|
|
+ ${CC} ${CCFLAGS} -o parse.o y.tab.c
|
|
|
|
|
|
|
|
scan.o: scan.l
|
|
|
|
lex scan.l
|
|
|
|
- cc ${CCFLAGS} -o scan.o lex.yy.c
|
|
|
|
+ ${CC} ${CCFLAGS} -o scan.o lex.yy.c
|
|
|
|
|
|
|
|
clean:
|