1// Copyright (C) 2014 - Holger Nahrstaedt 2// Copyright (C) 2011 - INRIA - Michael Baudin 3// 4// This file must be used under the terms of the CeCILL. 5// This source file is licensed as described in the file COPYING, which 6// you should have received as part of this distribution. The terms 7// are also available at 8// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt 9 10function swt_builderC() 11 src_dir = get_absolute_file_path("builder_c.sce"); 12 13 src_path = "c"; 14 linknames = ["swtlib"]; 15 files = [ 16 "utility.c","bathlets.c","haar.c","daubechies.c","symlets.c","coiflets.c",.. 17 "bior.c","bior_t.c","vaidyanathan.c","dmey.c","legendre.c","farras.c",.. 18 "kingsbury.c","beylkin.c","cowt.c","dwt1d.c","dwt2d.c","dwt3d.c","kiss_fft.c","cwt.c","swt.c" 19 ]; 20 ldflags = ""; 21 if ( getos() == "Windows" ) then 22 cflags = "-DWIN32 -DLIBDISTFUN_C_EXPORTS"; 23 else 24 include1 = src_dir; 25 cflags = "-I"""+include1+""""; 26 end 27 28 libs = []; 29 30 tbx_build_src(linknames, files, src_path, src_dir, libs, ldflags, cflags); 31 32endfunction 33swt_builderC(); 34clear swt_builderC; 35