summaryrefslogtreecommitdiff
path: root/macros/findDeps
diff options
context:
space:
mode:
authorsiddhu89902017-04-19 11:56:09 +0530
committersiddhu89902017-04-19 11:56:09 +0530
commit453598b49cb3d4a62b1797dbc90f0e3dd4521329 (patch)
tree9d10176d0a4be5eb567ade03e1dd6172c77605e4 /macros/findDeps
parentaceeb1fe05a8ff6c126ea9ba166a19249488dbd1 (diff)
downloadScilab2C_fossee_old-453598b49cb3d4a62b1797dbc90f0e3dd4521329.tar.gz
Scilab2C_fossee_old-453598b49cb3d4a62b1797dbc90f0e3dd4521329.tar.bz2
Scilab2C_fossee_old-453598b49cb3d4a62b1797dbc90f0e3dd4521329.zip
Copyright message updated in added files and libraries separated in 'thirdparty' folder
Diffstat (limited to 'macros/findDeps')
-rw-r--r--macros/findDeps/getAllHeaders.binbin33872 -> 33768 bytes
-rw-r--r--macros/findDeps/getAllHeaders.sci6
-rw-r--r--macros/findDeps/getAllLibraries.binbin8928 -> 8648 bytes
-rw-r--r--macros/findDeps/getAllLibraries.sci86
-rw-r--r--macros/findDeps/getArduinoFiles.binbin772 -> 2036 bytes
-rw-r--r--macros/findDeps/getArduinoFiles.sci18
6 files changed, 70 insertions, 40 deletions
diff --git a/macros/findDeps/getAllHeaders.bin b/macros/findDeps/getAllHeaders.bin
index 8ba5545..bb5e9c8 100644
--- a/macros/findDeps/getAllHeaders.bin
+++ b/macros/findDeps/getAllHeaders.bin
Binary files differ
diff --git a/macros/findDeps/getAllHeaders.sci b/macros/findDeps/getAllHeaders.sci
index 50ee358..175c8dc 100644
--- a/macros/findDeps/getAllHeaders.sci
+++ b/macros/findDeps/getAllHeaders.sci
@@ -175,10 +175,10 @@ function allHeaders = getAllHeaders(SharedInfo)
"src/c/hardware/avr/includes/AVRPeripheralPWM.h"
"src/c/hardware/avr/includes/AVRUtil.h"
];
-
+
RPi_headers = [
- "src/c/hardware/rasberrypi/libraries/wiringPi/wiringPi.h"
- "src/c/hardware/rasberrypi/libraries/wiringPi/wiringSerial.h"
+ "thirdparty/raspberrypi/includes/wiringPi.h"
+ "thirdparty/raspberrypi/includes/wiringSerial.h"
"src/c/hardware/rasberrypi/includes/RPIPeripheralDigital.h"
"src/c/hardware/rasberrypi/includes/RPIPeripheralTiming.h"
"src/c/hardware/rasberrypi/includes/RPIPeripheralSerial.h"
diff --git a/macros/findDeps/getAllLibraries.bin b/macros/findDeps/getAllLibraries.bin
index 718e2b1..ca1db0c 100644
--- a/macros/findDeps/getAllLibraries.bin
+++ b/macros/findDeps/getAllLibraries.bin
Binary files differ
diff --git a/macros/findDeps/getAllLibraries.sci b/macros/findDeps/getAllLibraries.sci
index 7ac9e5b..7969879 100644
--- a/macros/findDeps/getAllLibraries.sci
+++ b/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;
diff --git a/macros/findDeps/getArduinoFiles.bin b/macros/findDeps/getArduinoFiles.bin
index 651b8f3..411018b 100644
--- a/macros/findDeps/getArduinoFiles.bin
+++ b/macros/findDeps/getArduinoFiles.bin
Binary files differ
diff --git a/macros/findDeps/getArduinoFiles.sci b/macros/findDeps/getArduinoFiles.sci
index 89033d0..aae8e50 100644
--- a/macros/findDeps/getArduinoFiles.sci
+++ b/macros/findDeps/getArduinoFiles.sci
@@ -1,16 +1,26 @@
-//
-// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-// Copyright (C) 2009-2009 - DIGITEO - Bruno JOFRET
+// 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 arduinoFiles = getArduinoFiles()
+// -----------------------------------------------------------------
+// Returns address of some default arduino files
//
+// Input data:
+// None
//
+// Output data:
+// Returns address of some default arduino files
+//
+// Author: Siddhesh Wani
+// -----------------------------------------------------------------
-function arduinoFiles = getArduinoFiles()
arduinoFiles = [
"src/c/scilab-arduino/default_files/setup_arduino.h"
"src/c/scilab-arduino/default_files/Makefile"