move applications to use automake

This commit is contained in:
Michael Jerris committed 2014-03-07 18:36:12 -05:00
1 parent 07272e864e
commit bcd9f49fbe
234 files changed
+1729 -2421

No files matched your search

-20
View File
@@ -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
+11
View File
@@ -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`