summaryrefslogtreecommitdiff
path: root/modules/boolean/Makefile.am
blob: 2c57b47bf46983ebc562d7c68e13de0e44a07d6c (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
# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
# Copyright (C) 2006 - INRIA - Sylvestre LEDRU
#
# This file is distributed under the same license as the Scilab package.


BOOLEAN_C_SOURCES = src/c/matboolean.c \
src/c/vect_or.c \
src/c/vect_and.c

BOOLEAN_FORTRAN_SOURCES = src/fortran/logic.f

GATEWAY_C_SOURCES = sci_gateway/c/sci_and.c \
sci_gateway/c/sci_or.c \
sci_gateway/c/sci_bool2s.c \
sci_gateway/c/gw_boolean.c

GATEWAY_FORTRAN_SOURCES =  sci_gateway/fortran/sci_f_bool2s.f

libsciboolean_la_CPPFLAGS= -I$(srcdir)/includes/ \
				-I$(srcdir)/src/c/ \
				-I$(top_srcdir)/modules/api_scilab/includes/ \
				-I$(top_srcdir)/modules/localization/includes/ \
				-I$(top_srcdir)/modules/output_stream/includes/ \
				$(AM_CPPFLAGS)

if MAINTAINER_MODE
pkglib_LTLIBRARIES = libsciboolean.la
noinst_LTLIBRARIES = libsciboolean-algo.la
else
noinst_LTLIBRARIES = libsciboolean-algo.la libsciboolean.la
endif



libsciboolean_algo_la_SOURCES = $(BOOLEAN_C_SOURCES) $(BOOLEAN_FORTRAN_SOURCES)
libsciboolean_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_FORTRAN_SOURCES)
libsciboolean_algo_la_CPPFLAGS = $(libsciboolean_la_CPPFLAGS)

# For the code check (splint)
CHECK_SRC= $(BOOLEAN_C_SOURCES) $(GATEWAY_C_SOURCES)
INCLUDE_FLAGS = $(libsciboolean_la_CPPFLAGS)

libsciboolean_la_LIBADD = libsciboolean-algo.la

modulename=boolean

#### boolean : Conf files ####
libsciboolean_la_rootdir = $(mydatadir)
libsciboolean_la_root_DATA =  license.txt


#### boolean : init scripts ####
libsciboolean_la_etcdir = $(mydatadir)/etc
libsciboolean_la_etc_DATA = etc/boolean.quit etc/boolean.start

#### boolean : gateway declaration ####
libsciboolean_la_sci_gatewaydir = $(mydatadir)/sci_gateway
libsciboolean_la_sci_gateway_DATA = sci_gateway/boolean_gateway.xml

include $(top_srcdir)/Makefile.incl.am