This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we are showing it without any
pretty colors.
Highlight
it anyway.
| 1 |
#! /bin/sh |
| 2 |
|
| 3 |
CC=${CC:-\$(CROSS_COMPILE)gcc} |
| 4 |
CFLAGS=${CFLAGS:--O2 -ggdb -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes -ansi} |
| 5 |
LDFLAGS=${LDFLAGS:--Wl,--no-undefined -Wl,--as-needed} |
| 6 |
|
| 7 |
GST_CFLAGS=$(pkg-config --cflags gstreamer-0.10) |
| 8 |
GST_LIBS=$(pkg-config --libs gstreamer-0.10) |
| 9 |
|
| 10 |
DSP_API=${DSP_API:-2} |
| 11 |
SN_API=${SN_API:-2} |
| 12 |
|
| 13 |
dspdir=${dspdir:-"/lib/dsp"} |
| 14 |
prefix=${prefix:-"/usr"} |
| 15 |
|
| 16 |
cat > Makefile.conf <<EOF |
| 17 |
CROSS_COMPILE ?= ${CROSS_COMPILE} |
| 18 |
CC := ${CC} |
| 19 |
|
| 20 |
CFLAGS := ${CFLAGS} |
| 21 |
LDFLAGS := ${LDFLAGS} |
| 22 |
|
| 23 |
GST_CFLAGS := ${GST_CFLAGS} |
| 24 |
GST_LIBS := ${GST_LIBS} |
| 25 |
|
| 26 |
DSP_API := ${DSP_API} |
| 27 |
SN_API := ${SN_API} |
| 28 |
|
| 29 |
dspdir := ${dspdir} |
| 30 |
prefix := ${prefix} |
| 31 |
EOF |