Commit f4ef2967 authored by Mike Gabriel's avatar Mike Gabriel

Use ,,make -C'' in main Makefile for calling Makefiles in subdirectories.

parent a751baaa
nx-libs (2:3.5.0.11-0) UNRELEASED; urgency=low nx-libs (2:3.5.0.11-0) UNRELEASED; urgency=low
* Continue development... * Use ,,make -C'' in main Makefile for calling Makefiles in subdirectories.
-- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Tue, 07 Feb 2012 13:48:19 +0100 -- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Tue, 07 Feb 2012 13:48:19 +0100
......
...@@ -5,7 +5,7 @@ Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> ...@@ -5,7 +5,7 @@ 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,43 @@ @@ -0,0 +1,42 @@
+#!/usr/bin/make -f +#!/usr/bin/make -f
+ +
+all: build +all: build
...@@ -13,39 +13,38 @@ Last-Update: 2011-12-31 ...@@ -13,39 +13,38 @@ Last-Update: 2011-12-31
+build: build-arch build-indep +build: build-arch build-indep
+ +
+clean: +clean:
+ test -d nx-X11 && cd nx-X11 && test -f Makefile && make $@ || true + -make -C nx-X11 $@
+ test -d nxcomp && cd nxcomp && test -f Makefile && make $@ || true + -make -C nxcomp $@
+ test -d nxcompext && cd nxcompext && test -f Makefile && make $@ || true + -make -C nxcompext $@
+ test -d nxcompshad && cd nxcompshad && test -f Makefile && make $@ || true + -make -C nxcompshad $@
+ test -d nxproxy && cd nxproxy && test -f Makefile && make $@ || true + -make -C nxproxy $@
+
+ +
+distclean: +distclean:
+ test -d nx-X11 && cd nx-X11 && test -f Makefile && make $@ || true + -make -C nx-X11 $@
+ test -d nxcomp && cd nxcomp && test -f Makefile && make $@ || true + -make -C nxcomp $@
+ test -d nxcompext && cd nxcompext && test -f Makefile && make $@ || true + -make -C nxcompext $@
+ test -d nxcompshad && cd nxcompshad && test -f Makefile && make $@ || true + -make -C nxcompshad $@
+ test -d nxproxy && cd nxproxy && test -f Makefile && make $@ || true + -make -C nxproxy $@
+ +
+build-arch: +build-arch:
+ test -d nxcomp && cd nxcomp && autoconf + cd nxcomp && autoconf && ./configure && make
+ test -d nxcompext && cd nxcompext && autoconf + -cd nxcompext && autoconf && ./configure && make
+ test -d nxcompshad && cd nxcompshad && autoconf + -cd nxcompshad && autoconf && ./configure && make
+ test -d nx-X11 && cd nx-X11 && make World + -cd nx-X11 && make World && ./configure && make
+ test -d nxproxy && cd nxproxy && autoconf && ./configure && make + cd nxproxy && autoconf && ./configure && make
+ +
+build-indep: +build-indep:
+ +
+install: +install:
+ test -d nxcomp && cd nxcomp && make install + -make -C nx-X11 $@
+ test -d nxcompext && cd nxcompext && make install + -make -C nxcomp $@
+ test -d nxcompshad && cd nxcompshad && make install + -make -C nxcompext $@
+ test -d nx-X11 && cd nx-X11 && make install + -make -C nxcompshad $@
+ test -d nxproxy && cd nxproxy && make install + -make -C nxproxy $@
+ +
+uninstall: +uninstall:
+ test -d nxcomp && cd nxcomp && make uninstall + -make -C nx-X11 $@
+ test -d nxcompext && cd nxcompext && make uninstall + -make -C nxcomp $@
+ test -d nxcompshad && cd nxcompshad && make uninstall + -make -C nxcompext $@
+ test -d nx-X11 && cd nx-X11 && make uninstall + -make -C nxcompshad $@
+ test -d nxproxy && cd nxproxy && make uninstall + -make -C nxproxy $@
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