Update of the localization templates
[scilab.git] / scilab / modules / javasci / Makefile.am
1 #
2 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 # Copyright (C) INRIA   - 2006 - Sylvestre Ledru
4 # Copyright (C) DIGITEO - 2009 - Pierre MARECHAL
5
6 # This file must be used under the terms of the CeCILL.
7 # This source file is licensed as described in the file COPYING, which
8 # you should have received as part of this distribution.  The terms
9 # are also available at    
10 # http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11 #
12
13 #### Target ######
14 modulename=javasci
15
16 #### javasci : Conf files ####
17 libjavasci_la_rootdir = $(mydatadir)
18 libjavasci_la_root_DATA =  license.txt 
19
20 #### javasci : init scripts ####
21 libjavasci_la_etcdir = $(mydatadir)/etc
22 libjavasci_la_etc_DATA = etc/javasci.quit etc/javasci.start
23
24
25 if JAVASCI
26 ### All the compilation process of java is deleguated to ant
27
28
29 #### Javasci : sources ####
30 JAVASCI_V1_C_SOURCES = src/c/javasci_Scilab2.c \
31 src/c/javasci_globals.c \
32 src/c/javasci_SciAbstractArray.c \
33 src/c/javasci_SciStringArray.c \
34 src/c/javasci_SciComplexArray.c \
35 src/c/fix.c \
36 src/c/javasci_SciDoubleArray.c \
37 src/c/javasci_Scilab.c \
38 src/c/javasci_SciBooleanArray.c \
39 src/c/javasci_SciIntegerArray.c
40
41 JAVASCI_V2_C_SOURCES = \
42 src/jni/call_scilab_wrap.c \
43 src/jni/putLists.c \
44 src/c/javasci2_helper.c
45
46 pkglib_LTLIBRARIES = libjavasci.la libjavasci2.la
47
48 libjavasci_la_LDFLAGS = -version-number $(SCILAB_LIBRARY_VERSION)
49
50 libjavasci_la_SOURCES = $(JAVASCI_V1_C_SOURCES)
51
52 libjavasci2_la_LDFLAGS = -version-number $(SCILAB_LIBRARY_VERSION)
53
54 libjavasci2_la_SOURCES = $(JAVASCI_V2_C_SOURCES)
55
56 # For the code check (splint)
57 CHECK_SRC= $(JAVASCI_C_SOURCES)
58 INCLUDE_FLAGS = $(libjavasci_la_CFLAGS)
59
60 libjavasci_la_CFLAGS = -I$(srcdir)/includes/ \
61                         $(JAVA_JNI_INCLUDE) \
62                         $(TCL_INC_PATH) \
63                         $(TK_INC_PATH) \
64                         -I$(top_srcdir)/libs/doublylinkedlist/includes \
65                         -I$(top_srcdir)/modules/tclsci/includes \
66                         -I$(top_srcdir)/modules/call_scilab/includes \
67                         -I$(top_srcdir)/modules/api_scilab/includes \
68                         -I$(top_srcdir)/modules/fileio/includes \
69                         -I$(top_srcdir)/modules/output_stream/includes
70
71 libjavasci_la_LIBADD = \
72         $(top_builddir)/libs/MALLOC/libscimalloc.la \
73         $(top_builddir)/modules/api_scilab/libsciapi_scilab.la \
74         $(top_builddir)/modules/libscilab.la
75
76 libjavasci2_la_CFLAGS = -I$(srcdir)/includes/ \
77                         -I$(srcdir)/src/c/ \
78                         $(JAVA_JNI_INCLUDE) \
79                         $(TCL_INC_PATH) \
80                         $(TK_INC_PATH) \
81                         -I$(top_srcdir)/libs/doublylinkedlist/includes \
82                         -I$(top_srcdir)/modules/tclsci/includes \
83                         -I$(top_srcdir)/modules/call_scilab/includes \
84                         -I$(top_srcdir)/modules/api_scilab/includes \
85                         -I$(top_srcdir)/modules/fileio/includes \
86                         -I$(top_srcdir)/modules/output_stream/includes
87
88 libjavasci2_la_LIBADD = \
89         $(top_builddir)/libs/MALLOC/libscimalloc.la \
90         $(top_builddir)/modules/api_scilab/libsciapi_scilab.la \
91         $(top_builddir)/modules/libscilab.la
92
93 ### javasci :  images ###
94 libsciscipad_la_imagesdir = $(mydatadir)/help/images/
95 libsciscipad_la_images_DATA = help/images/ScilabClass.gif \
96 help/images/SciAbstractDataTypeClass.gif \
97 help/images/SciDoubleClass.gif \
98 help/images/SciBooleanArrayClass.gif \
99 help/images/SciComplexClass.gif \
100 help/images/SciDoubleArrayClass.gif \
101 help/images/SciComplexArrayClass.gif \
102 help/images/SciStringArrayClass.gif \
103 help/images/SciAbstractArrayClass.gif \
104 help/images/SciStringClass.gif \
105 help/images/SciBooleanClass.gif
106
107 BUILT_SOURCES=
108 if SWIG
109 BUILT_SOURCES+=swig
110 endif
111
112 #### SWIG Declaration ####
113 SWIG_WRAPPERS = src/jni/call_scilab.i
114
115 USEANT=1
116
117 include $(top_srcdir)/Makefile.incl.am
118
119 endif