mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-24 22:58:21 +00:00
allow some more paths to be overridden on the command line (issue #5292)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6691 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
10
Makefile
10
Makefile
@@ -77,7 +77,7 @@ MALLOC_DEBUG = #-include $(PWD)/include/asterisk/astmm.h
|
|||||||
|
|
||||||
# Where to install asterisk after compiling
|
# Where to install asterisk after compiling
|
||||||
# Default -> leave empty
|
# Default -> leave empty
|
||||||
INSTALL_PREFIX=
|
INSTALL_PREFIX?=
|
||||||
|
|
||||||
# Staging directory
|
# Staging directory
|
||||||
# Files are copied here temporarily during the install process
|
# Files are copied here temporarily during the install process
|
||||||
@@ -209,7 +209,7 @@ ifeq (${OSARCH},SunOS)
|
|||||||
M4=/usr/local/bin/m4
|
M4=/usr/local/bin/m4
|
||||||
endif
|
endif
|
||||||
|
|
||||||
INCLUDE=-Iinclude -I../include
|
INCLUDE+=-Iinclude -I../include
|
||||||
ASTCFLAGS+=-pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations $(DEBUG) $(INCLUDE) -D_REENTRANT -D_GNU_SOURCE #-DMAKE_VALGRIND_HAPPY
|
ASTCFLAGS+=-pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations $(DEBUG) $(INCLUDE) -D_REENTRANT -D_GNU_SOURCE #-DMAKE_VALGRIND_HAPPY
|
||||||
ASTCFLAGS+=$(OPTIMIZE)
|
ASTCFLAGS+=$(OPTIMIZE)
|
||||||
|
|
||||||
@@ -312,7 +312,7 @@ ifeq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/dlfcn.h),)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq (${OSARCH},Linux)
|
ifeq (${OSARCH},Linux)
|
||||||
LIBS=-ldl -lpthread -lncurses -lm -lresolv #-lnjamd
|
LIBS+=-ldl -lpthread -lncurses -lm -lresolv #-lnjamd
|
||||||
else
|
else
|
||||||
LIBS+=-lncurses -lm
|
LIBS+=-lncurses -lm
|
||||||
endif
|
endif
|
||||||
@@ -338,7 +338,7 @@ ifeq (${OSARCH},NetBSD)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq (${OSARCH},OpenBSD)
|
ifeq (${OSARCH},OpenBSD)
|
||||||
LIBS=-lcrypto -lpthread -lm -lncurses
|
LIBS+=-lcrypto -lpthread -lm -lncurses
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq (${OSARCH},SunOS)
|
ifeq (${OSARCH},SunOS)
|
||||||
@@ -488,7 +488,7 @@ clean:
|
|||||||
$(MAKE) -C stdtime clean
|
$(MAKE) -C stdtime clean
|
||||||
|
|
||||||
datafiles: all
|
datafiles: all
|
||||||
sh mkpkgconfig $(DESTDIR)/usr/lib/pkgconfig
|
if test $$(id -u) = 0; then sh mkpkgconfig $(DESTDIR)/usr/lib/pkgconfig; fi
|
||||||
mkdir -p $(DESTDIR)$(ASTVARLIBDIR)/sounds/digits
|
mkdir -p $(DESTDIR)$(ASTVARLIBDIR)/sounds/digits
|
||||||
mkdir -p $(DESTDIR)$(ASTVARLIBDIR)/sounds/priv-callerintros
|
mkdir -p $(DESTDIR)$(ASTVARLIBDIR)/sounds/priv-callerintros
|
||||||
for x in sounds/digits/*.gsm; do \
|
for x in sounds/digits/*.gsm; do \
|
||||||
|
Reference in New Issue
Block a user