disable sndiod by default, use aucat as server

This commit is contained in:
Alexandre Ratchov 2012-09-20 19:15:53 +02:00
parent f997f10b0e
commit 0127efd381
2 changed files with 13 additions and 6 deletions

View File

@ -1,13 +1,13 @@
all:
cd libsndio && ${MAKE}
cd aucat && ${MAKE}
cd sndiod && ${MAKE}
# cd sndiod && ${MAKE}
cd examples && ${MAKE}
install:
cd libsndio && ${MAKE} install
cd aucat && ${MAKE} install
cd sndiod && ${MAKE} install
# cd sndiod && ${MAKE} install
uninstall:
cd libsndio && ${MAKE} uninstall
@ -25,4 +25,3 @@ distclean: clean
Makefile libsndio/Makefile \
aucat/Makefile sndiod/Makefile \
examples/Makefile

View File

@ -23,8 +23,8 @@ MAN1_DIR = @mandir@/man1
#
# programs to build
#
PROG = aucat
MAN1 = aucat.1
PROG = aucat sndiod
MAN1 = aucat.1 sndiod.1
all: ${PROG} ${MAN1}
@ -32,13 +32,15 @@ install:
mkdir -p ${DESTDIR}${BIN_DIR} ${DESTDIR}${MAN1_DIR}
cp aucat ${DESTDIR}${BIN_DIR}
cp aucat.1 ${DESTDIR}${MAN1_DIR}
ln -sf aucat ${DESTDIR}${BIN_DIR}/sndiod
ln -sf aucat.1 ${DESTDIR}${MAN1_DIR}/sndiod.1
uninstall:
cd ${DESTDIR}${BIN_DIR} && rm -f ${PROG}
cd ${DESTDIR}${MAN1_DIR} && rm -f ${MAN1}
clean:
rm -f -- *.o aucat
rm -f -- *.o aucat sndiod sndiod.1
# ---------------------------------------------------------- dependencies ---
@ -50,6 +52,12 @@ wav.o
aucat: ${OBJS}
${CC} ${LDFLAGS} ${LIB} -o aucat ${OBJS} ${LDADD}
sndiod:
ln -sf aucat sndiod
sndiod.1:
ln -sf aucat.1 sndiod.1
.c.o:
${CC} ${CFLAGS} ${INCLUDE} ${DEFS} -c $<