Commit 58038105 authored by Lynn Garren's avatar Lynn Garren
Browse files

discovered abs_top_builddir and abs_top_srcdir

parent a404f8ec
......@@ -12,31 +12,35 @@ all-local: $(top_builddir)/CLHEP
# 1. $(top_srcdir)/..
# 2. $(CLHEPSOURCE_DIR)/CLHEP
# 3. $(CLHEP_DIR)/CLHEP
#
# abs_ => absolute path
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
$(top_builddir)/CLHEP:
mkdir $(top_builddir)/CLHEP; linktree=`pwd`; \
cd $(top_srcdir)/..; linksource=`pwd`; \
list=`ls $$linksource`; \
mkdir $(top_builddir)/CLHEP;
cd $(abs_top_builddir); list=`ls $(abs_top_srcdir)/..`; \
for pkg in $$list; do \
if test -d "$$linksource"/"$$pkg"/"$$pkg"; then \
(cd $$linktree/CLHEP; mkdir $$pkg; cd $$pkg; \
hdrs=`ls $$linksource/$$pkg/$$pkg`; \
for hdr in $$hdrs; do $(LN_S) $$linksource/$$pkg/$$pkg/$$hdr $$hdr; done; \
if test -f "$$linktree"/../"$$pkg"/"$$pkg"/defs.h; then $(LN_S) $$linktree/../$$pkg/$$pkg/defs.h defs.h; fi; \
if test -f "$$linktree/$$pkg"/defs.h && test ! -e defs.h ; then $(LN_S) $$linktree/$$pkg/defs.h defs.h; fi); \
if test -d $(abs_top_srcdir)/../"$$pkg"/"$$pkg"; then \
(cd $(abs_top_builddir)/CLHEP; mkdir $$pkg; cd $$pkg; \
hdrs=`ls $(abs_top_srcdir)/../$$pkg/$$pkg`; \
for hdr in $$hdrs; do $(LN_S) $(abs_top_srcdir)/../$$pkg/$$pkg/$$hdr $$hdr; done; \
if test -f $(abs_top_builddir)/../"$$pkg"/"$$pkg"/defs.h; then $(LN_S) $(abs_top_builddir)/../$$pkg/$$pkg/defs.h defs.h; fi; \
if test -f $(abs_top_builddir)/"$$pkg"/defs.h && test ! -e defs.h ; then $(LN_S) $(abs_top_builddir)/$$pkg/defs.h defs.h; fi); \
fi; done
cd $(top_builddir); linktree=`pwd`; \
cd $(abs_top_builddir); \
if test -n $(CLHEPSOURCE_DIR) && test -d $(CLHEPSOURCE_DIR)/CLHEP; then \
(list=`ls $(CLHEPSOURCE_DIR)/CLHEP`; \
for pkg in $$list; do cd $$linktree/CLHEP; \
for pkg in $$list; do cd $(abs_top_builddir)/CLHEP; \
if test -d $(CLHEPSOURCE_DIR)/CLHEP/"$$pkg"/"$$pkg" && test ! -d "$$pkg"; then \
(mkdir $$pkg; cd $$pkg; \
hdrs=`ls $(CLHEPSOURCE_DIR)/CLHEP/$$pkg/$$pkg`; \
for hdr in $$hdrs; do $(LN_S) $(CLHEPSOURCE_DIR)/CLHEP/$$pkg/$$pkg/$$hdr $$hdr; done); \
fi; done); fi
cd $(top_builddir); linktree=`pwd`; \
cd $(abs_top_builddir); \
if test -n $(CLHEP_DIR) && test -d $(CLHEP_DIR)/CLHEP; then \
(list=`ls $(CLHEP_DIR)/CLHEP`; \
for pkg in $$list; do cd $$linktree/CLHEP; \
for pkg in $$list; do cd $(abs_top_builddir)/CLHEP; \
if test -d $(CLHEP_DIR)/CLHEP/"$$pkg"/"$$pkg" && test ! -d "$$pkg"; then \
(mkdir $$pkg; cd $$pkg; \
hdrs=`ls $(CLHEP_DIR)/CLHEP/$$pkg/$$pkg`; \
......
......@@ -14,31 +14,35 @@ all-local: $(top_builddir)/CLHEP
# 1. $(top_srcdir)/..
# 2. $(CLHEPSOURCE_DIR)/CLHEP
# 3. $(CLHEP_DIR)/CLHEP
#
# abs_ => absolute path
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
$(top_builddir)/CLHEP:
mkdir $(top_builddir)/CLHEP; linktree=`pwd`; \
cd $(top_srcdir)/..; linksource=`pwd`; \
list=`ls $$linksource`; \
mkdir $(top_builddir)/CLHEP;
cd $(abs_top_builddir); list=`ls $(abs_top_srcdir)/..`; \
for pkg in $$list; do \
if test -d "$$linksource"/"$$pkg"/"$$pkg"; then \
(cd $$linktree/CLHEP; mkdir $$pkg; cd $$pkg; \
hdrs=`ls $$linksource/$$pkg/$$pkg`; \
for hdr in $$hdrs; do $(LN_S) $$linksource/$$pkg/$$pkg/$$hdr $$hdr; done; \
if test -f "$$linktree"/../"$$pkg"/"$$pkg"/defs.h; then $(LN_S) $$linktree/../$$pkg/$$pkg/defs.h defs.h; fi; \
if test -f "$$linktree/$$pkg"/defs.h && test ! -e defs.h ; then $(LN_S) $$linktree/$$pkg/defs.h defs.h; fi); \
if test -d $(abs_top_srcdir)/../"$$pkg"/"$$pkg"; then \
(cd $(abs_top_builddir)/CLHEP; mkdir $$pkg; cd $$pkg; \
hdrs=`ls $(abs_top_srcdir)/../$$pkg/$$pkg`; \
for hdr in $$hdrs; do $(LN_S) $(abs_top_srcdir)/../$$pkg/$$pkg/$$hdr $$hdr; done; \
if test -f $(abs_top_builddir)/../"$$pkg"/"$$pkg"/defs.h; then $(LN_S) $(abs_top_builddir)/../$$pkg/$$pkg/defs.h defs.h; fi; \
if test -f $(abs_top_builddir)/"$$pkg"/defs.h && test ! -e defs.h ; then $(LN_S) $(abs_top_builddir)/$$pkg/defs.h defs.h; fi); \
fi; done
cd $(top_builddir); linktree=`pwd`; \
cd $(abs_top_builddir); \
if test -n $(CLHEPSOURCE_DIR) && test -d $(CLHEPSOURCE_DIR)/CLHEP; then \
(list=`ls $(CLHEPSOURCE_DIR)/CLHEP`; \
for pkg in $$list; do cd $$linktree/CLHEP; \
for pkg in $$list; do cd $(abs_top_builddir)/CLHEP; \
if test -d $(CLHEPSOURCE_DIR)/CLHEP/"$$pkg"/"$$pkg" && test ! -d "$$pkg"; then \
(mkdir $$pkg; cd $$pkg; \
hdrs=`ls $(CLHEPSOURCE_DIR)/CLHEP/$$pkg/$$pkg`; \
for hdr in $$hdrs; do $(LN_S) $(CLHEPSOURCE_DIR)/CLHEP/$$pkg/$$pkg/$$hdr $$hdr; done); \
fi; done); fi
cd $(top_builddir); linktree=`pwd`; \
cd $(abs_top_builddir); \
if test -n $(CLHEP_DIR) && test -d $(CLHEP_DIR)/CLHEP; then \
(list=`ls $(CLHEP_DIR)/CLHEP`; \
for pkg in $$list; do cd $$linktree/CLHEP; \
for pkg in $$list; do cd $(abs_top_builddir)/CLHEP; \
if test -d $(CLHEP_DIR)/CLHEP/"$$pkg"/"$$pkg" && test ! -d "$$pkg"; then \
(mkdir $$pkg; cd $$pkg; \
hdrs=`ls $(CLHEP_DIR)/CLHEP/$$pkg/$$pkg`; \
......
......@@ -12,31 +12,35 @@ all-local: $(top_builddir)/CLHEP
# 1. $(top_srcdir)/..
# 2. $(CLHEPSOURCE_DIR)/CLHEP
# 3. $(CLHEP_DIR)/CLHEP
#
# abs_ => absolute path
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
$(top_builddir)/CLHEP:
mkdir $(top_builddir)/CLHEP; linktree=`pwd`; \
cd $(top_srcdir)/..; linksource=`pwd`; \
list=`ls $$linksource`; \
mkdir $(top_builddir)/CLHEP;
cd $(abs_top_builddir); list=`ls $(abs_top_srcdir)/..`; \
for pkg in $$list; do \
if test -d "$$linksource"/"$$pkg"/"$$pkg"; then \
(cd $$linktree/CLHEP; mkdir $$pkg; cd $$pkg; \
hdrs=`ls $$linksource/$$pkg/$$pkg`; \
for hdr in $$hdrs; do $(LN_S) $$linksource/$$pkg/$$pkg/$$hdr $$hdr; done; \
if test -f "$$linktree"/../"$$pkg"/"$$pkg"/defs.h; then $(LN_S) $$linktree/../$$pkg/$$pkg/defs.h defs.h; fi; \
if test -f "$$linktree/$$pkg"/defs.h && test ! -e defs.h ; then $(LN_S) $$linktree/$$pkg/defs.h defs.h; fi); \
if test -d $(abs_top_srcdir)/../"$$pkg"/"$$pkg"; then \
(cd $(abs_top_builddir)/CLHEP; mkdir $$pkg; cd $$pkg; \
hdrs=`ls $(abs_top_srcdir)/../$$pkg/$$pkg`; \
for hdr in $$hdrs; do $(LN_S) $(abs_top_srcdir)/../$$pkg/$$pkg/$$hdr $$hdr; done; \
if test -f $(abs_top_builddir)/../"$$pkg"/"$$pkg"/defs.h; then $(LN_S) $(abs_top_builddir)/../$$pkg/$$pkg/defs.h defs.h; fi; \
if test -f $(abs_top_builddir)/"$$pkg"/defs.h && test ! -e defs.h ; then $(LN_S) $(abs_top_builddir)/$$pkg/defs.h defs.h; fi); \
fi; done
cd $(top_builddir); linktree=`pwd`; \
cd $(abs_top_builddir); \
if test -n $(CLHEPSOURCE_DIR) && test -d $(CLHEPSOURCE_DIR)/CLHEP; then \
(list=`ls $(CLHEPSOURCE_DIR)/CLHEP`; \
for pkg in $$list; do cd $$linktree/CLHEP; \
for pkg in $$list; do cd $(abs_top_builddir)/CLHEP; \
if test -d $(CLHEPSOURCE_DIR)/CLHEP/"$$pkg"/"$$pkg" && test ! -d "$$pkg"; then \
(mkdir $$pkg; cd $$pkg; \
hdrs=`ls $(CLHEPSOURCE_DIR)/CLHEP/$$pkg/$$pkg`; \
for hdr in $$hdrs; do $(LN_S) $(CLHEPSOURCE_DIR)/CLHEP/$$pkg/$$pkg/$$hdr $$hdr; done); \
fi; done); fi
cd $(top_builddir); linktree=`pwd`; \
cd $(abs_top_builddir); \
if test -n $(CLHEP_DIR) && test -d $(CLHEP_DIR)/CLHEP; then \
(list=`ls $(CLHEP_DIR)/CLHEP`; \
for pkg in $$list; do cd $$linktree/CLHEP; \
for pkg in $$list; do cd $(abs_top_builddir)/CLHEP; \
if test -d $(CLHEP_DIR)/CLHEP/"$$pkg"/"$$pkg" && test ! -d "$$pkg"; then \
(mkdir $$pkg; cd $$pkg; \
hdrs=`ls $(CLHEP_DIR)/CLHEP/$$pkg/$$pkg`; \
......
......@@ -14,31 +14,35 @@ all-local: $(top_builddir)/CLHEP
# 1. $(top_srcdir)/..
# 2. $(CLHEPSOURCE_DIR)/CLHEP
# 3. $(CLHEP_DIR)/CLHEP
#
# abs_ => absolute path
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
$(top_builddir)/CLHEP:
mkdir $(top_builddir)/CLHEP; linktree=`pwd`; \
cd $(top_srcdir)/..; linksource=`pwd`; \
list=`ls $$linksource`; \
mkdir $(top_builddir)/CLHEP;
cd $(abs_top_builddir); list=`ls $(abs_top_srcdir)/..`; \
for pkg in $$list; do \
if test -d "$$linksource"/"$$pkg"/"$$pkg"; then \
(cd $$linktree/CLHEP; mkdir $$pkg; cd $$pkg; \
hdrs=`ls $$linksource/$$pkg/$$pkg`; \
for hdr in $$hdrs; do $(LN_S) $$linksource/$$pkg/$$pkg/$$hdr $$hdr; done; \
if test -f "$$linktree"/../"$$pkg"/"$$pkg"/defs.h; then $(LN_S) $$linktree/../$$pkg/$$pkg/defs.h defs.h; fi; \
if test -f "$$linktree/$$pkg"/defs.h && test ! -e defs.h ; then $(LN_S) $$linktree/$$pkg/defs.h defs.h; fi); \
if test -d $(abs_top_srcdir)/../"$$pkg"/"$$pkg"; then \
(cd $(abs_top_builddir)/CLHEP; mkdir $$pkg; cd $$pkg; \
hdrs=`ls $(abs_top_srcdir)/../$$pkg/$$pkg`; \
for hdr in $$hdrs; do $(LN_S) $(abs_top_srcdir)/../$$pkg/$$pkg/$$hdr $$hdr; done; \
if test -f $(abs_top_builddir)/../"$$pkg"/"$$pkg"/defs.h; then $(LN_S) $(abs_top_builddir)/../$$pkg/$$pkg/defs.h defs.h; fi; \
if test -f $(abs_top_builddir)/"$$pkg"/defs.h && test ! -e defs.h ; then $(LN_S) $(abs_top_builddir)/$$pkg/defs.h defs.h; fi); \
fi; done
cd $(top_builddir); linktree=`pwd`; \
cd $(abs_top_builddir); \
if test -n $(CLHEPSOURCE_DIR) && test -d $(CLHEPSOURCE_DIR)/CLHEP; then \
(list=`ls $(CLHEPSOURCE_DIR)/CLHEP`; \
for pkg in $$list; do cd $$linktree/CLHEP; \
for pkg in $$list; do cd $(abs_top_builddir)/CLHEP; \
if test -d $(CLHEPSOURCE_DIR)/CLHEP/"$$pkg"/"$$pkg" && test ! -d "$$pkg"; then \
(mkdir $$pkg; cd $$pkg; \
hdrs=`ls $(CLHEPSOURCE_DIR)/CLHEP/$$pkg/$$pkg`; \
for hdr in $$hdrs; do $(LN_S) $(CLHEPSOURCE_DIR)/CLHEP/$$pkg/$$pkg/$$hdr $$hdr; done); \
fi; done); fi
cd $(top_builddir); linktree=`pwd`; \
cd $(abs_top_builddir); \
if test -n $(CLHEP_DIR) && test -d $(CLHEP_DIR)/CLHEP; then \
(list=`ls $(CLHEP_DIR)/CLHEP`; \
for pkg in $$list; do cd $$linktree/CLHEP; \
for pkg in $$list; do cd $(abs_top_builddir)/CLHEP; \
if test -d $(CLHEP_DIR)/CLHEP/"$$pkg"/"$$pkg" && test ! -d "$$pkg"; then \
(mkdir $$pkg; cd $$pkg; \
hdrs=`ls $(CLHEP_DIR)/CLHEP/$$pkg/$$pkg`; \
......
......@@ -14,31 +14,35 @@ all-local: $(top_builddir)/CLHEP
# 1. $(top_srcdir)/..
# 2. $(CLHEPSOURCE_DIR)/CLHEP
# 3. $(CLHEP_DIR)/CLHEP
#
# abs_ => absolute path
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
$(top_builddir)/CLHEP:
mkdir $(top_builddir)/CLHEP; linktree=`pwd`; \
cd $(top_srcdir)/..; linksource=`pwd`; \
list=`ls $$linksource`; \
mkdir $(top_builddir)/CLHEP;
cd $(abs_top_builddir); list=`ls $(abs_top_srcdir)/..`; \
for pkg in $$list; do \
if test -d "$$linksource"/"$$pkg"/"$$pkg"; then \
(cd $$linktree/CLHEP; mkdir $$pkg; cd $$pkg; \
hdrs=`ls $$linksource/$$pkg/$$pkg`; \
for hdr in $$hdrs; do $(LN_S) $$linksource/$$pkg/$$pkg/$$hdr $$hdr; done; \
if test -f "$$linktree"/../"$$pkg"/"$$pkg"/defs.h; then $(LN_S) $$linktree/../$$pkg/$$pkg/defs.h defs.h; fi; \
if test -f "$$linktree/$$pkg"/defs.h && test ! -e defs.h ; then $(LN_S) $$linktree/$$pkg/defs.h defs.h; fi); \
if test -d $(abs_top_srcdir)/../"$$pkg"/"$$pkg"; then \
(cd $(abs_top_builddir)/CLHEP; mkdir $$pkg; cd $$pkg; \
hdrs=`ls $(abs_top_srcdir)/../$$pkg/$$pkg`; \
for hdr in $$hdrs; do $(LN_S) $(abs_top_srcdir)/../$$pkg/$$pkg/$$hdr $$hdr; done; \
if test -f $(abs_top_builddir)/../"$$pkg"/"$$pkg"/defs.h; then $(LN_S) $(abs_top_builddir)/../$$pkg/$$pkg/defs.h defs.h; fi; \
if test -f $(abs_top_builddir)/"$$pkg"/defs.h && test ! -e defs.h ; then $(LN_S) $(abs_top_builddir)/$$pkg/defs.h defs.h; fi); \
fi; done
cd $(top_builddir); linktree=`pwd`; \
cd $(abs_top_builddir); \
if test -n $(CLHEPSOURCE_DIR) && test -d $(CLHEPSOURCE_DIR)/CLHEP; then \
(list=`ls $(CLHEPSOURCE_DIR)/CLHEP`; \
for pkg in $$list; do cd $$linktree/CLHEP; \
for pkg in $$list; do cd $(abs_top_builddir)/CLHEP; \
if test -d $(CLHEPSOURCE_DIR)/CLHEP/"$$pkg"/"$$pkg" && test ! -d "$$pkg"; then \
(mkdir $$pkg; cd $$pkg; \
hdrs=`ls $(CLHEPSOURCE_DIR)/CLHEP/$$pkg/$$pkg`; \
for hdr in $$hdrs; do $(LN_S) $(CLHEPSOURCE_DIR)/CLHEP/$$pkg/$$pkg/$$hdr $$hdr; done); \
fi; done); fi
cd $(top_builddir); linktree=`pwd`; \
cd $(abs_top_builddir); \
if test -n $(CLHEP_DIR) && test -d $(CLHEP_DIR)/CLHEP; then \
(list=`ls $(CLHEP_DIR)/CLHEP`; \
for pkg in $$list; do cd $$linktree/CLHEP; \
for pkg in $$list; do cd $(abs_top_builddir)/CLHEP; \
if test -d $(CLHEP_DIR)/CLHEP/"$$pkg"/"$$pkg" && test ! -d "$$pkg"; then \
(mkdir $$pkg; cd $$pkg; \
hdrs=`ls $(CLHEP_DIR)/CLHEP/$$pkg/$$pkg`; \
......
......@@ -12,31 +12,35 @@ all-local: $(top_builddir)/CLHEP
# 1. $(top_srcdir)/..
# 2. $(CLHEPSOURCE_DIR)/CLHEP
# 3. $(CLHEP_DIR)/CLHEP
#
# abs_ => absolute path
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
$(top_builddir)/CLHEP:
mkdir $(top_builddir)/CLHEP; linktree=`pwd`; \
cd $(top_srcdir)/..; linksource=`pwd`; \
list=`ls $$linksource`; \
mkdir $(top_builddir)/CLHEP;
cd $(abs_top_builddir); list=`ls $(abs_top_srcdir)/..`; \
for pkg in $$list; do \
if test -d "$$linksource"/"$$pkg"/"$$pkg"; then \
(cd $$linktree/CLHEP; mkdir $$pkg; cd $$pkg; \
hdrs=`ls $$linksource/$$pkg/$$pkg`; \
for hdr in $$hdrs; do $(LN_S) $$linksource/$$pkg/$$pkg/$$hdr $$hdr; done; \
if test -f "$$linktree"/../"$$pkg"/"$$pkg"/defs.h; then $(LN_S) $$linktree/../$$pkg/$$pkg/defs.h defs.h; fi; \
if test -f "$$linktree/$$pkg"/defs.h && test ! -e defs.h ; then $(LN_S) $$linktree/$$pkg/defs.h defs.h; fi); \
if test -d $(abs_top_srcdir)/../"$$pkg"/"$$pkg"; then \
(cd $(abs_top_builddir)/CLHEP; mkdir $$pkg; cd $$pkg; \
hdrs=`ls $(abs_top_srcdir)/../$$pkg/$$pkg`; \
for hdr in $$hdrs; do $(LN_S) $(abs_top_srcdir)/../$$pkg/$$pkg/$$hdr $$hdr; done; \
if test -f $(abs_top_builddir)/../"$$pkg"/"$$pkg"/defs.h; then $(LN_S) $(abs_top_builddir)/../$$pkg/$$pkg/defs.h defs.h; fi; \
if test -f $(abs_top_builddir)/"$$pkg"/defs.h && test ! -e defs.h ; then $(LN_S) $(abs_top_builddir)/$$pkg/defs.h defs.h; fi); \
fi; done
cd $(top_builddir); linktree=`pwd`; \
cd $(abs_top_builddir); \
if test -n $(CLHEPSOURCE_DIR) && test -d $(CLHEPSOURCE_DIR)/CLHEP; then \
(list=`ls $(CLHEPSOURCE_DIR)/CLHEP`; \
for pkg in $$list; do cd $$linktree/CLHEP; \
for pkg in $$list; do cd $(abs_top_builddir)/CLHEP; \
if test -d $(CLHEPSOURCE_DIR)/CLHEP/"$$pkg"/"$$pkg" && test ! -d "$$pkg"; then \
(mkdir $$pkg; cd $$pkg; \
hdrs=`ls $(CLHEPSOURCE_DIR)/CLHEP/$$pkg/$$pkg`; \
for hdr in $$hdrs; do $(LN_S) $(CLHEPSOURCE_DIR)/CLHEP/$$pkg/$$pkg/$$hdr $$hdr; done); \
fi; done); fi
cd $(top_builddir); linktree=`pwd`; \
cd $(abs_top_builddir); \
if test -n $(CLHEP_DIR) && test -d $(CLHEP_DIR)/CLHEP; then \
(list=`ls $(CLHEP_DIR)/CLHEP`; \
for pkg in $$list; do cd $$linktree/CLHEP; \
for pkg in $$list; do cd $(abs_top_builddir)/CLHEP; \
if test -d $(CLHEP_DIR)/CLHEP/"$$pkg"/"$$pkg" && test ! -d "$$pkg"; then \
(mkdir $$pkg; cd $$pkg; \
hdrs=`ls $(CLHEP_DIR)/CLHEP/$$pkg/$$pkg`; \
......
......@@ -14,31 +14,35 @@ all-local: $(top_builddir)/CLHEP
# 1. $(top_srcdir)/..
# 2. $(CLHEPSOURCE_DIR)/CLHEP
# 3. $(CLHEP_DIR)/CLHEP
#
# abs_ => absolute path
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
$(top_builddir)/CLHEP:
mkdir $(top_builddir)/CLHEP; linktree=`pwd`; \
cd $(top_srcdir)/..; linksource=`pwd`; \
list=`ls $$linksource`; \
mkdir $(top_builddir)/CLHEP;
cd $(abs_top_builddir); list=`ls $(abs_top_srcdir)/..`; \
for pkg in $$list; do \
if test -d "$$linksource"/"$$pkg"/"$$pkg"; then \
(cd $$linktree/CLHEP; mkdir $$pkg; cd $$pkg; \
hdrs=`ls $$linksource/$$pkg/$$pkg`; \
for hdr in $$hdrs; do $(LN_S) $$linksource/$$pkg/$$pkg/$$hdr $$hdr; done; \
if test -f "$$linktree"/../"$$pkg"/"$$pkg"/defs.h; then $(LN_S) $$linktree/../$$pkg/$$pkg/defs.h defs.h; fi; \
if test -f "$$linktree/$$pkg"/defs.h && test ! -e defs.h ; then $(LN_S) $$linktree/$$pkg/defs.h defs.h; fi); \
if test -d $(abs_top_srcdir)/../"$$pkg"/"$$pkg"; then \
(cd $(abs_top_builddir)/CLHEP; mkdir $$pkg; cd $$pkg; \
hdrs=`ls $(abs_top_srcdir)/../$$pkg/$$pkg`; \
for hdr in $$hdrs; do $(LN_S) $(abs_top_srcdir)/../$$pkg/$$pkg/$$hdr $$hdr; done; \
if test -f $(abs_top_builddir)/../"$$pkg"/"$$pkg"/defs.h; then $(LN_S) $(abs_top_builddir)/../$$pkg/$$pkg/defs.h defs.h; fi; \
if test -f $(abs_top_builddir)/"$$pkg"/defs.h && test ! -e defs.h ; then $(LN_S) $(abs_top_builddir)/$$pkg/defs.h defs.h; fi); \
fi; done
cd $(top_builddir); linktree=`pwd`; \
cd $(abs_top_builddir); \
if test -n $(CLHEPSOURCE_DIR) && test -d $(CLHEPSOURCE_DIR)/CLHEP; then \
(list=`ls $(CLHEPSOURCE_DIR)/CLHEP`; \
for pkg in $$list; do cd $$linktree/CLHEP; \
for pkg in $$list; do cd $(abs_top_builddir)/CLHEP; \
if test -d $(CLHEPSOURCE_DIR)/CLHEP/"$$pkg"/"$$pkg" && test ! -d "$$pkg"; then \
(mkdir $$pkg; cd $$pkg; \
hdrs=`ls $(CLHEPSOURCE_DIR)/CLHEP/$$pkg/$$pkg`; \
for hdr in $$hdrs; do $(LN_S) $(CLHEPSOURCE_DIR)/CLHEP/$$pkg/$$pkg/$$hdr $$hdr; done); \
fi; done); fi
cd $(top_builddir); linktree=`pwd`; \
cd $(abs_top_builddir); \
if test -n $(CLHEP_DIR) && test -d $(CLHEP_DIR)/CLHEP; then \
(list=`ls $(CLHEP_DIR)/CLHEP`; \
for pkg in $$list; do cd $$linktree/CLHEP; \
for pkg in $$list; do cd $(abs_top_builddir)/CLHEP; \
if test -d $(CLHEP_DIR)/CLHEP/"$$pkg"/"$$pkg" && test ! -d "$$pkg"; then \
(mkdir $$pkg; cd $$pkg; \
hdrs=`ls $(CLHEP_DIR)/CLHEP/$$pkg/$$pkg`; \
......
......@@ -12,31 +12,35 @@ all-local: $(top_builddir)/CLHEP
# 1. $(top_srcdir)/..
# 2. $(CLHEPSOURCE_DIR)/CLHEP
# 3. $(CLHEP_DIR)/CLHEP
#
# abs_ => absolute path
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
$(top_builddir)/CLHEP:
mkdir $(top_builddir)/CLHEP; linktree=`pwd`; \
cd $(top_srcdir)/..; linksource=`pwd`; \
list=`ls $$linksource`; \
mkdir $(top_builddir)/CLHEP;
cd $(abs_top_builddir); list=`ls $(abs_top_srcdir)/..`; \
for pkg in $$list; do \
if test -d "$$linksource"/"$$pkg"/"$$pkg"; then \
(cd $$linktree/CLHEP; mkdir $$pkg; cd $$pkg; \
hdrs=`ls $$linksource/$$pkg/$$pkg`; \
for hdr in $$hdrs; do $(LN_S) $$linksource/$$pkg/$$pkg/$$hdr $$hdr; done; \
if test -f "$$linktree"/../"$$pkg"/"$$pkg"/defs.h; then $(LN_S) $$linktree/../$$pkg/$$pkg/defs.h defs.h; fi; \
if test -f "$$linktree/$$pkg"/defs.h && test ! -e defs.h ; then $(LN_S) $$linktree/$$pkg/defs.h defs.h; fi); \
if test -d $(abs_top_srcdir)/../"$$pkg"/"$$pkg"; then \
(cd $(abs_top_builddir)/CLHEP; mkdir $$pkg; cd $$pkg; \
hdrs=`ls $(abs_top_srcdir)/../$$pkg/$$pkg`; \
for hdr in $$hdrs; do $(LN_S) $(abs_top_srcdir)/../$$pkg/$$pkg/$$hdr $$hdr; done; \
if test -f $(abs_top_builddir)/../"$$pkg"/"$$pkg"/defs.h; then $(LN_S) $(abs_top_builddir)/../$$pkg/$$pkg/defs.h defs.h; fi; \
if test -f $(abs_top_builddir)/"$$pkg"/defs.h && test ! -e defs.h ; then $(LN_S) $(abs_top_builddir)/$$pkg/defs.h defs.h; fi); \
fi; done
cd $(top_builddir); linktree=`pwd`; \
cd $(abs_top_builddir); \
if test -n $(CLHEPSOURCE_DIR) && test -d $(CLHEPSOURCE_DIR)/CLHEP; then \
(list=`ls $(CLHEPSOURCE_DIR)/CLHEP`; \
for pkg in $$list; do cd $$linktree/CLHEP; \
for pkg in $$list; do cd $(abs_top_builddir)/CLHEP; \
if test -d $(CLHEPSOURCE_DIR)/CLHEP/"$$pkg"/"$$pkg" && test ! -d "$$pkg"; then \
(mkdir $$pkg; cd $$pkg; \
hdrs=`ls $(CLHEPSOURCE_DIR)/CLHEP/$$pkg/$$pkg`; \
for hdr in $$hdrs; do $(LN_S) $(CLHEPSOURCE_DIR)/CLHEP/$$pkg/$$pkg/$$hdr $$hdr; done); \
fi; done); fi
cd $(top_builddir); linktree=`pwd`; \
cd $(abs_top_builddir); \
if test -n $(CLHEP_DIR) && test -d $(CLHEP_DIR)/CLHEP; then \
(list=`ls $(CLHEP_DIR)/CLHEP`; \
for pkg in $$list; do cd $$linktree/CLHEP; \
for pkg in $$list; do cd $(abs_top_builddir)/CLHEP; \
if test -d $(CLHEP_DIR)/CLHEP/"$$pkg"/"$$pkg" && test ! -d "$$pkg"; then \
(mkdir $$pkg; cd $$pkg; \
hdrs=`ls $(CLHEP_DIR)/CLHEP/$$pkg/$$pkg`; \
......
......@@ -15,31 +15,35 @@ all-local: $(top_builddir)/CLHEP
# 1. $(top_srcdir)/..
# 2. $(CLHEPSOURCE_DIR)/CLHEP
# 3. $(CLHEP_DIR)/CLHEP
#
# abs_ => absolute path
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
$(top_builddir)/CLHEP:
mkdir $(top_builddir)/CLHEP; linktree=`pwd`; \
cd $(top_srcdir)/..; linksource=`pwd`; \
list=`ls $$linksource`; \
mkdir $(top_builddir)/CLHEP;
cd $(abs_top_builddir); list=`ls $(abs_top_srcdir)/..`; \
for pkg in $$list; do \
if test -d "$$linksource"/"$$pkg"/"$$pkg"; then \
(cd $$linktree/CLHEP; mkdir $$pkg; cd $$pkg; \
hdrs=`ls $$linksource/$$pkg/$$pkg`; \
for hdr in $$hdrs; do $(LN_S) $$linksource/$$pkg/$$pkg/$$hdr $$hdr; done; \
if test -f "$$linktree"/../"$$pkg"/"$$pkg"/defs.h; then $(LN_S) $$linktree/../$$pkg/$$pkg/defs.h defs.h; fi; \
if test -f "$$linktree/$$pkg"/defs.h && test ! -e defs.h ; then $(LN_S) $$linktree/$$pkg/defs.h defs.h; fi); \
if test -d $(abs_top_srcdir)/../"$$pkg"/"$$pkg"; then \
(cd $(abs_top_builddir)/CLHEP; mkdir $$pkg; cd $$pkg; \
hdrs=`ls $(abs_top_srcdir)/../$$pkg/$$pkg`; \
for hdr in $$hdrs; do $(LN_S) $(abs_top_srcdir)/../$$pkg/$$pkg/$$hdr $$hdr; done; \
if test -f $(abs_top_builddir)/../"$$pkg"/"$$pkg"/defs.h; then $(LN_S) $(abs_top_builddir)/../$$pkg/$$pkg/defs.h defs.h; fi; \
if test -f $(abs_top_builddir)/"$$pkg"/defs.h && test ! -e defs.h ; then $(LN_S) $(abs_top_builddir)/$$pkg/defs.h defs.h; fi); \
fi; done
cd $(top_builddir); linktree=`pwd`; \
cd $(abs_top_builddir); \
if test -n $(CLHEPSOURCE_DIR) && test -d $(CLHEPSOURCE_DIR)/CLHEP; then \
(list=`ls $(CLHEPSOURCE_DIR)/CLHEP`; \
for pkg in $$list; do cd $$linktree/CLHEP; \
for pkg in $$list; do cd $(abs_top_builddir)/CLHEP; \
if test -d $(CLHEPSOURCE_DIR)/CLHEP/"$$pkg"/"$$pkg" && test ! -d "$$pkg"; then \
(mkdir $$pkg; cd $$pkg; \
hdrs=`ls $(CLHEPSOURCE_DIR)/CLHEP/$$pkg/$$pkg`; \
for hdr in $$hdrs; do $(LN_S) $(CLHEPSOURCE_DIR)/CLHEP/$$pkg/$$pkg/$$hdr $$hdr; done); \
fi; done); fi
cd $(top_builddir); linktree=`pwd`; \
cd $(abs_top_builddir); \
if test -n $(CLHEP_DIR) && test -d $(CLHEP_DIR)/CLHEP; then \
(list=`ls $(CLHEP_DIR)/CLHEP`; \
for pkg in $$list; do cd $$linktree/CLHEP; \
for pkg in $$list; do cd $(abs_top_builddir)/CLHEP; \
if test -d $(CLHEP_DIR)/CLHEP/"$$pkg"/"$$pkg" && test ! -d "$$pkg"; then \
(mkdir $$pkg; cd $$pkg; \
hdrs=`ls $(CLHEP_DIR)/CLHEP/$$pkg/$$pkg`; \
......
......@@ -14,31 +14,35 @@ all-local: $(top_builddir)/CLHEP
# 1. $(top_srcdir)/..
# 2. $(CLHEPSOURCE_DIR)/CLHEP
# 3. $(CLHEP_DIR)/CLHEP
#
# abs_ => absolute path
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
$(top_builddir)/CLHEP:
mkdir $(top_builddir)/CLHEP; linktree=`pwd`; \
cd $(top_srcdir)/..; linksource=`pwd`; \
list=`ls $$linksource`; \
mkdir $(top_builddir)/CLHEP;
cd $(abs_top_builddir); list=`ls $(abs_top_srcdir)/..`; \
for pkg in $$list; do \
if test -d "$$linksource"/"$$pkg"/"$$pkg"; then \
(cd $$linktree/CLHEP; mkdir $$pkg; cd $$pkg; \
hdrs=`ls $$linksource/$$pkg/$$pkg`; \
for hdr in $$hdrs; do $(LN_S) $$linksource/$$pkg/$$pkg/$$hdr $$hdr; done; \
if test -f "$$linktree"/../"$$pkg"/"$$pkg"/defs.h; then $(LN_S) $$linktree/../$$pkg/$$pkg/defs.h defs.h; fi; \
if test -f "$$linktree/$$pkg"/defs.h && test ! -e defs.h ; then $(LN_S) $$linktree/$$pkg/defs.h defs.h; fi); \
if test -d $(abs_top_srcdir)/../"$$pkg"/"$$pkg"; then \
(cd $(abs_top_builddir)/CLHEP; mkdir $$pkg; cd $$pkg; \
hdrs=`ls $(abs_top_srcdir)/../$$pkg/$$pkg`; \
for hdr in $$hdrs; do $(LN_S) $(abs_top_srcdir)/../$$pkg/$$pkg/$$hdr $$hdr; done; \
if test -f $(abs_top_builddir)/../"$$pkg"/"$$pkg"/defs.h; then $(LN_S) $(abs_top_builddir)/../$$pkg/$$pkg/defs.h defs.h; fi; \
if test -f $(abs_top_builddir)/"$$pkg"/defs.h && test ! -e defs.h ; then $(LN_S) $(abs_top_builddir)/$$pkg/defs.h defs.h; fi); \
fi; done
cd $(top_builddir); linktree=`pwd`; \
cd $(abs_top_builddir); \
if test -n $(CLHEPSOURCE_DIR) && test -d $(CLHEPSOURCE_DIR)/CLHEP; then \
(list=`ls $(CLHEPSOURCE_DIR)/CLHEP`; \
for pkg in $$list; do cd $$linktree/CLHEP; \
for pkg in $$list; do cd $(abs_top_builddir)/CLHEP; \
if test -d $(CLHEPSOURCE_DIR)/CLHEP/"$$pkg"/"$$pkg" && test ! -d "$$pkg"; then \
(mkdir $$pkg; cd $$pkg; \
hdrs=`ls $(CLHEPSOURCE_DIR)/CLHEP/$$pkg/$$pkg`; \
for hdr in $$hdrs; do $(LN_S) $(CLHEPSOURCE_DIR)/CLHEP/$$pkg/$$pkg/$$hdr $$hdr; done); \
fi; done); fi
cd $(top_builddir); linktree=`pwd`; \
cd $(abs_top_builddir); \
if test -n $(CLHEP_DIR) && test -d $(CLHEP_DIR)/CLHEP; then \
(list=`ls $(CLHEP_DIR)/CLHEP`; \
for pkg in $$list; do cd $$linktree/CLHEP; \
for pkg in $$list; do cd $(abs_top_builddir)/CLHEP; \
if test -d $(CLHEP_DIR)/CLHEP/"$$pkg"/"$$pkg" && test ! -d "$$pkg"; then \
(mkdir $$pkg; cd $$pkg; \
hdrs=`ls $(CLHEP_DIR)/CLHEP/$$pkg/$$pkg`; \
......
......@@ -16,31 +16,35 @@ all-local: $(top_builddir)/CLHEP
# 1. $(top_srcdir)/..
# 2. $(CLHEPSOURCE_DIR)/CLHEP
# 3. $(CLHEP_DIR)/CLHEP
#
# abs_ => absolute path
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
$(top_builddir)/CLHEP:
mkdir $(top_builddir)/CLHEP; linktree=`pwd`; \
cd $(top_srcdir)/..; linksource=`pwd`; \
list=`ls $$linksource`; \
mkdir $(top_builddir)/CLHEP;
cd $(abs_top_builddir); list=`ls $(abs_top_srcdir)/..`; \
for pkg in $$list; do \
if test -d "$$linksource"/"$$pkg"/"$$pkg"; then \
(cd $$linktree/CLHEP; mkdir $$pkg; cd $$pkg; \
hdrs=`ls $$linksource/$$pkg/$$pkg`; \
for hdr in $$hdrs; do $(LN_S) $$linksource/$$pkg/$$pkg/$$hdr $$hdr; done; \
if test -f "$$linktree"/../"$$pkg"/"$$pkg"/defs.h; then $(LN_S) $$linktree/../$$pkg/$$pkg/defs.h defs.h; fi; \
if test -f "$$linktree/$$pkg"/defs.h && test ! -e defs.h ; then $(LN_S) $$linktree/$$pkg/defs.h defs.h; fi); \
if test -d $(abs_top_srcdir)/../"$$pkg"/"$$pkg"; then \
(cd $(abs_top_builddir)/CLHEP; mkdir $$pkg; cd $$pkg; \
hdrs=`ls $(abs_top_srcdir)/../$$pkg/$$pkg`; \
for hdr in $$hdrs; do $(LN_S) $(abs_top_srcdir)/../$$pkg/$$pkg/$$hdr $$hdr; done; \
if test -f $(abs_top_builddir)/../"$$pkg"/"$$pkg"/defs.h; then $(LN_S) $(abs_top_builddir)/../$$pkg/$$pkg/defs.h defs.h; fi; \
if test -f $(abs_top_builddir)/"$$pkg"/defs.h && test ! -e defs.h ; then $(LN_S) $(abs_top_builddir)/$$pkg/defs.h defs.h; fi); \
fi; done
cd $(top_builddir); linktree=`pwd`; \
cd $(abs_top_builddir); \
if test -n $(CLHEPSOURCE_DIR) && test -d $(CLHEPSOURCE_DIR)/CLHEP; then \
(list=`ls $(CLHEPSOURCE_DIR)/CLHEP`; \
for pkg in $$list; do cd $$linktree/CLHEP; \
for pkg in $$list; do cd $(abs_top_builddir)/CLHEP; \
if test -d $(CLHEPSOURCE_DIR)/CLHEP/"$$pkg"/"$$pkg" && test ! -d "$$pkg"; then \
(mkdir $$pkg; cd $$pkg; \
hdrs=`ls $(CLHEPSOURCE_DIR)/CLHEP/$$pkg/$$pkg`; \
for hdr in $$hdrs; do $(LN_S) $(CLHEPSOURCE_DIR)/CLHEP/$$pkg/$$pkg/$$hdr $$hdr; done); \
fi; done); fi
cd $(top_builddir); linktree=`pwd`; \
cd $(abs_top_builddir); \
if test -n $(CLHEP_DIR) && test -d $(CLHEP_DIR)/CLHEP; then \
(list=`ls $(CLHEP_DIR)/CLHEP`; \
for pkg in $$list; do cd $$linktree/CLHEP; \
for pkg in $$list; do cd $(abs_top_builddir)/CLHEP; \
if test -d $(CLHEP_DIR)/CLHEP/"$$pkg"/"$$pkg" && test ! -d "$$pkg"; then \
(mkdir $$pkg; cd $$pkg; \
hdrs=`ls $(CLHEP_DIR)/CLHEP/$$pkg/$$pkg`; \
......
Supports Markdown
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