From 41af2260b79cbef918e170240ece6fd38962011c Mon Sep 17 00:00:00 2001 From: kpfleming Date: Sat, 24 Jun 2006 19:43:31 +0000 Subject: The Eurostar Commit! (it's amazing how much work you can get done on a 150 minute train ride from Paris to London ) support the new location for zaptel.h and tonezone.h use the dependency information output by menuselect to build Makefile rules for each module for header files and libraries combine the common rules into a top-level Makefile.rules file remove all (now) unnecessary stuff from subdir Makefiles change translator API so that the newpvt() callback returns an int instead of a pointer (it no longer allocates memory) alphabetize --with- options in configure script enhance Net-SNMP support in configure script to provide a --with-netsnmp option fix support for --with-pq so that if pg-config is not found when --with-pq is specified, an error will be generated add 'optional package' usage to modules now that menuselect can output it allow res_snmp to build by default, since the new loader changes coming soon will solve the function naming problem (and users can disable it via menuselect anyway) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35832 f38db490-d61c-443f-a65b-d21fe96a405b --- funcs/Makefile | 46 ++-------------------------------------------- 1 file changed, 2 insertions(+), 44 deletions(-) (limited to 'funcs') diff --git a/funcs/Makefile b/funcs/Makefile index b9e55d1e6..381a3d72c 100644 --- a/funcs/Makefile +++ b/funcs/Makefile @@ -5,14 +5,10 @@ # # Copyright (C) 2005-2006, Digium, Inc. # -# Kevin P. Fleming -# # This program is free software, distributed under the terms of # the GNU General Public License # -.PHONY: clean clean-depend all depend uninstall - ifneq ($(wildcard ../menuselect.makeopts),) include ../menuselect.makeopts endif @@ -30,44 +26,6 @@ else endif endif -MODS:=$(patsubst %,%.so,$(SELECTED_MODS)) - -all: $(MODS) - -clean-depend: - rm -f .depend - -clean: clean-depend - rm -f *.so *.o - -%.so : %.o - $(CC) $(SOLINK) -o $@ $< - -func_curl.so: func_curl.o - $(CC) $(SOLINK) -o $@ $< $(CURL_LIB) - -func_curl.o: func_curl.c - $(CC) -c -o $@ $(CFLAGS) $(CURL_INCLUDE) $< - -func_odbc.so: func_odbc.o - $(CC) $(SOLINK) -o $@ $< $(ODBC_LIB) - -func_odbc.o: func_odbc.c - $(CC) -c -o $@ $(CFLAGS) $(ODBC_INCLUDE) $< - -install: all - for x in $(MODS); do $(INSTALL) -m 755 $$x $(DESTDIR)$(MODULES_DIR) ; done - -uninstall: - -ifneq ($(wildcard .depend),) - include .depend -endif - -depend: .depend - -.depend: - ../build_tools/mkdep $(CFLAGS) `ls *.c` +all: _all -env: - env +include ../Makefile.rules -- cgit v1.2.3