mirror of https://github.com/ericonr/sndio.git
connect sndiod to the install target
This commit is contained in:
parent
d899b0d484
commit
7eb795bc19
|
@ -7,7 +7,7 @@ all:
|
||||||
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
|
||||||
|
|
|
@ -23,8 +23,8 @@ MAN1_DIR = @mandir@/man1
|
||||||
#
|
#
|
||||||
# programs to build
|
# programs to build
|
||||||
#
|
#
|
||||||
PROG = aucat sndiod
|
PROG = aucat
|
||||||
MAN1 = aucat.1 sndiod.1
|
MAN1 = aucat.1
|
||||||
|
|
||||||
all: ${PROG} ${MAN1}
|
all: ${PROG} ${MAN1}
|
||||||
|
|
||||||
|
@ -32,15 +32,13 @@ 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 sndiod sndiod.1
|
rm -f -- *.o aucat
|
||||||
|
|
||||||
# ---------------------------------------------------------- dependencies ---
|
# ---------------------------------------------------------- dependencies ---
|
||||||
|
|
||||||
|
@ -52,12 +50,6 @@ 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