From 677523aa6b3f3677c48a4e08f4a8032db39b94d2 Mon Sep 17 00:00:00 2001 From: bergamaschi Date: Fri, 28 Jan 2011 14:47:12 +0000 Subject: [PATCH] libs not copied to bin directory git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@25 951219d9-93cf-4727-9268-0efd64621fa3 --- slsDetectorSoftware/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/slsDetectorSoftware/Makefile b/slsDetectorSoftware/Makefile index 4781f8815..9b9683473 100644 --- a/slsDetectorSoftware/Makefile +++ b/slsDetectorSoftware/Makefile @@ -37,9 +37,9 @@ package: $(SRC_CLNT) $(CXX) -fPIC -g -o objs/mythenDetector.o -c -Wall mythenDetector/mythenDetector.cpp $(INCLUDES) $(FLAGS) $(CXX) -fPIC -g -o objs/usersFunctions.o -c -Wall usersFunctions/usersFunctions.c $(INCLUDES) $(FLAGS) $(CXX) -fPIC -g -o objs/MySocketTCP.o -c -Wall MySocketTCP/MySocketTCP.cxx $(INCLUDES) $(FLAGS) - $(CXX) -shared -Wl,-soname,libSlsDetector.so.1 -o bin/libSlsDetector.so.1.0.1 objs/slsDetector.o objs/mythenDetector.o objs/usersFunctions.o objs/MySocketTCP.o -lc $(INCLUDES) $(FLAGS) - cd bin && ln -sf libSlsDetector.so.1.0.1 libSlsDetector.so - ar rcs bin/libSlsDetector.a objs/slsDetector.o objs/mythenDetector.o objs/usersFunctions.o objs/MySocketTCP.o + $(CXX) -shared -Wl,-soname,libSlsDetector.so.1 -o libSlsDetector.so.1.0.1 objs/slsDetector.o objs/mythenDetector.o objs/usersFunctions.o objs/MySocketTCP.o -lc $(INCLUDES) $(FLAGS) + ln -sf libSlsDetector.so.1.0.1 libSlsDetector.so + ar rcs libSlsDetector.a objs/slsDetector.o objs/mythenDetector.o objs/usersFunctions.o objs/MySocketTCP.o clean: rm -rf bin/* core objs/* docs/* @@ -51,7 +51,7 @@ lib: package # added install target, HBl install_lib: lib $(shell test -d $(DESTDIR) || mkdir -p $(DESTDIR)) - cp -P bin/* $(DESTDIR) + cp -P libSlsDetector.so.1.0.1 libSlsDetector.so $(DESTDIR) install_inc: $(shell test -d $(DESTDIR) || mkdir -p $(DESTDIR))