aboutsummaryrefslogtreecommitdiffstats
path: root/trunk/channels/misdn/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/channels/misdn/Makefile')
-rw-r--r--trunk/channels/misdn/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/trunk/channels/misdn/Makefile b/trunk/channels/misdn/Makefile
new file mode 100644
index 000000000..85478225b
--- /dev/null
+++ b/trunk/channels/misdn/Makefile
@@ -0,0 +1,17 @@
+#
+# Makefile for chan_misdn support
+#
+ifneq ($(wildcard /usr/include/linux/mISDNdsp.h),)
+CFLAGS+=-DMISDN_1_2
+endif
+
+all:
+
+%.o: %.c
+ $(CC) $(CFLAGS) -c -o $@ $<
+
+portinfo: portinfo.o
+ $(CC) -o $@ $^ -lisdnnet -lmISDN -lpthread
+
+clean:
+ rm -rf *.a *.o *.so portinfo