summaryrefslogtreecommitdiffstats
path: root/scilab/modules/intersci/Makefile.am
blob: 311997ccea43bbcc4f227c1b9f2e373758d66c99 (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
62
63
64
# 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.


INTERSCI_LIB_C_SOURCES = \
src/lib/libinter.c \
src/lib/out.c

INTERSCI_EXE_C_SOURCES = \
src/exe/intersci-n.c \
src/exe/getrhs.c \
src/exe/crerhs.c \
src/exe/variables.c \
src/exe/read.c \
src/exe/fornames.c \
src/exe/out-e.c \
src/exe/outext.c \
src/exe/declare.c \
src/exe/opt.c \
src/exe/check.c

libsciintersci_la_includedir=$(pkgincludedir)
libsciintersci_la_include_HEADERS = includes/libinter.h

pkglib_LTLIBRARIES = libsciintersci.la

libsciintersci_la_LDFLAGS = -version-info $(SCILAB_LIBRARY_VERSION)

bin_PROGRAMS = intersci
intersci_SOURCES = $(INTERSCI_EXE_C_SOURCES)

libsciintersci_la_SOURCES = $(INTERSCI_LIB_C_SOURCES)

libsciintersci_la_CFLAGS = 	-I$(top_srcdir)/libs/MALLOC/includes/ \
				-I$(top_srcdir)/modules/output_stream/includes \
				-I$(srcdir)/includes \
                -I$(top_srcdir)/modules/string/includes	

# For the code check (splint)
CHECK_SRC= $(libsciintersci_la_SOURCES)
INCLUDE_FLAGS = $(libsciintersci_la_CFLAGS)

libsciintersci_la_LIBADD = \
	$(top_builddir)/libs/MALLOC/libscimalloc.la \
	$(top_builddir)/modules/output_stream/libscioutput_stream.la \
    $(top_builddir)/modules/string/libscistring.la

#### Target ######
modulename=intersci


#### intersci : Conf files ####
libsciintersci_la_rootdir = $(mydatadir)
libsciintersci_la_root_DATA = changelog.txt license.txt readme.txt version.xml


#### intersci : init scripts ####
libsciintersci_la_etcdir = $(mydatadir)/etc
libsciintersci_la_etc_DATA = etc/intersci.quit etc/intersci.start

include $(top_srcdir)/Makefile.incl.am