diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-08-30 02:54:02 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-08-30 02:54:02 +0000 |
commit | 475a3fdb24b2b6f0ec51f3948ec1d83a7f09febf (patch) | |
tree | 896e31d97c0252ad5828e553dcdebef76842f107 /funcs | |
parent | cd0067f95a3d30b8c59cf745e051810295fc96db (diff) |
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
Diffstat (limited to 'funcs')
-rwxr-xr-x | funcs/Makefile | 6 |
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 |