summaryrefslogtreecommitdiff
path: root/2.3-1/macros/findDeps/getAllLibraries.sci
diff options
context:
space:
mode:
Diffstat (limited to '2.3-1/macros/findDeps/getAllLibraries.sci')
-rw-r--r--2.3-1/macros/findDeps/getAllLibraries.sci86
1 files changed, 53 insertions, 33 deletions
diff --git a/2.3-1/macros/findDeps/getAllLibraries.sci b/2.3-1/macros/findDeps/getAllLibraries.sci
index 7ac9e5be..79698796 100644
--- a/2.3-1/macros/findDeps/getAllLibraries.sci
+++ b/2.3-1/macros/findDeps/getAllLibraries.sci
@@ -1,42 +1,62 @@
+// Copyright (C) 2016 - IIT Bombay - FOSSEE
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+// Organization: FOSSEE, IIT Bombay
+// Email: toolbox@scilab.in
+
function allLibraries = getAllLibraries(SharedInfo)
+// -----------------------------------------------------------------
+// Select library files according to target specified
+//
+// Input data:
+// scilab2c SharedInfo structure
+//
+// Output data:
+// returns an array containing file paths for libraries
+//
+// Author: Siddhesh Wani
+// -----------------------------------------------------------------
+
Target = SharedInfo.Target;
//Library files required for "RasberryPi" target
RPi_libs = [
- "src/c/hardware/rasberrypi/libraries/wiringPi/libwiringPi.so"
- "src/c/hardware/rasberrypi/libraries/libcblas.a"
- "src/c/hardware/rasberrypi/libraries/librefblas.a"
- "src/c/hardware/rasberrypi/libraries/liblapack.a"
- "src/c/hardware/rasberrypi/libraries/libgfortran.a"
- "src/c/hardware/rasberrypi/libraries/libgsl.a"
- ];
+ "thirdparty/raspberrypi/lib/libwiringPi.so"
+ "thirdparty/raspberrypi/lib/libcblas.a"
+ "thirdparty/raspberrypi/lib/librefblas.a"
+ "thirdparty/raspberrypi/lib/liblapack.a"
+ "thirdparty/raspberrypi/lib/libgfortran.a"
+ "thirdparty/raspberrypi/lib/libgsl.a"];
RPi_cvlibs = [
- "src/c/hardware/rasberrypi/libraries/opencv/libopencv_calib3d.a"
- "src/c/hardware/rasberrypi/libraries/opencv/libopencv_contrib.a"
- "src/c/hardware/rasberrypi/libraries/opencv/libopencv_core.a"
- "src/c/hardware/rasberrypi/libraries/opencv/libopencv_features2d.a"
- "src/c/hardware/rasberrypi/libraries/opencv/libopencv_flann.a"
- "src/c/hardware/rasberrypi/libraries/opencv/libopencv_gpu.a"
- "src/c/hardware/rasberrypi/libraries/opencv/libopencv_highgui.a"
- "src/c/hardware/rasberrypi/libraries/opencv/libopencv_imgproc.a"
- "src/c/hardware/rasberrypi/libraries/opencv/libopencv_legacy.a"
- "src/c/hardware/rasberrypi/libraries/opencv/libopencv_ml.a"
- "src/c/hardware/rasberrypi/libraries/opencv/libopencv_nonfree.a"
- "src/c/hardware/rasberrypi/libraries/opencv/libopencv_objdetect.a"
- "src/c/hardware/rasberrypi/libraries/opencv/libopencv_ocl.a"
- "src/c/hardware/rasberrypi/libraries/opencv/libopencv_photo.a"
- "src/c/hardware/rasberrypi/libraries/opencv/libopencv_stitching.a"
- "src/c/hardware/rasberrypi/libraries/opencv/libopencv_superres.a"
- "src/c/hardware/rasberrypi/libraries/opencv/libopencv_video.a"
- "src/c/hardware/rasberrypi/libraries/opencv/libopencv_videostab.a"
- "src/c/hardware/rasberrypi/libraries/opencv/libopencv_ts.a"
- "src/c/hardware/rasberrypi/libraries/libjpeg.a"
- "src/c/hardware/rasberrypi/libraries/libjasper.a"
- "src/c/hardware/rasberrypi/libraries/libpng.a"
- "src/c/hardware/rasberrypi/libraries/libIlmImf.a"
- "src/c/hardware/rasberrypi/libraries/libzlib.a"
- "src/c/hardware/rasberrypi/libraries/libtiff.a"
-];
+ "thirdparty/raspberrypi/lib/libopencv_calib3d.a"
+ "thirdparty/raspberrypi/lib/libopencv_contrib.a"
+ "thirdparty/raspberrypi/lib/libopencv_core.a"
+ "thirdparty/raspberrypi/lib/libopencv_features2d.a"
+ "thirdparty/raspberrypi/lib/libopencv_flann.a"
+ "thirdparty/raspberrypi/lib/libopencv_gpu.a"
+ "thirdparty/raspberrypi/lib/libopencv_highgui.a"
+ "thirdparty/raspberrypi/lib/libopencv_imgproc.a"
+ "thirdparty/raspberrypi/lib/libopencv_legacy.a"
+ "thirdparty/raspberrypi/lib/libopencv_ml.a"
+ "thirdparty/raspberrypi/lib/libopencv_nonfree.a"
+ "thirdparty/raspberrypi/lib/libopencv_objdetect.a"
+ "thirdparty/raspberrypi/lib/libopencv_ocl.a"
+ "thirdparty/raspberrypi/lib/libopencv_photo.a"
+ "thirdparty/raspberrypi/lib/libopencv_stitching.a"
+ "thirdparty/raspberrypi/lib/libopencv_superres.a"
+ "thirdparty/raspberrypi/lib/libopencv_video.a"
+ "thirdparty/raspberrypi/lib/libopencv_videostab.a"
+ "thirdparty/raspberrypi/lib/libopencv_ts.a"
+ "thirdparty/raspberrypi/lib/libjpeg.a"
+ "thirdparty/raspberrypi/lib/libjasper.a"
+ "thirdparty/raspberrypi/lib/libpng.a"
+ "thirdparty/raspberrypi/lib/libIlmImf.a"
+ "thirdparty/raspberrypi/lib/libzlib.a"
+ "thirdparty/raspberrypi/lib/libtiff.a"];
if Target == "RPi"
allLibraries = RPi_libs;