summaryrefslogtreecommitdiff
path: root/funcs/Makefile
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2005-08-30 02:54:02 +0000
committerKevin P. Fleming <kpfleming@digium.com>2005-08-30 02:54:02 +0000
commit9519f6c5f4e8e0fb400d85b977d9f88b26f725b5 (patch)
tree896e31d97c0252ad5828e553dcdebef76842f107 /funcs/Makefile
parent5d4d2fdfd41a804fc2696b737ef3fca5d64daaca (diff)
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
Diffstat (limited to 'funcs/Makefile')
-rwxr-xr-xfuncs/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/funcs/Makefile b/funcs/Makefile
index 274a0df6a..e99cde005 100755
--- a/funcs/Makefile
+++ b/funcs/Makefile
@@ -35,6 +35,10 @@ CFLAGS+=-fPIC
FUNC_SOURCES=$(BUILTINS:.o=.c)
+ifeq ($(findstring BSD,${OSARCH}),BSD)
+ CFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/local/include -L$(CROSS_COMPILE_TARGET)/usr/local/lib
+endif
+
all: $(FUNCS)
clean:
@@ -59,7 +63,7 @@ install: all
for x in $(FUNCS); do $(INSTALL) -m 755 $$x $(DESTDIR)$(MODULES_DIR) ; done
ifneq ($(wildcard .depend),)
-include .depend
+ include .depend
endif
depend: .depend