Added PWLIBDIR to the compile flags, libs/opal/opal and libs/opal/pwlib looks like a good place

for opal libraries.we are going to change it with the natural opal build system in the near future


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6140 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Tuyan Özipek 2007-11-02 01:38:58 +00:00
parent 80db368f12
commit b54e41a2a8
1 changed files with 4 additions and 3 deletions

View File

@ -12,14 +12,15 @@ moddir=$(prefix)/mod
MODNAME=mod_opal
OPALDIR=$(switch_builddir)/libs/opal
OPALDIR=$(switch_builddir)/libs/opal/opal
PWLIBDIR=$(switch_builddir)/libs/opal/pwlib
mod_LTLIBRARIES = mod_opal.la
mod_opal_la_SOURCES = opal_backend.cpp mod_opal.cpp
mod_opal_la_CPPFLAGS = $(AM_CPPFLAGS) -D_REENTRANT -fno-exceptions -Wall -DPTRACING -Os -felide-constructors -Wreorder -I$(OPALDIR)/include
mod_opal_la_CPPFLAGS = $(AM_CPPFLAGS) -D_REENTRANT -fno-exceptions -Wall -DPTRACING -Os -felide-constructors -Wreorder -I$(OPALDIR)/include -I$(PWLIBDIR)/include
mod_opal_la_LIBADD = $(switch_builddir)/libfreeswitch.la
mod_opal_la_LDFLAGS = -avoid-version -module -no-undefined -export-symbols-regex ^switch_module_.*$ -rpath $(PREFIX)/$(libdir) -L$(OPALDIR)/lib -lopal_linux_x86_r -lpt_linux_x86_r -lpthread -ldl -fPIC -DPIC
mod_opal_la_LDFLAGS = -avoid-version -module -no-undefined -export-symbols-regex ^switch_module_.*$ -rpath $(PREFIX)/$(libdir) -L$(PWLIBDIR)/lib -L$(OPALDIR)/lib -lopal_linux_x86_r -lpt_linux_x86_r -lpthread -ldl -fPIC -DPIC
#Override the linstall target so we just install the .so/.dylib