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:
|
||||
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
|
||||
|
||||
|
|
|
@ -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 $<
|
||||
|
||||
|
|
Loading…
Reference in New Issue