[Pkg-voip-commits] [dahdi-tools] 193/285: xpp: Don't generate .depends if there's no libusb
tzafrir at debian.org
tzafrir at debian.org
Thu Jul 7 19:18:55 UTC 2016
This is an automated email from the git hooks/post-receive script.
tzafrir pushed a commit to branch master
in repository dahdi-tools.
commit b1d55683ae1c146dad3892672d665fa8bcad61c0
Author: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
Date: Thu Jun 5 13:20:36 2014 +0300
xpp: Don't generate .depends if there's no libusb
Creating the The .depends file requires libusb support.
Signed-off-by: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
Acked-by: Russ Meyerriecks <rmeyerriecks at digium.com>
---
xpp/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/xpp/Makefile b/xpp/Makefile
index ee15fe1..cb5a618 100644
--- a/xpp/Makefile
+++ b/xpp/Makefile
@@ -192,9 +192,11 @@ clean:
$(RM) .depend .octasic.depend *.o xtalk/*.o $(OCT_HERE_OBJS) $(TARGETS)
.PHONY: depend
+ifeq (1,$(PBX_USB))
depend: .depend
.depend: *.c *.h xtalk/*.c
@echo "Calculating dependencies"
@if ! $(CC) $(CFLAGS) $(OCT_CFLAGS) -MM $(SRCS) > $@; then $(RM) $@; exit 1; fi
include .depend
+endif
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/dahdi-tools.git
More information about the Pkg-voip-commits
mailing list