2014-02-27 14:16:54 -05:00
|
|
|
include $(top_srcdir)/build/modmake.rulesam
|
|
|
|
MODNAME=mod_h323
|
|
|
|
|
|
|
|
PTLIBDIR = `/usr/bin/ptlib-config --ptlibdir`
|
|
|
|
|
|
|
|
mod_LTLIBRARIES = mod_h323.la
|
2014-03-18 19:21:41 -04:00
|
|
|
mod_h323_la_SOURCES = mod_h323.cpp
|
2014-03-19 01:03:05 +00:00
|
|
|
mod_h323_la_CFLAGS = $(AM_CFLAGS) -fno-exceptions
|
|
|
|
mod_h323_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(PTLIBDIR) -I/usr/include/openh323 -I. -DPTRACING=1 -D_REENTRANT
|
|
|
|
mod_h323_la_CPPFLAGS += -DPTRACING=1 -D_REENTRANT
|
2014-02-27 14:16:54 -05:00
|
|
|
mod_h323_la_LIBADD = $(switch_builddir)/libfreeswitch.la
|
|
|
|
mod_h323_la_LDFLAGS = -avoid-version -module -no-undefined -shared -L/usr/lib -lopenh323 -lpt -lrt
|
|
|
|
|
|
|
|
if IS64BITLINUX
|
2014-03-19 01:28:47 +00:00
|
|
|
mod_h323_la_CPPFLAGS += -DP_64BIT
|
2014-02-27 14:16:54 -05:00
|
|
|
endif
|