test of localization
[scilab.git] / scilab / modules / localization / Makefile.am
1 ##########
2 ### Sylvestre Ledru <sylvestre.ledru@inria.fr>
3 ### INRIA - Scilab 2006/2007/2008
4 ##########
5
6 LOCALIZATION_C_SOURCES = \
7 src/c/InitializeLocalization.c \
8 src/c/setgetlanguage.c \
9 src/c/loadsavelanguage.c
10
11 if GUI
12 #LOCALIZATION_C_SOURCES += src/c/org_scilab_modules_localization_QueryString.c
13 endif
14
15
16 GATEWAY_C_SOURCES = sci_gateway/c/gw_localization.c \
17 sci_gateway/c/sci_gettext.c \
18 sci_gateway/c/sci_setlanguage.c \
19 sci_gateway/c/sci_getdefaultlanguage.c \
20 sci_gateway/c/sci_getlanguage.c
21
22 #sci_gateway/c/sci_getlanguagealias.c \
23 #sci_gateway/c/sci_getlanguagestable.c \
24 #sci_gateway/c/sci_addtext.c \
25 #sci_gateway/c/sci_removetext.c
26
27 libscilocalization_la_CFLAGS=   $(JAVA_JNI_INCLUDE) \
28                                 -Iincludes/ \
29                                 -Isrc/c/ \
30                                 -I$(top_srcdir)/libs/MALLOC/includes/ \
31                                 -I$(top_srcdir)/modules/output_stream/includes
32
33 libscilocalization_la_LDFLAGS = $(JAVA_JNI_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 GUI
65 USEANT=1
66 endif
67
68
69 include $(top_srcdir)/Makefile.incl.am