mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 11:25:35 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user