aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/001_add-main-makefile.full+lite.patch
blob: 533ce7e258a6e42e01719c51b9d98745aa27015f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Description: Provide main Makefile for whole source tree
 By design this patch is not needed to be sent upstream.
Forwarded: not-needed
Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Last-Update: 2011-12-31
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,43 @@
+#!/usr/bin/make -f
+
+all: build
+
+build: build-arch build-indep
+
+clean:
+	test -d nx-X11 && cd nx-X11 && test -f Makefile && make $@ || true
+	test -d nxcomp && cd nxcomp && test -f Makefile && make $@ || true
+	test -d nxcompext && cd nxcompext && test -f Makefile && make $@ || true
+	test -d nxcompshad && cd nxcompshad && test -f Makefile && make $@ || true
+	test -d nxproxy && cd nxproxy && test -f Makefile && make $@ || true
+
+
+distclean:
+	test -d nx-X11 && cd nx-X11 && test -f Makefile && make $@ || true
+	test -d nxcomp && cd nxcomp && test -f Makefile && make $@ || true
+	test -d nxcompext && cd nxcompext && test -f Makefile && make $@ || true
+	test -d nxcompshad && cd nxcompshad && test -f Makefile && make $@ || true
+	test -d nxproxy && cd nxproxy && test -f Makefile && make $@ || true
+
+build-arch:
+	test -d nxcomp && cd nxcomp && autoconf
+	test -d nxcompext && cd nxcompext && autoconf
+	test -d nxcompshad && cd nxcompshad && autoconf
+	test -d nx-X11 && cd nx-X11 && make World
+	test -d nxproxy && cd nxproxy && autoconf && ./configure && make
+
+build-indep:
+
+install:
+	test -d nxcomp && cd nxcomp && make install
+	test -d nxcompext && cd nxcompext && make install
+	test -d nxcompshad && cd nxcompshad && make install
+	test -d nx-X11 && cd nx-X11 && make install
+	test -d nxproxy && cd nxproxy && make install
+
+uninstall:
+	test -d nxcomp && cd nxcomp && make uninstall
+	test -d nxcompext && cd nxcompext && make uninstall
+	test -d nxcompshad && cd nxcompshad && make uninstall
+	test -d nx-X11 && cd nx-X11 && make uninstall
+	test -d nxproxy && cd nxproxy && make uninstall