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