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