]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
System dependent xargs
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 28 Oct 2005 16:38:02 +0000 (16:38 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 28 Oct 2005 16:38:02 +0000 (16:38 +0000)
build/Makefile.alphacxx6
build/Makefile.hpuxacc
build/Makefile.linux
build/Makefile.linuxia64ecc
build/Makefile.linuxia64gcc
build/Makefile.linuxicc
build/Makefile.linuxx8664gcc
build/module.tpl

index 9c03828da0919da6991b51dde0d2b294d40476bd..51ab60a5de5b44c1e243e740f6f68924679638bd 100644 (file)
@@ -1,5 +1,9 @@
 # Makefile to build AliRoot for Alpha OSF1
 
+# System dependent commands
+
+XARGS = xargs
+
 # The compilers
 CXX           = cxx 
 F77          = f77
index 5d59e82c55cb7b4c806d224b42f76b5ebe1f6c39..f53fbf95c899acaa9350ab111a51cb03082306d1 100644 (file)
@@ -1,5 +1,9 @@
 # Makefile to build AliRoot on HP-UX
 
+# System dependent commands
+
+XARGS = xargs
+
 # The compilers
 CXX           = aCC
 F77          = f77
index f8876c797e8a2c24f7d06515d40befa067d17919..a16f5d9df8510bfad6b1e98d01e0c4f11edf94c3 100644 (file)
@@ -1,5 +1,9 @@
 # Makefile to build AliRoot for Linux
 
+# System dependent commands
+
+XARGS = xargs -r
+
 # The compilers
 CXX           = g++ 
 F77          = g77
index d66e339d369fd957f0dad9d6a59c1319c83ae2e3..617fedf7b80f241e614ccb70494055811c3290a7 100644 (file)
@@ -1,5 +1,9 @@
 # Makefile for AliRoot for Itanium/Linux with Intel icc compiler
 
+# System dependent commands
+
+XARGS = xargs -r
+
 # The compilers
 CXX           = icc 
 F77          = ifort
@@ -49,4 +53,4 @@ AEXT        = a
 LIBNOVER      = `find /lib -name 'libNoVersion*.so' | xargs --replace basename {} .so | sed -e 's/lib/ -l/'`
 
 SYSLIBS      := $(LIBNOVER) -lcrypt -L/usr/local/lib -lXt -lCEPCF90 -lF90 \
-                -lPEPCF90 -lintrins -L/usr/X11R6/lib -lX11
\ No newline at end of file
+                -lPEPCF90 -lintrins -L/usr/X11R6/lib -lX11
index aff5c8026ecbf64f9100ab90af35a68a36424f64..2834d8784333b53568d0fe6249568ab0268d415b 100644 (file)
@@ -1,5 +1,9 @@
 # Makefile for AliRoot for Itanium/Linux with gcc
 
+# System dependent commands
+
+XARGS = xargs -r
+
 # The compilers
 CXX           = g++ 
 F77          = g77
index ec2143bd7ebce7a6fe14a3d67ed92d0287313b70..c47ba493c7badbdc9896dec6e89f1d06c330f8e3 100644 (file)
@@ -1,5 +1,9 @@
 # Makefile for AliRoot for Linux with the Intel icc compiler
 
+# System dependent commands
+
+XARGS = xargs -r
+
 # The compilers
 CXX           = icc
 CC            = icc
index 1a75a76cbb35698b99784552daf9700aeef69b57..55acc2b5733fae5cf12859bc2b378930994dfbc0 100644 (file)
@@ -1,5 +1,9 @@
 # Makefile for AliRoot for Itanium/Linux with gcc
 
+# System dependent commands
+
+XARGS = xargs -r
+
 # The compilers
 CXX           = g++ 
 F77          = g77
index aef3a639f9928c81ac76000b277884f01846a64d..8ce031036af72a7b087ef71e5d88e3b41e0dddeb 100644 (file)
@@ -267,9 +267,9 @@ endif
 $(MODDIRO)/@PACKAGE@_srcslist: @MODULE@/@TYPE@@PACKAGE@.pkg
        $(MUTE)if [ ! -d '$(dir $@)' ]; then echo "***** Making directory $(dir $@) *****"; mkdir -p $(dir $@); fi
        $(MUTE)for i in $(@PACKAGE@CS) $(@PACKAGE@S) xyz; do echo $$i; done | sort > $@.new
-       $(MUTE)for j in `diff -w $@ $@.new 2>/dev/null | awk '/^\</{sub(".c.*",".",$$2); print $$2}' | xargs basename` ;\
-       do grep -l $$j `find */tgt_$(ALICE_TARGET) -name "*.d"` | xargs echo \rm -f ;\
-       (find @MODULE@/tgt_$(ALICE_TARGET) -name "$${j}d" ; find @MODULE@/tgt_$(ALICE_TARGET) -name "$${j}o") | xargs echo \rm -f ;\
+       $(MUTE)for j in `diff -w $@ $@.new 2>/dev/null | awk '/^\</{sub(".c.*",".",$$2); print $$2}' | $(XARGS) basename` ;\
+       do grep -l $$j `find */tgt_$(ALICE_TARGET) -name "*.d"` | $(XARGS) echo \rm -f ;\
+       (find @MODULE@/tgt_$(ALICE_TARGET) -name "$${j}d" ; find @MODULE@/tgt_$(ALICE_TARGET) -name "$${j}o") | $(XARGS) echo \rm -f ;\
        done
        $(MUTE)diff -q -w >/dev/null 2>&1 $@ $@.new ;\
        if [ $$? -ne 0 ]; then \mv $@.new $@; else \rm $@.new; fi