summaryrefslogtreecommitdiffstats
path: root/scilab/modules/string/Makefile.am
blob: 022b6a1c3ba358ab53f44d582f39ca2b60de4875 (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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
# Copyright (C) 2006-2007 - INRIA - Sylvestre LEDRU
#
# This file is distributed under the same license as the Scilab package.

STRING_C_SOURCES = src/c/code2str.c \
src/c/stripblanks.c \
src/c/convstr.c \
src/c/men_Sutils.c \
src/c/tokens.c \
src/c/strcatfunction.c \
src/c/strsplitfunction.c \
src/c/partfunction.c \
src/c/InitializeString.c \
src/c/setScilabCharactersCodes.c \
src/c/cvstr.c \
src/c/getfastcode.c \
src/c/pcre_private.c \
src/c/pcre_error.c \
src/c/isletter.c \
src/c/isdigit.c \
src/c/strsubst.c \
src/c/stringsstrrchr.c \
src/c/stringsstrrev.c \
src/c/stringsCompare.c \
src/c/isalphanum.c \
src/c/StringConvert.c \
src/c/scistrtostr.c

STRING_FORTRAN_SOURCES =

GATEWAY_C_SOURCES = sci_gateway/c/gw_string.c \
sci_gateway/c/sci_ascii.c \
sci_gateway/c/sci_code2str.c \
sci_gateway/c/sci_convstr.c \
sci_gateway/c/sci_emptystr.c \
sci_gateway/c/sci_grep.c \
sci_gateway/c/sci_length.c \
sci_gateway/c/sci_part.c \
sci_gateway/c/sci_str2code.c \
sci_gateway/c/sci_strcat.c \
sci_gateway/c/sci_strindex.c \
sci_gateway/c/sci_string.c \
sci_gateway/c/sci_stripblanks.c \
sci_gateway/c/sci_strsplit.c \
sci_gateway/c/sci_strsubst.c \
sci_gateway/c/sci_tokens.c \
sci_gateway/c/sci_strcmp.c \
sci_gateway/c/sci_isletter.c \
sci_gateway/c/sci_isdigit.c \
sci_gateway/c/sci_isalphanum.c \
sci_gateway/c/sci_isascii.c \
sci_gateway/c/sci_strchr.c \
sci_gateway/c/sci_strcspn.c \
sci_gateway/c/sci_strncpy.c \
sci_gateway/c/sci_strrchr.c \
sci_gateway/c/sci_strrev.c \
sci_gateway/c/sci_strspn.c \
sci_gateway/c/sci_strstr.c \
sci_gateway/c/sci_strtod.c \
sci_gateway/c/sci_strtok.c \
sci_gateway/c/sci_regexp.c



GATEWAY_FORTRAN_SOURCES =  sci_gateway/fortran/sci_string.f \
sci_gateway/fortran/strops.f

libscistring_la_CFLAGS= $(PCRE_CFLAGS) \
	-I$(srcdir)/src/c \
	-I$(srcdir)/includes/ \
	-I$(top_srcdir)/libs/MALLOC/includes/ \
	-I$(top_srcdir)/modules/api_scilab/includes \
	-I$(top_srcdir)/modules/localization/includes \
	-I$(top_srcdir)/modules/output_stream/includes

pkglib_LTLIBRARIES = libscistring.la

libscistring_la_LDFLAGS = -version-info $(SCILAB_LIBRARY_VERSION) $(PCRE_LIBS)

libscistring_la_SOURCES = $(STRING_C_SOURCES) $(STRING_FORTRAN_SOURCES) $(GATEWAY_C_SOURCES) $(GATEWAY_FORTRAN_SOURCES)


# For the code check (splint)
CHECK_SRC= $(STRING_C_SOURCES) $(GATEWAY_C_SOURCES)
INCLUDE_FLAGS = $(libscistring_la_CFLAGS)

# commented since it is the first module to be processed
#  $(top_builddir)/modules/polynomials/libscipolynomials.la 
libscistring_la_LIBADD = $(top_builddir)/modules/elementary_functions/libscielementary_functions.la $(top_builddir)/modules/arnoldi/libsciarnoldi.la $(top_builddir)/modules/core/libscicore.la $(top_builddir)/libs/MALLOC/libscimalloc.la $(top_builddir)/modules/output_stream/libscioutput_stream.la
#### Target ######
modulename=string


#### string : Conf files ####
libscistring_la_rootdir = $(mydatadir)
libscistring_la_root_DATA = changelog.txt license.txt readme.txt version.xml

#### string : init scripts ####
libscistring_la_etcdir = $(mydatadir)/etc
libscistring_la_etc_DATA = etc/string.quit etc/string.start

#### string : gateway declaration ####
libscistring_la_sci_gatewaydir = $(mydatadir)/sci_gateway
libscistring_la_sci_gateway_DATA = sci_gateway/string_gateway.xml

include $(top_srcdir)/Makefile.incl.am