* update for 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 #src/c/TerminateLocalization.c
11
12 if GUI
13 #LOCALIZATION_C_SOURCES += src/c/org_scilab_modules_localization_QueryString.c
14 endif
15
16
17 GATEWAY_C_SOURCES = sci_gateway/c/gw_localization.c \
18 sci_gateway/c/sci_gettext.c \
19 sci_gateway/c/sci_setlanguage.c \
20 sci_gateway/c/sci_getdefaultlanguage.c \
21 sci_gateway/c/sci_getlanguage.c
22
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
28 libscilocalization_la_CFLAGS=   $(JAVA_JNI_INCLUDE) \
29                                 -Iincludes/ \
30                                 -Isrc/c/ \
31                                 -I$(top_srcdir)/libs/MALLOC/includes/ \
32                                 -I$(top_srcdir)/modules/output_stream/includes
33
34 libscilocalization_la_LDFLAGS = $(JAVA_JNI_LIBS)
35
36 pkglib_LTLIBRARIES = libscilocalization.la
37
38 libscilocalization_la_SOURCES = $(LOCALIZATION_C_SOURCES)  $(GATEWAY_C_SOURCES)
39
40 libscilocalization_la_LIBADD =  $(top_builddir)/libs/MALLOC/libscimalloc.la \
41 $(top_builddir)/libs/hashtable/libscihashtable.la
42
43 #### Target ######
44 modulename=localization
45
46 #### localization : Conf files ####
47 libscilocalization_la_rootdir = $(mydatadir)
48 libscilocalization_la_root_DATA = changelog.txt licence.txt readme.txt version.xml
49
50
51 ####localization : init scripts ####
52 libscilocalization_la_etcdir = $(mydatadir)/etc
53 libscilocalization_la_etc_DATA = etc/localization.quit etc/localization.start
54
55 ####┬álocalization : gateway declaration ####
56 libscilocalization_la_sci_gatewaydir = $(mydatadir)/sci_gateway
57 libscilocalization_la_sci_gateway_DATA = sci_gateway/localization_gateway.xml
58
59
60 ####localization : include files ####
61 libscilocalization_la_includedir=$(pkgincludedir)/localization
62 libscilocalization_la_include_HEADERS = includes/localization.h \
63 includes/gw_localization.h
64
65 if GUI
66 USEANT=1
67 endif
68
69
70 include $(top_srcdir)/Makefile.incl.am