35d039d223a4f2a0768f86de613601debc471dca
[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
14
15 GATEWAY_C_SOURCES = sci_gateway/c/gw_jvm.c \
16 sci_gateway/c/sci_jvm_version.c \
17 sci_gateway/c/sci_with_embedded_jre.c \
18 sci_gateway/c/sci_javaclasspath.c
19
20
21 libscijvm_la_CFLAGS=  $(JAVA_JNI_INCLUDE) -I$(top_srcdir)/libs/MALLOC/includes/ -Iincludes/ -Isrc/c
22
23 libscijvm_la_LDFLAGS = $(JAVA_JNI_LIBS) -lpthread -ldl
24
25 pkglib_LTLIBRARIES = libscijvm.la
26
27 libscijvm_la_SOURCES = $(JVM_C_SOURCES) $(GATEWAY_C_SOURCES)
28
29 #### Target ######
30 modulename=jvm
31
32 #### jvm : Conf files ####
33 libscijvm_la_rootdir = $(mydatadir)
34 libscijvm_la_root_DATA = changelog.txt licence.txt readme.txt VERSION.xml
35
36 #### jvm : init scripts #### 
37 libscijvm_la_etcdir = $(mydatadir)/etc
38 libscijvm_la_etc_DATA = etc/jvm.quit etc/jvm.start
39
40 #### jvm : gateway declaration #### 
41 libscijvm_la_sci_gatewaydir = $(mydatadir)/sci_gateway
42 libscijvm_la_sci_gateway_DATA = sci_gateway/jvm_gateway.xml
43
44 #### jvm : include files ####
45 libscijvm_la_includedir=$(pkgincludedir)/jvm
46 libscijvm_la_include_HEADERS = includes/TerminateJVM.h \
47 includes/getScilabJavaVM.h \
48 includes/getScilabJNIEnv.h \
49 includes/InitializeJVM.h \
50 includes/gw_jvm.h \
51 includes/JniUtils.h \
52 includes/addToClasspath.h
53
54 include $(top_srcdir)/Makefile.incl.am