rewrite hypermat api for scilab 6
[scilab.git] / scilab / modules / api_scilab / 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 ### SOURCES ###
7
8 API_SCILAB_CXX_SOURCES = \
9     src/cpp/api_boolean.cpp \
10     src/cpp/api_boolean_sparse.cpp \
11     src/cpp/api_common.cpp \
12     src/cpp/api_double.cpp \
13     src/cpp/api_int.cpp \
14     src/cpp/api_list.cpp \
15     src/cpp/api_poly.cpp \
16     src/cpp/api_sparse.cpp \
17     src/cpp/api_string.cpp \
18     src/cpp/api_pointer.cpp \
19     src/cpp/api_handle.cpp \
20     src/cpp/api_error.cpp \
21     src/cpp/api_hypermat.cpp \
22     src/cpp/returnProperty.cpp \
23     src/cpp/returnPropertyList.cpp \
24     src/cpp/api_optional.cpp \
25     src/cpp/api_boolean_cpp.cpp \
26     src/cpp/api_common_cpp.cpp \
27     src/cpp/api_double_cpp.cpp \
28     src/cpp/api_int_cpp.cpp \
29     src/cpp/api_list_cpp.cpp \
30     src/cpp/api_sparse_cpp.cpp \
31     src/cpp/api_string_cpp.cpp \
32     src/cpp/api_pointer_cpp.cpp \
33     src/cpp/api_handle_cpp.cpp
34
35 libsciapi_scilab_la_CPPFLAGS= \
36     -I$(srcdir)/includes/ \
37     -I$(srcdir)/src/cpp/ \
38     -I$(srcdir)/src/c/ \
39     -I$(top_srcdir)/modules/ast/includes/ast/ \
40     -I$(top_srcdir)/modules/ast/includes/exps/ \
41     -I$(top_srcdir)/modules/ast/includes/operations/ \
42     -I$(top_srcdir)/modules/ast/includes/parse/ \
43     -I$(top_srcdir)/modules/ast/includes/symbol/ \
44     -I$(top_srcdir)/modules/ast/includes/system_env/ \
45     -I$(top_srcdir)/modules/ast/includes/types/ \
46     -I$(top_srcdir)/modules/ast/includes/analysis/ \
47     -I$(top_srcdir)/modules/core/includes \
48     -I$(top_srcdir)/modules/call_scilab/includes \
49     -I$(top_srcdir)/modules/localization/includes \
50     -I$(top_srcdir)/modules/output_stream/includes \
51     -I$(top_srcdir)/modules/elementary_functions/includes \
52     -I$(top_srcdir)/modules/string/includes \
53     -I$(top_srcdir)/modules/dynamic_link/includes \
54     -I$(top_srcdir)/modules/threads/includes \
55     $(AM_CPPFLAGS)
56
57 if MAINTAINER_MODE
58 pkglib_LTLIBRARIES = libsciapi_scilab.la
59 else
60 noinst_LTLIBRARIES = libsciapi_scilab.la
61 endif
62
63
64 libsciapi_scilab_la_LDFLAGS = -version-number $(SCILAB_LIBRARY_VERSION)
65
66 libsciapi_scilab_la_SOURCES = $(API_SCILAB_C_SOURCES) $(API_SCILAB_CXX_SOURCES)
67
68 # For the code check (splint)
69 CHECK_SRC= $(libsciapi_scilab_la_SOURCES)
70 INCLUDE_FLAGS = $(libsciapi_scilab_la_CPPFLAGS)
71
72 libsciapi_scilab_la_LIBADD =
73 #
74
75
76 #### Target ######
77 modulename=api_scilab
78
79
80 #### api_scilab : Conf files ####
81 libsciapi_scilab_la_rootdir = $(mydatadir)
82 libsciapi_scilab_la_root_DATA =  license.txt
83
84
85 #### api_scilab : init scripts ####
86 libsciapi_scilab_la_etcdir = $(mydatadir)/etc
87 libsciapi_scilab_la_etc_DATA = \
88     etc/api_scilab.quit \
89     etc/api_scilab.start
90
91 #### api_scilab : include files ####
92 libsciapi_scilab_la_includedir=$(pkgincludedir)
93 libsciapi_scilab_la_include_HEADERS = \
94 includes/api_boolean.h \
95 includes/api_boolean_sparse.h \
96 includes/api_common.h \
97 includes/api_error.h \
98 includes/api_double.h \
99 includes/api_int.h \
100 includes/api_list.h \
101 includes/api_pointer.h \
102 includes/api_poly.h \
103 includes/api_sparse.h \
104 includes/api_string.h \
105 includes/api_handle.h \
106 includes/api_optional.h \
107 includes/api_scilab.h \
108 includes/dynlib_api_scilab.h \
109 includes/api_boolean.hxx \
110 includes/api_common.hxx \
111 includes/api_double.hxx \
112 includes/api_handle.hxx \
113 includes/api_int.hxx \
114 includes/api_list.hxx \
115 includes/api_pointer.hxx \
116 includes/api_scilab.hxx \
117 includes/api_sparse.hxx \
118 includes/api_string.hxx \
119 includes/api_variable.hxx
120
121 include $(top_srcdir)/Makefile.incl.am