8c6fdac41159ec43e0bffbe2c6516c7c77753f77
[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
26 pkglib_LTLIBRARIES = libsciintersci.la
27
28 libsciintersci_la_LDFLAGS = -version-info $(SCILAB_LIBRARY_VERSION)
29
30 bin_PROGRAMS = intersci
31 intersci_SOURCES = $(INTERSCI_EXE_C_SOURCES)
32
33 libsciintersci_la_SOURCES = $(INTERSCI_LIB_C_SOURCES)
34
35 libsciintersci_la_CFLAGS =      -I$(top_srcdir)/libs/MALLOC/includes/ \
36                                 -I$(top_srcdir)/modules/output_stream/includes \
37                                 -I$(srcdir)/includes \
38                 -I$(top_srcdir)/modules/string/includes 
39
40 # For the code check (splint)
41 CHECK_SRC= $(libsciintersci_la_SOURCES)
42 INCLUDE_FLAGS = $(libsciintersci_la_CFLAGS)
43
44 libsciintersci_la_LIBADD = \
45         $(top_builddir)/libs/MALLOC/libscimalloc.la \
46         $(top_builddir)/modules/output_stream/libscioutput_stream.la \
47     $(top_builddir)/modules/string/libscistring.la
48
49 #### Target ######
50 modulename=intersci
51
52
53 #### intersci : Conf files ####
54 libsciintersci_la_rootdir = $(mydatadir)
55 libsciintersci_la_root_DATA = changelog.txt license.txt readme.txt version.xml
56
57
58 ####¬†intersci : init scripts ####
59 libsciintersci_la_etcdir = $(mydatadir)/etc
60 libsciintersci_la_etc_DATA = etc/intersci.quit etc/intersci.start
61
62 include $(top_srcdir)/Makefile.incl.am
63