Fix Linux installation after https://codereview.scilab.org/#/c/11481/
[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
9 API_SCILAB_CXX_SOURCES = 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_optional.cpp \
22 src/cpp/api_hypermat.cpp
23
24
25 libsciapi_scilab_la_CPPFLAGS=-I$(srcdir)/includes/ \
26 -I$(srcdir)/src/cpp/ \
27 -I$(top_srcdir)/modules/core/includes/ \
28 -I$(top_srcdir)/modules/call_scilab/includes/ \
29 -I$(top_srcdir)/modules/localization/includes/ \
30 -I$(top_srcdir)/modules/output_stream/includes/ \
31 -I$(top_srcdir)/modules/string/includes/ \
32 $(AM_CPPFLAGS)
33
34
35 if MAINTAINER_MODE
36 pkglib_LTLIBRARIES = libsciapi_scilab.la
37 else
38 noinst_LTLIBRARIES = libsciapi_scilab.la
39 endif
40
41
42
43 libsciapi_scilab_la_SOURCES = $(API_SCILAB_C_SOURCES) $(API_SCILAB_CXX_SOURCES)
44
45 # For the code check (splint)
46 CHECK_SRC= $(libsciapi_scilab_la_SOURCES)
47 INCLUDE_FLAGS = $(libsciapi_scilab_la_CPPFLAGS)
48
49 libsciapi_scilab_la_LIBADD =
50 #
51
52
53 #### Target ######
54 modulename=api_scilab
55
56
57 #### api_scilab : Conf files ####
58 libsciapi_scilab_la_rootdir = $(mydatadir)
59 libsciapi_scilab_la_root_DATA =  license.txt
60
61
62 #### api_scilab : init scripts ####
63 libsciapi_scilab_la_etcdir = $(mydatadir)/etc
64 libsciapi_scilab_la_etc_DATA = etc/api_scilab.quit etc/api_scilab.start
65
66
67 #### api_scilab : include files ####
68 libsciapi_scilab_la_includedir=$(pkgincludedir)
69 libsciapi_scilab_la_include_HEADERS = includes/api_boolean.h \
70 includes/api_boolean_sparse.h \
71 includes/api_common.h \
72 includes/api_error.h \
73 includes/api_double.h \
74 includes/api_hypermat.h \
75 includes/api_int.h \
76 includes/api_list.h \
77 includes/api_pointer.h \
78 includes/api_poly.h \
79 includes/api_sparse.h \
80 includes/api_string.h \
81 includes/api_handle.h \
82 includes/api_optional.h \
83 includes/api_scilab.h
84
85 include $(top_srcdir)/Makefile.incl.am