mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-15 22:08:33 +00:00
move applications to use automake
This commit is contained in:
1 parent
07272e864e
commit
bcd9f49fbe
234 files changed
+1729
-2421
No files matched your search
@@ -1,14 +0,0 @@
|
||||
UNAME := $(shell uname -s)
|
||||
ifeq ($(UNAME),SunOS)
|
||||
ISA64 := $(shell isainfo -n)
|
||||
LOCAL_CFLAGS=-I/usr/postgres/8.3/include
|
||||
ifneq (,$(findstring m64,$(CFLAGS)))
|
||||
LOCAL_LDFLAGS=-L/usr/postgres/8.3/lib/$(ISA64) -R/usr/postgres/8.3/lib/$(ISA64) -lpq -static
|
||||
else
|
||||
LOCAL_LDFLAGS=-L/usr/postgres/8.3/lib -R/usr/postgres/8.3/lib -lpq -static
|
||||
endif
|
||||
else
|
||||
LOCAL_CFLAGS=-I/usr/include/postgresql
|
||||
LOCAL_LDFLAGS=-lpq -static
|
||||
endif
|
||||
include ../../../../build/modmake.rules
|
||||
@@ -0,0 +1,8 @@
|
||||
include $(top_srcdir)/build/modmake.rulesam
|
||||
MODNAME=mod_cdr_pg_csv
|
||||
|
||||
mod_LTLIBRARIES = mod_cdr_pg_csv.la
|
||||
mod_cdr_pg_csv_la_SOURCES = mod_cdr_pg_csv.c
|
||||
mod_cdr_pg_csv_la_CFLAGS = $(AM_CFLAGS) $(SWITCH_AM_CXXFLAGS)
|
||||
mod_cdr_pg_csv_la_LIBADD = $(switch_builddir)/libfreeswitch.la
|
||||
mod_cdr_pg_csv_la_LDFLAGS = -avoid-version -module -no-undefined -shared -lpq $(SWITCH_AM_LDFLAGS)
|
||||
@@ -35,8 +35,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <sys/stat.h>
|
||||
#include <switch.h>
|
||||
#include <sys/stat.h>
|
||||
#include <libpq-fe.h>
|
||||
|
||||
SWITCH_MODULE_LOAD_FUNCTION(mod_cdr_pg_csv_load);
|
||||
|
||||
Reference in new issue
Block a user