update localization
[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 GATEWAY_C_SOURCES = sci_gateway/gw_localization.c \
16 sci_gateway/sci_setlanguage.c \
17 sci_gateway/sci_getlanguage.c \
18 sci_gateway/sci_getlanguagealias.c \
19 sci_gateway/sci_getlanguagestable.c \
20 sci_gateway/sci_addtext.c \
21 sci_gateway/sci_removetext.c \
22 sci_gateway/sci_gettext.c
23
24
25 libscilocalization_la_CFLAGS=  -Iincludes/ -Isrc/c/ -I$(top_srcdir)/libs/MALLOC/includes/ -I$(top_srcdir)/libs/hashtable/ $(XML_FLAGS)
26
27 libscilocalization_la_LDFLAGS = $(XML_LIBS)
28
29 pkglib_LTLIBRARIES = libscilocalization.la
30
31 libscilocalization_la_SOURCES = $(LOCALIZATION_C_SOURCES) $(GATEWAY_C_SOURCES)
32
33 libscilocalization_la_LIBADD =  $(top_builddir)/libs/MALLOC/libscimalloc.la \
34 $(top_builddir)/libs/hashtable/libscihashtable.la
35
36 #### Target ######
37 target=$(datadir)/localization
38
39 #### localization : Conf files ####
40 libscilocalization_la_rootdir = $(target)
41 libscilocalization_la_root_DATA = changelog.txt licence.txt readme.txt VERSION
42
43
44 ####localization : init scripts #### 
45 libscilocalization_la_etcdir = $(target)/etc
46 libscilocalization_la_etc_DATA = etc/localization.quit etc/localization.start
47
48
49 ####localization : include files ####
50 libscilocalization_la_includedir=$(sciincludedir)/localization
51 libscilocalization_la_include_HEADERS = includes/localization.h \
52 includes/gw_localization.h
53
54 include $(top_srcdir)/Makefile.incl.am