add getlanguagestable() &
[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/hashtable_localization.c \
7 src/localization.c\
8 src/setgetlanguage.c
9
10 GATEWAY_C_SOURCES = sci_gateway/gw_localization.c \
11 sci_gateway/sci_setlanguage.c \
12 sci_gateway/sci_getlanguage.c \
13 sci_gateway/sci_getlanguagealias.c \
14 sci_gateway/sci_getlanguagestable.c
15
16 libscilocalization_la_CFLAGS=  -Iincludes/ -Isrc/ -I$(top_srcdir)/libs/MALLOC/includes/ -I$(top_srcdir)/libs/hashtable/ $(XML_FLAGS)
17
18 libscilocalization_la_LDFLAGS = $(XML_LIBS)
19
20 pkglib_LTLIBRARIES = libscilocalization.la
21
22 libscilocalization_la_SOURCES = $(LOCALIZATION_C_SOURCES) $(GATEWAY_C_SOURCES)
23
24 libscilocalization_la_LIBADD =  $(top_builddir)/libs/MALLOC/libscimalloc.la \
25 $(top_builddir)/libs/hashtable/libscihashtable.la
26
27 #### Target ######
28 target=$(datadir)/localization
29
30 #### localization : Conf files ####
31 libscilocalization_la_rootdir = $(target)
32 libscilocalization_la_root_DATA = changelog.txt licence.txt readme.txt VERSION
33
34
35 #### localization : Scilab macros ###
36 libscilocalization_la_macrodir = $(target)/macros
37 MACROS = macros/setlanguage.sci macros/setlanguage.bin macros/names macros/lib macros/buildmacros.sce
38
39
40 ####localization : init scripts #### 
41 libscilocalization_la_etcdir = $(target)/etc
42 libscilocalization_la_etc_DATA = etc/localization.quit etc/localization.start
43
44
45 ####localization : include files ####
46 libscilocalization_la_includedir=$(sciincludedir)/localization
47 libscilocalization_la_include_HEADERS = includes/localization.h \
48 includes/gw_localization.h
49
50 include $(top_srcdir)/Makefile.incl.am