mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-29 06:34:19 +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,20 +0,0 @@
|
||||
BASE=../../../..
|
||||
|
||||
PKG_DIR:=/usr/local/lib/pkgconfig
|
||||
ifeq ($(PKG_CONFIG_PATH),)
|
||||
export PKG_CONFIG_PATH:=$(PKG_DIR)
|
||||
else
|
||||
ifeq ($(findstring $(PKG_DIR),$(PKG_CONFIG_PATH)),)
|
||||
export PKG_CONFIG_PATH:=$(PKG_CONFIG_PATH):$(PKG_DIR)
|
||||
endif
|
||||
endif
|
||||
|
||||
#DEBUG_SUFFIX:=--define-variable=suffix=_d
|
||||
|
||||
LOCAL_INSERT_CFLAGS= pkg-config opal $(DEBUG_SUFFIX) --cflags
|
||||
LOCAL_CFLAGS+=-g -ggdb
|
||||
LOCAL_INSERT_LDFLAGS= pkg-config opal $(DEBUG_SUFFIX) --libs
|
||||
|
||||
include $(BASE)/build/modmake.rules
|
||||
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
include $(top_srcdir)/build/modmake.rulesam
|
||||
MODNAME=mod_opal
|
||||
|
||||
PKG_DIR=/usr/local/lib/pkgconfig
|
||||
|
||||
#DEBUG_SUFFIX:=--define-variable=suffix=_d
|
||||
mod_LTLIBRARIES = mod_opal.la
|
||||
mod_opal_la_SOURCES = mod_opal.c
|
||||
mod_opal_la_CFLAGS = $(AM_CFLAGS) `PKG_CONFIG_PATH=$(PKG_CONFIG_PATH):$(PKG_DIR) pkg-config opal $(DEBUG_SUFFIX) --cflags`
|
||||
mod_opal_la_LIBADD = $(switch_builddir)/libfreeswitch.la
|
||||
mod_opal_la_LDFLAGS = -avoid-version -module -no-undefined -shared `pkg-config opal $(DEBUG_SUFFIX) --libs`
|
||||
Reference in new issue
Block a user