summaryrefslogtreecommitdiff
path: root/package/rtsp/src/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-04-28 20:30:44 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-04-28 20:30:44 +0200
commit44dad747bf39cb8e352d885bda37cf37b98e3f75 (patch)
treee0509989d0ced20e7f06aca96f13de104e8baa3e /package/rtsp/src/Makefile
parentbc924b61431ffa6c76db5fefa7a5a09951fe6ccb (diff)
parente42433d7127f9a50b5dae57fff331ecfdc9883c4 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/rtsp/src/Makefile')
-rw-r--r--package/rtsp/src/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/package/rtsp/src/Makefile b/package/rtsp/src/Makefile
new file mode 100644
index 000000000..d7be5bab8
--- /dev/null
+++ b/package/rtsp/src/Makefile
@@ -0,0 +1,24 @@
+ifneq ($(KERNELRELEASE),)
+# kbuild part of makefile
+ifndef CONFIG_NF_CONNTRACK
+$(error ** You need to enable NF_CONNTRACK in your kernel **)
+endif
+
+obj-m := nf_conntrack_rtsp.o nf_nat_rtsp.o
+else
+
+# Normal Makefile
+
+all:
+ $(MAKE) -C $(KERNELDIR) M=`pwd` modules
+
+debug:
+ $(MAKE) -C $(KERNELDIR) EXTRA_CFLAGS=-DDEBUG M=`pwd` modules
+
+modules_install:
+ $(MAKE) -C $(KERNELDIR) M=`pwd` modules_install
+
+clean:
+ rm -rf *.o *.ko *.mod.c .*.cmd Module.symvers modules.order .tmp_versions
+
+endif