[distcc] Solaris patch and popt replacement

Martin Åkesson martin at placid.tv
Fri Oct 11 09:32:00 GMT 2002


Here is a patch to Makefile.in which is NOT working with Sun ONE Studio as
it'smake does not recognize the -C switch.    On a side note I have created a
replacement for the popt lib that work on all platforms and distcc
compiles nicely withit on both Solaris and Mac OSX.  If you are interested let me know and I
will put it ona web page somewhere..  I'm sure more ppl that me are against installing
popt lib onevery machine in the "compile-cluster".

/M

PATCH FOLLOWS
========================================
--- Makefile.in.old     Mon Oct  7 04:51:20 2002
+++ Makefile.in Fri Oct 11 11:18:23 2002
@@ -124,7 +124,7 @@
 # people will not have the tools to do it.  Just use all-web or
 # all-linuxdoc if you want them.
 all:
-       for s in src; do $(MAKE) -C $$s all  || exit $$? ; done
+       for s in src; do cd $$s; $(MAKE) all  || exit $$? ; done

 all-web: all-latte
 all-latte: $(latte_HTML)
@@ -221,7 +221,7 @@
 ## CHECK targets

 check_programs:
-       for s in src; do $(MAKE) -C $$s check_programs || exit $$?; done
+       for s in src; do cd $$s; $(MAKE) check_programs || exit $$?; done

 check: check_programs
        PYTHONPATH=$(srcdir)/python PATH=`pwd`/src:$$PATH python2.2
        $(srcdir)/test/testdistcc.py
@@ -234,7 +234,7 @@
 ## CLEAN targets

 clean:
-       for s in src; do $(MAKE) -C $$s clean || exit $$?; done
+       for s in src; do cd $$s; $(MAKE) clean || exit $$?; done

 maintainer-clean: distclean maintainer-clean-web maintainer-clean-linuxdoc \
        maintainer-clean-src maintainer-clean-autoconf
@@ -245,7 +245,7 @@
 maintainer-clean-autoconf:

 maintainer-clean-src:
-       for s in src; do $(MAKE) -C $$s maintainer-clean || exit $$?; done
+       for s in src; do cd $$s; $(MAKE) maintainer-clean || exit $$?; done

 maintainer-clean-web:
        rm -f $(latte_HTML)
@@ -262,7 +262,7 @@
        rm -f Makefile config.status src/config.h config.cache config.log

 distclean: distclean-autoconf
-       for s in src; do $(MAKE) -C $$s distclean || exit $$?; done
+       for s in src; do cd $$s; $(MAKE) distclean || exit $$?; done


 ## MAINTAINER targets






More information about the distcc mailing list