Commit 54792fe2 authored by Mike Gabriel's avatar Mike Gabriel

another fix for the main Makefile

parent 7f7cb5d8
...@@ -5,11 +5,23 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -5,11 +5,23 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Last-Update: 2011-12-31 Last-Update: 2011-12-31
--- /dev/null --- /dev/null
+++ b/Makefile +++ b/Makefile
@@ -0,0 +1,31 @@ @@ -0,0 +1,34 @@
+#!/usr/bin/make -f +#!/usr/bin/make -f
+ +
+%:
+ $(MAKE) -C nxcomp $@
+ $(MAKE) -C nxproxy $@
+ if test -d nx-X11; then \
+ $(MAKE) -C nxcompext $@; \
+ $(MAKE) -C nxcompshad; \
+ $(MAKE) -C nx-X11 $@; \
+ fi
+
+all: build +all: build
+ +
+test:
+ echo "No testing for NX (redistributed)"
+
+build-lite: +build-lite:
+ cd nxcomp && autoconf && ./configure && $(MAKE) + cd nxcomp && autoconf && ./configure && $(MAKE)
+ cd nxproxy && autoconf && ./configure && $(MAKE) + cd nxproxy && autoconf && ./configure && $(MAKE)
...@@ -28,12 +40,3 @@ Last-Update: 2011-12-31 ...@@ -28,12 +40,3 @@ Last-Update: 2011-12-31
+ else \ + else \
+ $(MAKE) build-full; \ + $(MAKE) build-full; \
+ fi + fi
+
+%:
+ $(MAKE) -C nxcomp $@
+ $(MAKE) -C nxproxy $@
+ if test -d nx-X11; then \
+ $(MAKE) -C nxcompext $@; \
+ $(MAKE) -C nxcompshad; \
+ $(MAKE) -C nx-X11 $@; \
+ fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment