update deff test and ref
[scilab.git] / scilab / modules / functions / Makefile.am
1 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2 # Copyright (C) 2009 - DIGITEO - Allan CORNET
3 #
4 # This file is distributed under the same license as the Scilab package.
5
6 FUNCTIONS_C_SOURCES = src/c/getmacroslist.c \
7         src/c/librarieslist.c \
8         src/c/libraryinfo.c \
9         src/c/isScilabFunction.c \
10         src/c/searchmacroinlibraries.c
11
12 FUNCTIONS_FORTRAN_SOURCES = src/fortran/whereis.f
13
14 GATEWAY_C_SOURCES = sci_gateway/c/gw_functions.c \
15 sci_gateway/c/sci_lib.c \
16 sci_gateway/c/sci_deff.c \
17 sci_gateway/c/sci_execstr.c \
18 sci_gateway/c/sci_exec.c \
19 sci_gateway/c/sci_whereis.c \
20 sci_gateway/c/sci_librarieslist.c \
21 sci_gateway/c/sci_libraryinfo.c
22
23 GATEWAY_FORTRAN_SOURCES =  sci_gateway/fortran/intlib.f \
24 sci_gateway/fortran/intdeff.f \
25 sci_gateway/fortran/intexecstr.f \
26 sci_gateway/fortran/intexec.f
27
28 libscifunctions_la_CPPFLAGS = -I$(srcdir)/includes/ \
29                                 -I$(srcdir)/src/c/ \
30                                 -I$(top_srcdir)/libs/MALLOC/includes/ \
31                                 -I$(top_srcdir)/modules/core/includes/ \
32                                 -I$(top_srcdir)/modules/output_stream/includes/ \
33                                 -I$(top_srcdir)/modules/api_scilab/includes/ \
34                                 -I$(top_srcdir)/modules/fileio/includes/ \
35                                 -I$(top_srcdir)/modules/call_scilab/includes/ \
36                                 -I$(top_srcdir)/modules/io/includes/ \
37                                 -I$(top_srcdir)/modules/string/includes/ \
38                                 -I$(top_srcdir)/modules/localization/includes/ \
39                                 $(AM_CPPFLAGS)
40
41 pkglib_LTLIBRARIES = libscifunctions.la
42 noinst_LTLIBRARIES = libscifunctions-algo.la
43
44
45 libscifunctions_algo_la_SOURCES = $(FUNCTIONS_C_SOURCES) $(FUNCTIONS_FORTRAN_SOURCES)
46 libscifunctions_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_FORTRAN_SOURCES)
47 libscifunctions_algo_la_CPPFLAGS = $(libscifunctions_la_CPPFLAGS)
48
49 # For the code check (splint)
50 CHECK_SRC= $(FUNCTIONS_SOURCES) $(GATEWAY_SOURCES)
51 INCLUDE_FLAGS = $(libscifunctions_la_CPPFLAGS)
52
53 libscifunctions_la_LIBADD =   \
54         libscifunctions-algo.la
55
56 #### Target ######
57 modulename=functions
58
59
60 #### functions : Conf files ####
61 libscifunctions_la_rootdir = $(mydatadir)
62 libscifunctions_la_root_DATA =  license.txt 
63
64
65 #### functions : init scripts ####
66 libscifunctions_la_etcdir = $(mydatadir)/etc
67 libscifunctions_la_etc_DATA = etc/functions.quit etc/functions.start
68
69 #### functions : gateway declaration ####
70 libscifunctions_la_sci_gatewaydir = $(mydatadir)/sci_gateway
71 libscifunctions_la_sci_gateway_DATA = sci_gateway/functions_gateway.xml
72
73 include $(top_srcdir)/Makefile.incl.am