bug 6491 fixed - libinter.h was not installed under Linux (SEP #35 updated)
[scilab.git] / scilab / modules / intersci / Makefile.am
1 ##########
2 ### Sylvestre Ledru <sylvestre.ledru@inria.fr>
3 ### INRIA - Scilab 2006
4 ##########
5
6
7 INTERSCI_LIB_C_SOURCES = \
8 src/lib/libinter.c \
9 src/lib/out.c
10
11 INTERSCI_EXE_C_SOURCES = \
12 src/exe/intersci-n.c \
13 src/exe/getrhs.c \
14 src/exe/crerhs.c \
15 src/exe/variables.c \
16 src/exe/read.c \
17 src/exe/fornames.c \
18 src/exe/out-e.c \
19 src/exe/outext.c \
20 src/exe/declare.c \
21 src/exe/opt.c \
22 src/exe/check.c
23
24 libsciintersci_la_includedir=$(pkgincludedir)
25 libsciintersci_la_include_HEADERS = includes/libinter.h
26
27 pkglib_LTLIBRARIES = libsciintersci.la
28
29 libsciintersci_la_LDFLAGS = -version-info $(SCILAB_LIBRARY_VERSION)
30
31 bin_PROGRAMS = intersci
32 intersci_SOURCES = $(INTERSCI_EXE_C_SOURCES)
33
34 libsciintersci_la_SOURCES = $(INTERSCI_LIB_C_SOURCES)
35
36 libsciintersci_la_CFLAGS =      -I$(top_srcdir)/libs/MALLOC/includes/ \
37                                 -I$(top_srcdir)/modules/output_stream/includes \
38                                 -I$(srcdir)/includes \
39                 -I$(top_srcdir)/modules/string/includes 
40
41 # For the code check (splint)
42 CHECK_SRC= $(libsciintersci_la_SOURCES)
43 INCLUDE_FLAGS = $(libsciintersci_la_CFLAGS)
44
45 libsciintersci_la_LIBADD = \
46         $(top_builddir)/libs/MALLOC/libscimalloc.la \
47         $(top_builddir)/modules/output_stream/libscioutput_stream.la \
48     $(top_builddir)/modules/string/libscistring.la
49
50 #### Target ######
51 modulename=intersci
52
53
54 #### intersci : Conf files ####
55 libsciintersci_la_rootdir = $(mydatadir)
56 libsciintersci_la_root_DATA = changelog.txt license.txt readme.txt version.xml
57
58
59 ####¬†intersci : init scripts ####
60 libsciintersci_la_etcdir = $(mydatadir)/etc
61 libsciintersci_la_etc_DATA = etc/intersci.quit etc/intersci.start
62
63 include $(top_srcdir)/Makefile.incl.am
64