aboutsummaryrefslogtreecommitdiffstats
path: root/trunk/pbx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/pbx/Makefile')
-rw-r--r--trunk/pbx/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/trunk/pbx/Makefile b/trunk/pbx/Makefile
new file mode 100644
index 000000000..731057b1d
--- /dev/null
+++ b/trunk/pbx/Makefile
@@ -0,0 +1,32 @@
+#
+# 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.
+
+$(if $(filter pbx_dundi,$(EMBEDDED_MODS)),modules.link,pbx_dundi.so): dundi-parser.o