mirror of https://github.com/ericonr/sndio.git
disable sndiod by default, use aucat as server
This commit is contained in:
parent
f997f10b0e
commit
0127efd381
|
@ -1,13 +1,13 @@
|
||||||
all:
|
all:
|
||||||
cd libsndio && ${MAKE}
|
cd libsndio && ${MAKE}
|
||||||
cd aucat && ${MAKE}
|
cd aucat && ${MAKE}
|
||||||
cd sndiod && ${MAKE}
|
# cd sndiod && ${MAKE}
|
||||||
cd examples && ${MAKE}
|
cd examples && ${MAKE}
|
||||||
|
|
||||||
install:
|
install:
|
||||||
cd libsndio && ${MAKE} install
|
cd libsndio && ${MAKE} install
|
||||||
cd aucat && ${MAKE} install
|
cd aucat && ${MAKE} install
|
||||||
cd sndiod && ${MAKE} install
|
# cd sndiod && ${MAKE} install
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
cd libsndio && ${MAKE} uninstall
|
cd libsndio && ${MAKE} uninstall
|
||||||
|
@ -25,4 +25,3 @@ distclean: clean
|
||||||
Makefile libsndio/Makefile \
|
Makefile libsndio/Makefile \
|
||||||
aucat/Makefile sndiod/Makefile \
|
aucat/Makefile sndiod/Makefile \
|
||||||
examples/Makefile
|
examples/Makefile
|
||||||
|
|
||||||
|
|
|
@ -23,8 +23,8 @@ MAN1_DIR = @mandir@/man1
|
||||||
#
|
#
|
||||||
# programs to build
|
# programs to build
|
||||||
#
|
#
|
||||||
PROG = aucat
|
PROG = aucat sndiod
|
||||||
MAN1 = aucat.1
|
MAN1 = aucat.1 sndiod.1
|
||||||
|
|
||||||
all: ${PROG} ${MAN1}
|
all: ${PROG} ${MAN1}
|
||||||
|
|
||||||
|
@ -32,13 +32,15 @@ install:
|
||||||
mkdir -p ${DESTDIR}${BIN_DIR} ${DESTDIR}${MAN1_DIR}
|
mkdir -p ${DESTDIR}${BIN_DIR} ${DESTDIR}${MAN1_DIR}
|
||||||
cp aucat ${DESTDIR}${BIN_DIR}
|
cp aucat ${DESTDIR}${BIN_DIR}
|
||||||
cp aucat.1 ${DESTDIR}${MAN1_DIR}
|
cp aucat.1 ${DESTDIR}${MAN1_DIR}
|
||||||
|
ln -sf aucat ${DESTDIR}${BIN_DIR}/sndiod
|
||||||
|
ln -sf aucat.1 ${DESTDIR}${MAN1_DIR}/sndiod.1
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
cd ${DESTDIR}${BIN_DIR} && rm -f ${PROG}
|
cd ${DESTDIR}${BIN_DIR} && rm -f ${PROG}
|
||||||
cd ${DESTDIR}${MAN1_DIR} && rm -f ${MAN1}
|
cd ${DESTDIR}${MAN1_DIR} && rm -f ${MAN1}
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f -- *.o aucat
|
rm -f -- *.o aucat sndiod sndiod.1
|
||||||
|
|
||||||
# ---------------------------------------------------------- dependencies ---
|
# ---------------------------------------------------------- dependencies ---
|
||||||
|
|
||||||
|
@ -50,6 +52,12 @@ wav.o
|
||||||
aucat: ${OBJS}
|
aucat: ${OBJS}
|
||||||
${CC} ${LDFLAGS} ${LIB} -o aucat ${OBJS} ${LDADD}
|
${CC} ${LDFLAGS} ${LIB} -o aucat ${OBJS} ${LDADD}
|
||||||
|
|
||||||
|
sndiod:
|
||||||
|
ln -sf aucat sndiod
|
||||||
|
|
||||||
|
sndiod.1:
|
||||||
|
ln -sf aucat.1 sndiod.1
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
${CC} ${CFLAGS} ${INCLUDE} ${DEFS} -c $<
|
${CC} ${CFLAGS} ${INCLUDE} ${DEFS} -c $<
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue