diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2006-07-15 19:59:35 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2006-07-15 19:59:35 +0000 |
commit | 000ba592b2475507c0c5a655f3eac2daf93d2fe0 (patch) | |
tree | a1180a16189aab888f84a1b9b87536d5bcf2dfa1 /funcs/Makefile | |
parent | 396ef6f9e7447e443c7dcd491a7ae47eff0e9877 (diff) |
more Makefile cleanup and consistency stuff
don't reuse LIBS variable from top-level Makefile (oops)
build Asterisk binary after subdirs (preparing for embedded modules)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37661 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'funcs/Makefile')
-rw-r--r-- | funcs/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/funcs/Makefile b/funcs/Makefile index 97b8e38cf..b16355c03 100644 --- a/funcs/Makefile +++ b/funcs/Makefile @@ -14,7 +14,10 @@ ifneq ($(wildcard ../menuselect.makeopts),) include ../menuselect.makedeps endif -SELECTED_MODS:=$(filter-out $(MENUSELECT_FUNCS),$(patsubst %.c,%,$(wildcard func_*.c))) +C_MODS:=$(filter-out $(MENUSELECT_FUNCS),$(patsubst %.c,%,$(wildcard func_*.c))) +CC_MODS:=$(filter-out $(MENUSELECT_FUNCS),$(patsubst %.cc,%,$(wildcard func_*.cc))) + +SELECTED_MODS:=$(C_MODS) $(CC_MODS) # TODO This check needs to be handled with autoconf ifeq ($(OSARCH),SunOS) |