mirror of
https://github.com/ericonr/sndio.git
synced 2024-02-18 04:45:21 -06:00
comment xvolkey lines conditionnaly
This commit is contained in:
parent
5fb297f312
commit
f1a77bece8
42
Makefile.in
42
Makefile.in
@ -1,33 +1,33 @@
|
|||||||
XVOLKEYS = @xvolkeys@
|
XVOLKEYS = @xvolkeys@
|
||||||
|
|
||||||
all:
|
all:
|
||||||
@cd libsndio && ${MAKE}
|
cd libsndio && ${MAKE}
|
||||||
@cd sndiod && ${MAKE}
|
cd sndiod && ${MAKE}
|
||||||
@cd sndioctl && ${MAKE}
|
cd sndioctl && ${MAKE}
|
||||||
@cd aucat && ${MAKE}
|
cd aucat && ${MAKE}
|
||||||
@if test ${XVOLKEYS} = yes; then cd xvolkeys && ${MAKE}; fi
|
@no_xvolkeys_comment@ cd xvolkeys && ${MAKE}
|
||||||
|
|
||||||
install:
|
install:
|
||||||
@cd libsndio && ${MAKE} install
|
cd libsndio && ${MAKE} install
|
||||||
@cd sndiod && ${MAKE} install
|
cd sndiod && ${MAKE} install
|
||||||
@cd sndioctl && ${MAKE} install
|
cd sndioctl && ${MAKE} install
|
||||||
@cd aucat && ${MAKE} install
|
cd aucat && ${MAKE} install
|
||||||
@if test ${XVOLKEYS} = yes; then cd xvolkeys && ${MAKE} install; fi
|
@no_xvolkeys_comment@ cd xvolkeys && ${MAKE} install
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
@cd xvolkeys && ${MAKE} uninstall
|
cd xvolkeys && ${MAKE} uninstall
|
||||||
@cd aucat && ${MAKE} uninstall
|
cd aucat && ${MAKE} uninstall
|
||||||
@cd sndioctl && ${MAKE} uninstall
|
cd sndioctl && ${MAKE} uninstall
|
||||||
@cd sndiod && ${MAKE} uninstall
|
cd sndiod && ${MAKE} uninstall
|
||||||
@cd libsndio && ${MAKE} uninstall
|
cd libsndio && ${MAKE} uninstall
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@cd aucat && ${MAKE} clean
|
cd aucat && ${MAKE} clean
|
||||||
@cd sndioctl && ${MAKE} clean
|
cd sndioctl && ${MAKE} clean
|
||||||
@cd sndiod && ${MAKE} clean
|
cd sndiod && ${MAKE} clean
|
||||||
@cd libsndio && ${MAKE} clean
|
cd libsndio && ${MAKE} clean
|
||||||
@cd examples && ${MAKE} clean
|
cd examples && ${MAKE} clean
|
||||||
@cd xvolkeys && ${MAKE} clean
|
cd xvolkeys && ${MAKE} clean
|
||||||
|
|
||||||
distclean: clean
|
distclean: clean
|
||||||
rm -f \
|
rm -f \
|
||||||
|
10
configure
vendored
10
configure
vendored
@ -44,6 +44,7 @@ unset includedir # path where to install header file
|
|||||||
unset libdir # path where to install library
|
unset libdir # path where to install library
|
||||||
unset defs # no extra #defines
|
unset defs # no extra #defines
|
||||||
unset ldadd # no extra libraries (-l options)
|
unset ldadd # no extra libraries (-l options)
|
||||||
|
unset no_xvolkeys_comment # comment to disable xvolkeys
|
||||||
|
|
||||||
#
|
#
|
||||||
# guess OS-specific parameters
|
# guess OS-specific parameters
|
||||||
@ -168,6 +169,13 @@ if [ $rmidi = yes ]; then
|
|||||||
defs="$defs -DUSE_RMIDI"
|
defs="$defs -DUSE_RMIDI"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#
|
||||||
|
# if xvolkeys is disabled, comment it in the makefile
|
||||||
|
#
|
||||||
|
if [ $xvolkeys = no ]; then
|
||||||
|
no_xvolkeys_comment="#"
|
||||||
|
fi
|
||||||
|
|
||||||
for f in Makefile aucat/Makefile sndiod/Makefile \
|
for f in Makefile aucat/Makefile sndiod/Makefile \
|
||||||
libsndio/Makefile sndioctl/Makefile xvolkeys/Makefile \
|
libsndio/Makefile sndioctl/Makefile xvolkeys/Makefile \
|
||||||
examples/Makefile \
|
examples/Makefile \
|
||||||
@ -185,7 +193,7 @@ do
|
|||||||
-e "s:@vars@:${vars}:" \
|
-e "s:@vars@:${vars}:" \
|
||||||
-e "s:@precision@:$precision:" \
|
-e "s:@precision@:$precision:" \
|
||||||
-e "s:@user@:$user:" \
|
-e "s:@user@:$user:" \
|
||||||
-e "s:@xvolkeys@:$xvolkeys:" \
|
-e "s:@no_xvolkeys_comment@:$no_xvolkeys_comment:" \
|
||||||
< $f.in > $f
|
< $f.in > $f
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user