d1b216fa005da116fa755663a948d78f1cdd6526
[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_stack_boolean.cpp \
10     src/cpp/api_stack_boolean_sparse.cpp \
11     src/cpp/api_stack_common.cpp \
12     src/cpp/api_stack_double.cpp \
13     src/cpp/api_stack_int.cpp \
14     src/cpp/api_stack_list.cpp \
15     src/cpp/api_stack_poly.cpp \
16     src/cpp/api_stack_sparse.cpp \
17     src/cpp/api_stack_string.cpp \
18     src/cpp/api_stack_pointer.cpp \
19     src/cpp/api_stack_handle.cpp \
20     src/cpp/api_stack_error.cpp \
21     src/cpp/api_stack_hypermat.cpp \
22     src/cpp/api_stack_optional.cpp \
23     src/cpp/returnProperty.cpp \
24     src/cpp/returnPropertyList.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     src/cpp/api_template_safe.cpp \
35     src/cpp/api_template_unsafe.cpp \
36     src/cpp/api_error.cpp
37
38 libsciapi_scilab_la_CPPFLAGS= \
39     -I$(srcdir)/includes/ \
40     -I$(srcdir)/src/cpp/ \
41     -I$(srcdir)/src/c/ \
42     -I$(top_srcdir)/modules/ast/includes/ast/ \
43     -I$(top_srcdir)/modules/ast/includes/exps/ \
44     -I$(top_srcdir)/modules/ast/includes/operations/ \
45     -I$(top_srcdir)/modules/ast/includes/parse/ \
46     -I$(top_srcdir)/modules/ast/includes/symbol/ \
47     -I$(top_srcdir)/modules/ast/includes/system_env/ \
48     -I$(top_srcdir)/modules/ast/includes/types/ \
49     -I$(top_srcdir)/modules/ast/includes/analysis/ \
50     -I$(top_srcdir)/modules/core/includes \
51     -I$(top_srcdir)/modules/call_scilab/includes \
52     -I$(top_srcdir)/modules/localization/includes \
53     -I$(top_srcdir)/modules/output_stream/includes \
54     -I$(top_srcdir)/modules/elementary_functions/includes \
55     -I$(top_srcdir)/modules/string/includes \
56     -I$(top_srcdir)/modules/dynamic_link/includes \
57     -I$(top_srcdir)/modules/threads/includes \
58     $(AM_CPPFLAGS)
59
60 if MAINTAINER_MODE
61 pkglib_LTLIBRARIES = libsciapi_scilab.la
62 else
63 noinst_LTLIBRARIES = libsciapi_scilab.la
64 endif
65
66
67 libsciapi_scilab_la_LDFLAGS = -version-number $(SCILAB_LIBRARY_VERSION)
68
69 libsciapi_scilab_la_SOURCES = $(API_SCILAB_C_SOURCES) $(API_SCILAB_CXX_SOURCES)
70
71 # For the code check (splint)
72 CHECK_SRC= $(libsciapi_scilab_la_SOURCES)
73 INCLUDE_FLAGS = $(libsciapi_scilab_la_CPPFLAGS)
74
75 libsciapi_scilab_la_LIBADD =
76 #
77
78
79 #### Target ######
80 modulename=api_scilab
81
82
83 #### api_scilab : Conf files ####
84 libsciapi_scilab_la_rootdir = $(mydatadir)
85 libsciapi_scilab_la_root_DATA =  license.txt
86
87
88 #### api_scilab : init scripts ####
89 libsciapi_scilab_la_etcdir = $(mydatadir)/etc
90 libsciapi_scilab_la_etc_DATA = \
91     etc/api_scilab.quit \
92     etc/api_scilab.start
93
94 #### api_scilab : include files ####
95 libsciapi_scilab_la_includedir=$(pkgincludedir)
96 libsciapi_scilab_la_include_HEADERS = \
97 includes/api_stack_boolean.h \
98 includes/api_stack_boolean_sparse.h \
99 includes/api_stack_common.h \
100 includes/api_stack_error.h \
101 includes/api_stack_double.h \
102 includes/api_stack_hypermat.h \
103 includes/api_stack_int.h \
104 includes/api_stack_list.h \
105 includes/api_stack_pointer.h \
106 includes/api_stack_poly.h \
107 includes/api_stack_sparse.h \
108 includes/api_stack_string.h \
109 includes/api_stack_handle.h \
110 includes/api_stack_optional.h \
111 includes/api_scilab.h \
112 includes/dynlib_api_scilab.h \
113 includes/api_boolean.hxx \
114 includes/api_common.hxx \
115 includes/api_double.hxx \
116 includes/api_handle.hxx \
117 includes/api_int.hxx \
118 includes/api_list.hxx \
119 includes/api_pointer.hxx \
120 includes/api_scilab.hxx \
121 includes/api_sparse.hxx \
122 includes/api_string.hxx \
123 includes/api_variable.hxx \
124 includes/api_boolean.h \
125 includes/api_cell.h \
126 includes/api_common.h \
127 includes/api_double.h \
128 includes/api_error.h \
129 includes/api_int.h \
130 includes/api_list.h \
131 includes/api_poly.h
132
133
134
135 include $(top_srcdir)/Makefile.incl.am