diff options
author | will <will@FreeBSD.org> | 2001-12-19 17:06:57 +0800 |
---|---|---|
committer | will <will@FreeBSD.org> | 2001-12-19 17:06:57 +0800 |
commit | cb7d993b167956eecc6ed0259142e3c328bf1797 (patch) | |
tree | 2d13f0a8965104393c4653a5c500229cfae45e7f /audio/adpcm/files | |
parent | fcf60a7ce4e8046d45448e41cfeaf250bbd6df63 (diff) | |
download | freebsd-ports-gnome-cb7d993b167956eecc6ed0259142e3c328bf1797.tar.gz freebsd-ports-gnome-cb7d993b167956eecc6ed0259142e3c328bf1797.tar.zst freebsd-ports-gnome-cb7d993b167956eecc6ed0259142e3c328bf1797.zip |
Add adpcm 1.2, an Intel/DVI IMA ADPCM codec library.
PR: 31331
Submitted by: Andrew <andrew@ugh.net.au>
Diffstat (limited to 'audio/adpcm/files')
-rw-r--r-- | audio/adpcm/files/patch-Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/audio/adpcm/files/patch-Makefile b/audio/adpcm/files/patch-Makefile new file mode 100644 index 000000000000..553215c965d7 --- /dev/null +++ b/audio/adpcm/files/patch-Makefile @@ -0,0 +1,40 @@ +--- Makefile.orig Wed Oct 17 16:47:29 2001 ++++ Makefile Wed Oct 17 20:47:22 2001 +@@ -1,14 +1,14 @@ + # + # Makefile for adpcm and test programs + # ------------------- +-CFLAGS=-O ++CFLAGS?=-O + # May need this on a sun: + # CFLAGS=-O -I/usr/demo/SOUND + + ALLSRC=README adpcm.2 Makefile adpcm.h libst.h adpcm.c timing.c rawcaudio.c \ + rawdaudio.c suncaudio.c sgicaudio.c sgidaudio.c hello.adpcm.uu + +-all: adpcm.o rawcaudio rawdaudio timing ++all: libadpcm.a libadpcm.so.1 + + sgi: all sgicaudio sgidaudio + +@@ -39,3 +39,20 @@ + + adpcm.shar: $(ALLSRC) + shar $(ALLSRC) > adpcm.shar ++ ++.SUFFIXES: .So .c ++ ++.c.So: ++ ${CC} -fpic -DPIC ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET} ++ ${LD} -o ${.TARGET}.tmp -x -r ${.TARGET} ++ mv ${.TARGET}.tmp ${.TARGET} ++ ++libadpcm.a: adpcm.o ++ -rm -f ${.TARGET} ++ ${AR} cq ${.TARGET} `lorder ${.ALLSRC} | tsort -q` ++ ${RANLIB} ${.TARGET} ++ ++libadpcm.so.1: adpcm.So ++ -rm -f ${.TARGET} ${.TARGET:R} ++ ${CC} -shared -Wl,-x -o ${.TARGET} -Wl,-soname,${.TARGET} \ ++ `lorder ${.ALLSRC} | tsort -q` |