summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorrussell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-01-24 00:38:19 +0000
committerrussell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-01-24 00:38:19 +0000
commitfb80ec501a9f98131cf2a4aa4f929128f1ed8f82 (patch)
tree735216a575b58c0b782e9fb1e2e818c7a2723982 /Makefile
parent0f011184e443e3ae6c9ba212975e7f1b947e5dd5 (diff)
Merged revisions 1943 via svnmerge from
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1943 | russell | 2007-01-23 18:35:48 -0600 (Tue, 23 Jan 2007) | 3 lines If the xpp pieces get built, install the userspace utilities as well. (issue #8894) ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1944 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a36aa7a..c9e579e 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@
.EXPORT_ALL_VARIABLES:
-.PHONY: menuselect distclean dist-clean clean version.h all _all install b410p devices programs modules linux24 linux26 xpp tests devel data stackcheck install-udev config update install-programs install-modules install-linux24 install-linux26 firmware install-include install-libs
+.PHONY: menuselect distclean dist-clean clean version.h all _all install b410p devices programs modules linux24 linux26 xpp tests devel data stackcheck install-udev config update install-programs install-modules install-linux24 install-linux26 firmware install-include install-libs xpp-install
PWD=$(shell pwd)
@@ -358,7 +358,12 @@ else # DYNFS
endif
endif
-install: all devices firmware install-libs install-include
+xpp-install:
+ifneq (,$(findstring xpp,$(obj-m)))
+ @$(MAKE) -C xpp/utils install
+endif
+
+install: all devices firmware install-libs install-include xpp-install
if [ -f ztcfg ]; then \
$(INSTALL) -D -m 755 ztcfg $(INSTALL_PREFIX)/sbin/ztcfg; \
fi