[Freeswitch-svn] [commit] r2801 - freeswitch/branches/voctel/src/mod/applications/mod_phonecard

Freeswitch SVN voctel at freeswitch.org
Sat Sep 23 02:16:47 EDT 2006


Author: voctel
Date: Sat Sep 23 02:16:46 2006
New Revision: 2801

Added:
   freeswitch/branches/voctel/src/mod/applications/mod_phonecard/Makefile

Log:
doing some compile fixes

Added: freeswitch/branches/voctel/src/mod/applications/mod_phonecard/Makefile
==============================================================================
--- (empty file)
+++ freeswitch/branches/voctel/src/mod/applications/mod_phonecard/Makefile	Sat Sep 23 02:16:46 2006
@@ -0,0 +1,19 @@
+LDFLAGS += -L/usr/local/pgsql/lib -lpq
+CFLAGS += -I/usr/local/pgsql/include
+endif
+
+LINKER=$(CC)
+
+all:	depends $(MODNAME).$(DYNAMIC_LIB_EXTEN)
+
+depends:
+
+$(MODNAME).$(DYNAMIC_LIB_EXTEN): $(MODNAME).c
+	$(CC) $(CFLAGS) -fPIC -c $(MODNAME).c -o $(MODNAME).o 
+	$(LINKER) $(SOLINK) -o $(MODNAME).$(DYNAMIC_LIB_EXTEN)  $(MODNAME).o $(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