From 475a3fdb24b2b6f0ec51f3948ec1d83a7f09febf Mon Sep 17 00:00:00 2001 From: kpfleming Date: Tue, 30 Aug 2005 02:54:02 +0000 Subject: clean up, use make functions instead of subshells, remove unused stuff git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6449 f38db490-d61c-443f-a65b-d21fe96a405b --- 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