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
This commit is contained in:
Kevin P. Fleming
2005-08-30 02:54:02 +00:00
parent 5d4d2fdfd4
commit 9519f6c5f4
11 changed files with 401 additions and 269 deletions

View File

@@ -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