902b5c3e00
remove weird pre-setting of LUA paths; they are not necessary; also use the proper path for including the files in pbx_lua.c add searching for OpenAIS libraries in /usr/lib/openais if a path is not specified; not sure if this is really the optimal solution, but it works make the compiler shut up about some ignored function results in pbx_gtkconsole; this module is badly coded anyway git-svn-id: http://svn.digium.com/svn/asterisk/trunk@126356 f38db490-d61c-443f-a65b-d21fe96a405b
35 lines
757 B
Makefile
35 lines
757 B
Makefile
#
|
|
# Asterisk -- A telephony toolkit for Linux.
|
|
#
|
|
# Makefile for PBX modules
|
|
#
|
|
# Copyright (C) 1999-2006, Digium, Inc.
|
|
#
|
|
# This program is free software, distributed under the terms of
|
|
# the GNU General Public License
|
|
#
|
|
|
|
-include $(ASTTOPDIR)/menuselect.makeopts $(ASTTOPDIR)/menuselect.makedeps
|
|
|
|
MODULE_PREFIX=pbx
|
|
MENUSELECT_CATEGORY=PBX
|
|
MENUSELECT_DESCRIPTION=PBX Modules
|
|
|
|
all: _all
|
|
|
|
include $(ASTTOPDIR)/Makefile.moddir_rules
|
|
|
|
ifneq ($(findstring $(OSARCH), mingw32 cygwin ),)
|
|
LIBS+= -lres_ael_share.so -lres_monitor.so
|
|
endif
|
|
|
|
clean::
|
|
rm -f ael/*.o
|
|
|
|
dundi-parser.o: dundi-parser.h
|
|
dundi-parser.o: ASTCFLAGS+=-I.
|
|
|
|
pbx_gtkconsole.o: ASTCFLAGS+=-Wno-strict-prototypes
|
|
|
|
$(if $(filter pbx_dundi,$(EMBEDDED_MODS)),modules.link,pbx_dundi.so): dundi-parser.o
|