Linux: update to automake 1.16.1
[scilab.git] / scilab / modules / boolean / Makefile.am
1 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2 # Copyright (C) 2006 - INRIA - Sylvestre LEDRU
3 #
4 # This file is distributed under the same license as the Scilab package.
5
6
7 BOOLEAN_CPP_SOURCES = \
8     src/cpp/boolean_gw.cpp
9
10 BOOLEAN_C_SOURCES = \
11     src/c/vect_or.c \
12     src/c/vect_and.c
13
14 GATEWAY_CPP_SOURCES = \
15     sci_gateway/cpp/sci_bool2s.cpp \
16     sci_gateway/cpp/sci_find.cpp \
17     sci_gateway/cpp/sci_and.cpp \
18     sci_gateway/cpp/sci_or.cpp
19
20 libsciboolean_la_CPPFLAGS = \
21     -I$(srcdir)/includes/ \
22     -I$(top_srcdir)/modules/ast/includes/ast/ \
23     -I$(top_srcdir)/modules/ast/includes/exps/ \
24     -I$(top_srcdir)/modules/ast/includes/operations/ \
25     -I$(top_srcdir)/modules/ast/includes/parse/ \
26     -I$(top_srcdir)/modules/ast/includes/symbol/ \
27     -I$(top_srcdir)/modules/ast/includes/system_env/ \
28     -I$(top_srcdir)/modules/ast/includes/types/ \
29     -I$(top_srcdir)/modules/ast/includes/analysis/ \
30     -I$(top_srcdir)/modules/dynamic_link/includes \
31     -I$(top_srcdir)/modules/functions_manager/includes \
32     -I$(top_srcdir)/modules/elementary_functions/includes \
33     -I$(top_srcdir)/modules/console/includes \
34     -I$(top_srcdir)/modules/core/includes \
35     -I$(top_srcdir)/modules/output_stream/includes \
36     -I$(top_srcdir)/modules/api_scilab/includes \
37     -I$(top_srcdir)/modules/threads/includes \
38     -I$(top_srcdir)/modules/localization/includes \
39     -I$(top_srcdir)/modules/string/includes \
40     $(AM_CPPFLAGS)
41
42 if MAINTAINER_MODE
43 pkglib_LTLIBRARIES = libsciboolean.la
44 noinst_LTLIBRARIES = libsciboolean-algo.la
45 else
46 noinst_LTLIBRARIES = libsciboolean-algo.la libsciboolean.la
47 endif
48
49
50
51 libsciboolean_algo_la_SOURCES = $(BOOLEAN_C_SOURCES) $(BOOLEAN_CPP_SOURCES) $(GATEWAY_CPP_SOURCES)
52 libsciboolean_la_SOURCES = $(GATEWAY_C_SOURCES)
53 libsciboolean_algo_la_CPPFLAGS = $(libsciboolean_la_CPPFLAGS)
54
55 # For the code check (splint)
56 CHECK_SRC= $(BOOLEAN_C_SOURCES) $(GATEWAY_C_SOURCES)
57 INCLUDE_FLAGS = $(libsciboolean_la_CPPFLAGS)
58
59 libsciboolean_la_LIBADD = libsciboolean-algo.la
60
61 modulename=boolean
62
63 #### boolean : Conf files ####
64 libsciboolean_la_rootdir = $(mydatadir)
65 libsciboolean_la_root_DATA =  license.txt
66
67
68 #### boolean : init scripts ####
69 libsciboolean_la_etcdir = $(mydatadir)/etc
70 libsciboolean_la_etc_DATA = \
71     etc/boolean.quit \
72     etc/boolean.start
73
74 include $(top_srcdir)/Makefile.incl.am