summaryrefslogtreecommitdiff
path: root/xpp
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-02-28 21:01:49 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-02-28 21:01:49 +0000
commit4b6422e1d856247cb133554b9f1588b7f9dbd2ce (patch)
tree65ebf004392dcaa7cc83fc378a0c9bb6d2edd620 /xpp
parentcce0511a22c5976f19f094c53f73d799611266cc (diff)
r2252 | tzafrir | 2007-02-28 22:57:52 +0200 (Wed, 28 Feb 2007) | 3 lines
Make the xpp/utils/Makefile in 1.2 closer to the one in 1.4 (and actually work, this tine). git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2253 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'xpp')
-rw-r--r--xpp/utils/Makefile17
1 files changed, 6 insertions, 11 deletions
diff --git a/xpp/utils/Makefile b/xpp/utils/Makefile
index 788a8a3..a49818b 100644
--- a/xpp/utils/Makefile
+++ b/xpp/utils/Makefile
@@ -4,16 +4,12 @@ RANLIB = ranlib
INSTALL = install
INSTALL_DATA = install -m 644
-TOPDIR ?= ../..
+ZAPTEL_DIR ?= ../..
--include $(TOPDIR)/makeopts
+-include $(ZAPTEL_DIR)/makeopts
INSTALL_DATA = $(INSTALL) -m 644
-BINDIR = $(prefix)/sbin
-DATADIR = $(datadir)/zaptel
-MANDIR = $(mandir)/man8
-
# In 1.4 those are provided by autoconf through makeopts
prefix ?= /usr
datadir ?= $(prefix)/share
@@ -22,10 +18,10 @@ INSTALL ?= install
INSTALL_DATA = $(INSTALL) -m 644
-BINDIR = $(prefix)/sbin
-DATADIR = $(datadir)/zaptel
-MANDIR = $(mandir)/man8
-HOTPLUG_USB_DIR = /etc/hotplug/usb
+SBINDIR = $(prefix)/sbin
+DATADIR = $(datadir)/zaptel
+MANDIR = $(mandir)/man8
+HOTPLUG_USB_DIR = /etc/hotplug/usb
UDEV_RULES_DIR = /etc/udev/rules.d
# Perl disabled by default, until we see it is safe:
#PERLLIBDIR = $(shell eval `perl -V:sitelib`; echo "$$sitelib")
@@ -37,7 +33,6 @@ XPD_INIT = $(wildcard ../init_card_?_*) ../calibrate_slics
# Variables that should be defined above, but need sane defaults:
# FIXME: Are those values really sane?
HOSTCC ?= $(CC)
-ZAPTEL_DIR ?= ../..
ifeq (,$(PBX_LIBUSB))
# No PBX_LIBUSB? Maybe we compile against zaptel-1.2