VERSION.xml => version.xml (lower case like readme.txt licence.txt & changelog.txt)
[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/c/gw_localization.c \
16 sci_gateway/c/sci_setlanguage.c \
17 sci_gateway/c/sci_getlanguage.c \
18 sci_gateway/c/sci_getlanguagealias.c \
19 sci_gateway/c/sci_getlanguagestable.c \
20 sci_gateway/c/sci_addtext.c \
21 sci_gateway/c/sci_removetext.c \
22 sci_gateway/c/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 modulename=localization
38
39 #### localization : Conf files ####
40 libscilocalization_la_rootdir = $(mydatadir)
41 libscilocalization_la_root_DATA = changelog.txt licence.txt readme.txt version.xml
42
43
44 ####localization : init scripts #### 
45 libscilocalization_la_etcdir = $(mydatadir)/etc
46 libscilocalization_la_etc_DATA = etc/localization.quit etc/localization.start
47
48 ####┬álocalization : gateway declaration #### 
49 libscilocalization_la_sci_gatewaydir = $(mydatadir)/sci_gateway
50 libscilocalization_la_sci_gateway_DATA = sci_gateway/localization_gateway.xml
51
52
53 ####localization : include files ####
54 libscilocalization_la_includedir=$(pkgincludedir)/localization
55 libscilocalization_la_include_HEADERS = includes/localization.h \
56 includes/gw_localization.h
57
58 include $(top_srcdir)/Makefile.incl.am