summaryrefslogtreecommitdiffstats
path: root/scilab/modules/functions/Makefile.am
blob: cac5009b514fe86e6fb72cc09fbed972f1236625 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
##########
### Allan CORNET
### DIGITEO - Scilab 2009
##########

FUNCTIONS_C_SOURCES = src/c/getmacroslist.c \
	src/c/librarieslist.c \
	src/c/libraryinfo.c \
	src/c/searchmacroinlibraries.c

FUNCTIONS_FORTRAN_SOURCES = src/fortran/whereis.f

GATEWAY_C_SOURCES = sci_gateway/c/gw_functions.c \
sci_gateway/c/sci_lib.c \
sci_gateway/c/sci_deff.c \
sci_gateway/c/sci_execstr.c \
sci_gateway/c/sci_exec.c \
sci_gateway/c/sci_whereis.c \
sci_gateway/c/sci_librarieslist.c \
sci_gateway/c/sci_libraryinfo.c

GATEWAY_FORTRAN_SOURCES =  sci_gateway/fortran/intlib.f \
sci_gateway/fortran/intdeff.f \
sci_gateway/fortran/intexecstr.f \
sci_gateway/fortran/intexec.f

libscifunctions_la_CFLAGS=		-I$(srcdir)/includes/ \
				-I$(srcdir)/src/c/ \
				-I$(top_srcdir)/libs/MALLOC/includes/ \
				-I$(top_srcdir)/modules/output_stream/includes \
				-I$(top_srcdir)/modules/api_scilab/includes \
				-I$(top_srcdir)/modules/fileio/includes \
				-I$(top_srcdir)/modules/call_scilab/includes \
				-I$(top_srcdir)/modules/io/includes \
				-I$(top_srcdir)/modules/string/includes \
				-I$(top_srcdir)/modules/localization/includes

pkglib_LTLIBRARIES = libscifunctions.la

libscifunctions_la_LDFLAGS = -version-info $(SCILAB_LIBRARY_VERSION)

libscifunctions_la_SOURCES = $(FUNCTIONS_C_SOURCES) $(FUNCTIONS_FORTRAN_SOURCES) $(GATEWAY_C_SOURCES) $(GATEWAY_FORTRAN_SOURCES)

# For the code check (splint)
CHECK_SRC= $(FUNCTIONS_SOURCES) $(GATEWAY_SOURCES)
INCLUDE_FLAGS = $(libscifunctions_la_CFLAGS)

libscifunctions_la_LIBADD =  $(top_builddir)/modules/core/libscicore.la \
$(top_builddir)/modules/string/libscistring.la \
$(top_builddir)/modules/output_stream/libscioutput_stream.la \
$(top_builddir)/modules/api_scilab/libsciapi_scilab.la \
$(top_builddir)/libs/MALLOC/libscimalloc.la

#### Target ######
modulename=functions


#### functions : Conf files ####
libscifunctions_la_rootdir = $(mydatadir)
libscifunctions_la_root_DATA = changelog.txt license.txt readme.txt version.xml


#### functions : init scripts ####
libscifunctions_la_etcdir = $(mydatadir)/etc
libscifunctions_la_etc_DATA = etc/functions.quit etc/functions.start

#### functions : gateway declaration ####
libscifunctions_la_sci_gatewaydir = $(mydatadir)/sci_gateway
libscifunctions_la_sci_gateway_DATA = sci_gateway/functions_gateway.xml

include $(top_srcdir)/Makefile.incl.am