wcstod no more convert d and D characters
[scilab.git] / scilab / modules / string / Makefile.am
1 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2 # Copyright (C) 2006-2007 - INRIA - Sylvestre LEDRU
3 #
4 # This file is distributed under the same license as the Scilab package.
5
6 STRING_CPP_SOURCES = \
7     src/cpp/stripblanks.cpp \
8     src/cpp/sort_inter.cpp \
9     src/cpp/os_wtoi.cpp
10
11 STRING_C_SOURCES = \
12     src/c/convstr.c \
13     src/c/men_Sutils.c \
14     src/c/tokens.c \
15     src/c/strsplit.c \
16     src/c/partfunction.c \
17     src/c/cvstr.c \
18     src/c/getfastcode.c \
19     src/c/pcre_private.c \
20     src/c/pcre_error.c \
21     src/c/isletter.c \
22     src/c/isdigit.c \
23     src/c/strsubst.c \
24     src/c/stristr.c \
25     src/c/stringsstrrev.c \
26     src/c/stringsCompare.c \
27     src/c/isalphanum.c \
28     src/c/StringConvert.c \
29     src/c/os_wcsdup.c \
30     src/c/os_wcstok.c \
31     src/c/os_wcstod.c \
32     src/c/scistrtostr.c \
33     src/c/stringToDouble.c \
34     src/c/stringToComplex.c \
35     src/c/complex_array.c \
36     src/c/isascii.c \
37     src/c/isnum.c
38
39 GATEWAY_CPP_SOURCES = \
40     sci_gateway/cpp/sci_stripblanks.cpp \
41     sci_gateway/cpp/sci_grep.cpp \
42     sci_gateway/cpp/string_gw.cpp \
43     sci_gateway/cpp/sci_regexp.cpp \
44     sci_gateway/cpp/sci_part.cpp \
45     sci_gateway/cpp/sci_length.cpp \
46     sci_gateway/cpp/sci_strindex.cpp \
47     sci_gateway/cpp/sci_strsubst.cpp \
48     sci_gateway/cpp/sci_ascii.cpp \
49     sci_gateway/cpp/sci_strcat.cpp \
50     sci_gateway/cpp/sci_string.cpp \
51     sci_gateway/cpp/sci_convstr.cpp \
52     sci_gateway/cpp/sci_strncpy.cpp \
53     sci_gateway/cpp/sci_strrchr.cpp \
54     sci_gateway/cpp/sci_strchr.cpp \
55     sci_gateway/cpp/sci_strstr.cpp \
56     sci_gateway/cpp/sci_strrev.cpp \
57     sci_gateway/cpp/sci_strtod.cpp \
58     sci_gateway/cpp/sci_tokens.cpp \
59     sci_gateway/cpp/sci_strcmp.cpp \
60     sci_gateway/cpp/sci_isletter.cpp \
61     sci_gateway/cpp/sci_strcspn.cpp \
62     sci_gateway/cpp/sci_strtok.cpp \
63     sci_gateway/cpp/sci_strspn.cpp \
64     sci_gateway/cpp/sci_isalphanum.cpp \
65     sci_gateway/cpp/sci_isdigit.cpp \
66     sci_gateway/cpp/sci_isascii.cpp \
67     sci_gateway/cpp/sci_strsplit.cpp \
68     sci_gateway/cpp/sci_isnum.cpp
69
70 libscistring_la_CFLAGS= \
71     $(PCRE_CFLAGS) \
72         -I$(srcdir)/src/c \
73         -I$(srcdir)/includes/ \
74     -I$(top_srcdir)/modules/ast/includes/ast/ \
75     -I$(top_srcdir)/modules/ast/includes/exps/ \
76     -I$(top_srcdir)/modules/ast/includes/operations/ \
77     -I$(top_srcdir)/modules/ast/includes/parse/ \
78     -I$(top_srcdir)/modules/ast/includes/symbol/ \
79     -I$(top_srcdir)/modules/ast/includes/system_env/ \
80     -I$(top_srcdir)/modules/ast/includes/types/ \
81         -I$(top_srcdir)/modules/functions/includes \
82         -I$(top_srcdir)/modules/api_scilab/includes \
83         -I$(top_srcdir)/modules/localization/includes \
84         -I$(top_srcdir)/modules/output_stream/includes
85
86 libscistring_la_CPPFLAGS= \
87     $(PCRE_CFLAGS) \
88         -I$(srcdir)/src/c \
89         -I$(srcdir)/src/cpp \
90         -I$(srcdir)/includes/ \
91     -I$(top_srcdir)/modules/ast/includes/ast/ \
92     -I$(top_srcdir)/modules/ast/includes/exps/ \
93     -I$(top_srcdir)/modules/ast/includes/operations/ \
94     -I$(top_srcdir)/modules/ast/includes/parse/ \
95     -I$(top_srcdir)/modules/ast/includes/symbol/ \
96     -I$(top_srcdir)/modules/ast/includes/system_env/ \
97     -I$(top_srcdir)/modules/ast/includes/types/ \
98     -I$(top_srcdir)/modules/ast/includes/analysis/ \
99         -I$(top_srcdir)/modules/api_scilab/includes \
100         -I$(top_srcdir)/modules/localization/includes \
101         -I$(top_srcdir)/modules/output_stream/includes \
102         -I$(top_srcdir)/modules/functions_manager/includes \
103         -I$(top_srcdir)/modules/core/includes \
104     -I$(top_srcdir)/modules/dynamic_link/includes \
105     -I$(top_srcdir)/modules/threads/includes \
106     -I$(top_srcdir)/modules/console/includes \
107     -I$(top_srcdir)/modules/dynamic_link/includes
108
109 libscistring_algo_la_CPPFLAGS = $(libscistring_la_CPPFLAGS)
110
111 if MAINTAINER_MODE
112 pkglib_LTLIBRARIES = libscistring.la
113 noinst_LTLIBRARIES = libscistring-algo.la
114 else
115 noinst_LTLIBRARIES = libscistring-algo.la libscistring.la
116 endif
117
118
119 libscistring_la_LDFLAGS = $(AM_LDFLAGS)
120
121 libscistring_algo_la_SOURCES = $(STRING_C_SOURCES) $(STRING_CPP_SOURCES)
122 libscistring_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_CPP_SOURCES)
123 libscistring_algo_la_CFLAGS = $(libscistring_la_CFLAGS)
124
125 # For the code check (splint)
126 CHECK_SRC= $(STRING_C_SOURCES) $(GATEWAY_C_SOURCES)
127 INCLUDE_FLAGS = $(libscistring_la_CFLAGS)
128
129 # commented since it is the first module to be processed
130 libscistring_la_LIBADD = libscistring-algo.la $(PCRE_LIBS)
131
132 #### Target ######
133 modulename=string
134
135
136 #### string : Conf files ####
137 libscistring_la_rootdir = $(mydatadir)
138 libscistring_la_root_DATA =  license.txt
139
140 ####�string : init scripts ####
141 libscistring_la_etcdir = $(mydatadir)/etc
142 libscistring_la_etc_DATA = \
143     etc/string.quit \
144     etc/string.start
145
146 ####�string : gateway declaration ####
147 libscistring_la_sci_gatewaydir = $(mydatadir)/sci_gateway
148 libscistring_la_sci_gateway_DATA = sci_gateway/string_gateway.xml
149
150 #### string : include files ####
151 libscistring_la_includedir=$(pkgincludedir)
152 libscistring_la_include_HEADERS = \
153 includes/complex_array.h \
154 includes/convstr.h \
155 includes/cvstr.h \
156 includes/dynlib_string_gw.h \
157 includes/dynlib_string.h \
158 includes/getfastcode.h \
159 includes/men_Sutils.h \
160 includes/os_string.h \
161 includes/os_wcstok.h \
162 includes/os_wcstod.h \
163 includes/pcre_private.h \
164 includes/scistrtostr.h \
165 includes/StringConvert.h \
166 includes/string_gw.hxx \
167 includes/stringToComplex.h \
168 includes/stringToDouble.h \
169 includes/stristr.h \
170 includes/strsubst.h
171
172
173
174 include $(top_srcdir)/Makefile.incl.am
175