From 9519f6c5f4e8e0fb400d85b977d9f88b26f725b5 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Tue, 30 Aug 2005 02:54:02 +0000 Subject: clean up, use make functions instead of subshells, remove unused stuff git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6449 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- agi/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'agi') diff --git a/agi/Makefile b/agi/Makefile index 999a07762..8cea3499f 100755 --- a/agi/Makefile +++ b/agi/Makefile @@ -17,7 +17,11 @@ CFLAGS+= LIBS= ifeq ($(OSARCH),SunOS) -LIBS=-lsocket -lnsl ../strcompat.o + LIBS=-lsocket -lnsl ../strcompat.o +endif + +ifeq ($(findstring BSD,${OSARCH}),BSD) + CFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/local/include -L$(CROSS_COMPILE_TARGET)/usr/local/lib endif all: depend $(AGIS) -- cgit v1.2.3