summaryrefslogtreecommitdiffstats
path: root/scilab/modules/api_scilab/Makefile.am
blob: 53ec9e78aff8afafed2967ddd6cdc8a59e8f532e (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
##########
### Allan CORNET
### DIGITEO - Scilab 2009
##########

### SOURCES ###
API_SCILAB_C_SOURCES = src/c/api_boolean.c \
src/c/api_boolean_sparse.c \
src/c/api_common.c \
src/c/api_double.c \
src/c/api_int.c \
src/c/api_list.c \
src/c/api_poly.c \
src/c/api_sparse.c \
src/c/api_string.c


libsciapi_scilab_la_CFLAGS=-I$(srcdir)/includes/ \
-I$(srcdir)/src/c/ \
-I$(top_srcdir)/modules/core/includes \
-I$(top_srcdir)/modules/call_scilab/includes \
-I$(top_srcdir)/libs/MALLOC/includes/ \
-I$(top_srcdir)/modules/output_stream/includes \
-I$(top_srcdir)/modules/string/includes


pkglib_LTLIBRARIES = libsciapi_scilab.la

libsciapi_scilab_la_LDFLAGS = -version-info $(SCILAB_LIBRARY_VERSION)

libsciapi_scilab_la_SOURCES = $(API_SCILAB_C_SOURCES) $(GATEWAY_C_SOURCES)

# For the code check (splint)
CHECK_SRC= $(libsciapi_scilab_la_SOURCES)
INCLUDE_FLAGS = $(libsciapi_scilab_la_CFLAGS)

libsciapi_scilab_la_LIBADD =  $(top_builddir)/modules/core/libscicore.la


#### Target ######
modulename=api_scilab


#### api_scilab : Conf files ####
libsciapi_scilab_la_rootdir = $(mydatadir)
libsciapi_scilab_la_root_DATA = changelog.txt license.txt readme.txt version.xml


#### api_scilab : init scripts ####
libsciapi_scilab_la_etcdir = $(mydatadir)/etc
libsciapi_scilab_la_etc_DATA = etc/api_scilab.quit etc/api_scilab.start


#### api_scilab : include files ####
libsciapi_scilab_la_includedir=$(pkgincludedir)/api_scilab
libsciapi_scilab_la_include_HEADERS = includes/api_boolean.h \
includes/api_boolean_sparse.h \
includes/api_common.h \
includes/api_double.h \
includes/api_int.h \
includes/api_list.h \
includes/api_poly.h \
includes/api_sparse.h \
includes/api_string.h \
includes/api_variable.h \
includes/dynlib_api_scilab.h

include $(top_srcdir)/Makefile.incl.am