[Freeswitch-svn] [commit] r2517 - freeswitch/trunk/src/mod/codecs/mod_g722

Freeswitch SVN brian at freeswitch.org
Tue Sep 5 14:50:39 EDT 2006


Author: brian
Date: Tue Sep  5 14:50:39 2006
New Revision: 2517

Added:
   freeswitch/trunk/src/mod/codecs/mod_g722/Makefile

Log:
Makefile for mod_g722

Added: freeswitch/trunk/src/mod/codecs/mod_g722/Makefile
==============================================================================
--- (empty file)
+++ freeswitch/trunk/src/mod/codecs/mod_g722/Makefile	Tue Sep  5 14:50:39 2006
@@ -0,0 +1,16 @@
+LDFLAGS +=-lg7xx
+
+all:	depends $(MODNAME).$(DYNAMIC_LIB_EXTEN)
+
+depends:
+	MAKE=$(MAKE) $(BASE)/build/buildlib.sh $(BASE) install codec/g7xx --prefix=$(PREFIX)
+
+$(MODNAME).$(DYNAMIC_LIB_EXTEN): $(MODNAME).c 
+	$(CC) $(CFLAGS) -fPIC -c $(MODNAME).c -o $(MODNAME).o
+	$(CC) $(SOLINK) $(MODNAME).o -o $(MODNAME).$(DYNAMIC_LIB_EXTEN) $(LDFLAGS)
+
+clean:
+	rm -fr *.$(DYNAMIC_LIB_EXTEN) *.o *~
+
+install:
+	cp -f $(MODNAME).$(DYNAMIC_LIB_EXTEN) $(PREFIX)/mod



More information about the Freeswitch-svn mailing list