SimDist/packages/clhep
diff -u -r1.4 -r1.5
--- Makefile.in 26 Jun 2006 23:56:42 -0000 1.4
+++ Makefile.in 24 Sep 2007 22:01:22 -0000 1.5
@@ -1,7 +1,16 @@
-# $Header: /cvs/lcd/SimDist/packages/clhep/Makefile.in,v 1.4 2006/06/26 23:56:42 jeremy Exp $
+# $Header: /cvs/lcd/SimDist/packages/clhep/Makefile.in,v 1.5 2007/09/24 22:01:22 jeremy Exp $
# generic package targets
include ../../build/package.gmk
# default rule
-all: packageinfo download config compile install
+all: packageinfo download config compile install liblink
+
+# Make a symlink to the library, i.e. when using an older CLHEP version.
+liblink:
+ @lib=$(PACKAGE_BASEDIR)/lib/libCLHEP-g++*.*; \
+ if test -e $$lib; then \
+ if ! test -e libCLHEP.a; then \
+ cd $(PACKAGE_BASEDIR)/lib && ln -s $$lib libCLHEP.a; \
+ fi; \
+ fi
\ No newline at end of file