From 945ccbb69099c3b9a4cd5cfdb679f4eb18f0b3d8 Mon Sep 17 00:00:00 2001 From: tilghman Date: Tue, 28 Sep 2010 18:18:43 +0000 Subject: Solaris compatibility fixes Review: https://reviewboard.asterisk.org/r/942/ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@289104 f38db490-d61c-443f-a65b-d21fe96a405b --- Makefile | 40 ---------------------------------------- 1 file changed, 40 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d0f02a3d8..613003ed0 100644 --- a/Makefile +++ b/Makefile @@ -124,46 +124,6 @@ OVERWRITE=y # Include debug and macro symbols in the executables (-g) and profiling info (-pg) DEBUG=-g3 -# Define standard directories for various platforms -# These apply if they are not redefined in asterisk.conf -ifeq ($(OSARCH),SunOS) - ASTETCDIR=/var/etc/asterisk - ASTLIBDIR=/opt/asterisk/lib - ASTVARLIBDIR=/var/opt/asterisk - ASTDBDIR=$(ASTVARLIBDIR) - ASTKEYDIR=$(ASTVARLIBDIR) - ASTSPOOLDIR=/var/spool/asterisk - ASTLOGDIR=/var/log/asterisk - ASTHEADERDIR=/opt/asterisk/include - ASTSBINDIR=/opt/asterisk/sbin - ASTVARRUNDIR=/var/run/asterisk - ASTMANDIR=/opt/asterisk/man -else - ASTETCDIR=$(sysconfdir)/asterisk - ASTLIBDIR=$(libdir)/asterisk - ASTHEADERDIR=$(includedir)/asterisk - ASTSBINDIR=$(sbindir) - ASTSPOOLDIR=$(localstatedir)/spool/asterisk - ASTLOGDIR=$(localstatedir)/log/asterisk - ASTVARRUNDIR=$(localstatedir)/run/asterisk - ASTMANDIR=$(mandir) -ifneq ($(findstring BSD,$(OSARCH)),) - ASTVARLIBDIR=$(prefix)/share/asterisk - ASTVARRUNDIR=$(localstatedir)/run/asterisk - ASTDBDIR=$(localstatedir)/db/asterisk -else - ASTVARLIBDIR=$(localstatedir)/lib/asterisk - ASTDBDIR=$(ASTVARLIBDIR) -endif -ifneq ($(findstring darwin,$(OSARCH)),) - ASTVARRUNDIR=/Library/Application Support/Asterisk/Run -endif - ASTKEYDIR=$(ASTVARLIBDIR) -endif -ifeq ($(ASTDATADIR),) - ASTDATADIR:=$(ASTVARLIBDIR) -endif - # Asterisk.conf is located in ASTETCDIR or by using the -C flag # when starting Asterisk ASTCONFPATH=$(ASTETCDIR)/asterisk.conf -- cgit v1.2.3