add org.scilab.modules.localization package
[scilab.git] / scilab / modules / localization / Makefile.am
1 ##########
2 ### Sylvestre Ledru <sylvestre.ledru@inria.fr>
3 ### INRIA - Scilab 2006 
4 ##########
5
6 LOCALIZATION_C_SOURCES = src/c/hashtable_localization.c \
7 src/c/localization.c \
8 src/c/setgetlanguage.c \
9 src/c/InitializeLocalization.c \
10 src/c/loadsavelanguage.c \
11 src/c/getentrieshashtable.c \
12 src/c/loadhashtableslocalization.c \
13 src/c/TerminateLocalization.c
14
15 if WITH_JAVA
16 LOCALIZATION_C_SOURCES += org_scilab_modules_localization_QueryString.c
17 endif
18
19
20 GATEWAY_C_SOURCES = sci_gateway/c/gw_localization.c \
21 sci_gateway/c/sci_setlanguage.c \
22 sci_gateway/c/sci_getlanguage.c \
23 sci_gateway/c/sci_getlanguagealias.c \
24 sci_gateway/c/sci_getlanguagestable.c \
25 sci_gateway/c/sci_addtext.c \
26 sci_gateway/c/sci_removetext.c \
27 sci_gateway/c/sci_gettext.c
28
29
30
31 libscilocalization_la_CFLAGS=  $(JAVA_JNI_INCLUDE) -Iincludes/ -Isrc/c/ -I$(top_srcdir)/libs/MALLOC/includes/ -I$(top_srcdir)/libs/hashtable/ $(XML_FLAGS)
32
33 libscilocalization_la_LDFLAGS = $(JAVA_JNI_LIBS) $(XML_LIBS)
34
35 pkglib_LTLIBRARIES = libscilocalization.la
36
37 libscilocalization_la_SOURCES = $(LOCALIZATION_C_SOURCES) $(GATEWAY_C_SOURCES)
38
39 libscilocalization_la_LIBADD =  $(top_builddir)/libs/MALLOC/libscimalloc.la \
40 $(top_builddir)/libs/hashtable/libscihashtable.la
41
42 #### Target ######
43 modulename=localization
44
45 #### localization : Conf files ####
46 libscilocalization_la_rootdir = $(mydatadir)
47 libscilocalization_la_root_DATA = changelog.txt licence.txt readme.txt version.xml
48
49
50 ####localization : init scripts #### 
51 libscilocalization_la_etcdir = $(mydatadir)/etc
52 libscilocalization_la_etc_DATA = etc/localization.quit etc/localization.start
53
54 ####┬álocalization : gateway declaration #### 
55 libscilocalization_la_sci_gatewaydir = $(mydatadir)/sci_gateway
56 libscilocalization_la_sci_gateway_DATA = sci_gateway/localization_gateway.xml
57
58
59 ####localization : include files ####
60 libscilocalization_la_includedir=$(pkgincludedir)/localization
61 libscilocalization_la_include_HEADERS = includes/localization.h \
62 includes/gw_localization.h
63
64 if WITH_JAVA
65 USEANT=1
66 endif
67
68
69 include $(top_srcdir)/Makefile.incl.am