42b4867b0480cb80db6edb36feba9a504e2093cd
[scilab.git] / scilab / modules / jvm / Makefile.am
1 ##########
2 ### Sylvestre Ledru <sylvestre.ledru@inria.fr>
3 ### INRIA - Scilab 2006 
4 ##########
5
6 JVM_C_SOURCES = src/c/InitializeJVM.c \
7 src/c/TerminateJVM.c \
8 src/c/JVM_Unix.c \
9 src/c/JVM.c \
10 src/c/JniUtils.c \
11 src/c/addToClasspath.c \
12 src/c/getClasspath.c \
13 src/c/system_getproperty.c
14
15
16 GATEWAY_C_SOURCES = sci_gateway/c/gw_jvm.c \
17 sci_gateway/c/sci_jvm_version.c \
18 sci_gateway/c/sci_with_embedded_jre.c \
19 sci_gateway/c/sci_system_getproperty.c
20
21
22 libscijvm_la_CFLAGS=  $(JAVA_JNI_INCLUDE) -I$(top_srcdir)/libs/MALLOC/includes/ -Iincludes/ -Isrc/c
23
24 libscijvm_la_LDFLAGS = $(JAVA_JNI_LIBS) -lpthread -ldl
25
26 pkglib_LTLIBRARIES = libscijvm.la
27
28 libscijvm_la_SOURCES = $(JVM_C_SOURCES) $(GATEWAY_C_SOURCES)
29
30 #### Target ######
31 modulename=jvm
32
33 #### jvm : Conf files ####
34 libscijvm_la_rootdir = $(mydatadir)
35 libscijvm_la_root_DATA = changelog.txt licence.txt readme.txt VERSION.xml
36
37 #### jvm : init scripts #### 
38 libscijvm_la_etcdir = $(mydatadir)/etc
39 libscijvm_la_etc_DATA = etc/jvm.quit etc/jvm.start
40
41 #### jvm : gateway declaration #### 
42 libscijvm_la_sci_gatewaydir = $(mydatadir)/sci_gateway
43 libscijvm_la_sci_gateway_DATA = sci_gateway/jvm_gateway.xml
44
45 #### jvm : include files ####
46 libscijvm_la_includedir=$(pkgincludedir)/jvm
47 libscijvm_la_include_HEADERS = includes/TerminateJVM.h \
48 includes/getScilabJavaVM.h \
49 includes/getScilabJNIEnv.h \
50 includes/InitializeJVM.h \
51 includes/gw_jvm.h \
52 includes/JniUtils.h \
53 includes/addToClasspath.h
54
55 include $(top_srcdir)/Makefile.incl.am