diff options
Diffstat (limited to 'xpp/utils/Makefile')
-rw-r--r-- | xpp/utils/Makefile | 17 |
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 |