summaryrefslogtreecommitdiff
path: root/formats/Makefile
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2006-06-24 19:43:31 +0000
committerKevin P. Fleming <kpfleming@digium.com>2006-06-24 19:43:31 +0000
commite61d3d91f37f8b5b2fbcd30c2d3d0ba3abd5478f (patch)
treec9ee092b1529897cefb9171ca38ad1c5f74d293a /formats/Makefile
parentdf0ba5ff8b3199c9536a0d8f1f639ef279a93394 (diff)
The Eurostar Commit! (it's amazing how much work you can get done on a 150 minute train ride from Paris to London <G>)
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-<foo> 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: https://origsvn.digium.com/svn/asterisk/trunk@35832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'formats/Makefile')
-rw-r--r--formats/Makefile39
1 files changed, 2 insertions, 37 deletions
diff --git a/formats/Makefile b/formats/Makefile
index 8440aa0dd..351f1e8a1 100644
--- a/formats/Makefile
+++ b/formats/Makefile
@@ -5,51 +5,16 @@
#
# Copyright (C) 1999-2006, Digium, Inc.
#
-# Mark Spencer <markster@digium.com>
-#
# 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
SELECTED_MODS:=$(filter-out $(MENUSELECT_FORMATS),$(patsubst %.c,%,$(wildcard format_*.c)))
-GSMLIB=../codecs/gsm/lib/libgsm.a
-
-MODS:=$(patsubst %,%.so,$(SELECTED_MODS))
-
-all: $(MODS)
-
-clean-depend:
- rm -f .depend
-
-clean: clean-depend
- rm -f *.so *.o
-
-%.so : %.o
- $(CC) $(SOLINK) -o $@ $<
-
-ifneq ($(wildcard .depend),)
- include .depend
-endif
-
-format_ogg_vorbis.so : format_ogg_vorbis.o
- $(CC) $(SOLINK) -o $@ $< $(OGG_LIB) $(VORBIS_LIB)
-
-format_ogg_vorbis.o: format_ogg_vorbis.c
- $(CC) -c -o $@ $(CFLAGS) $(OGG_INCLUDE) $(VORBIS_INCLUDE) $<
-
-install: all
- for x in $(MODS); do $(INSTALL) -m 755 $$x $(DESTDIR)$(MODULES_DIR) ; done
-
-uninstall:
-
-depend: .depend
+all: _all
-.depend:
- ../build_tools/mkdep $(CFLAGS) `ls *.c`
+include ../Makefile.rules