Libs installed in /usr/lib/scilab instead of /usr/lib/
[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
9 libscilocalization_la_CFLAGS=  -Iincludes/ -Isrc/ -I$(top_srcdir)/libs/MALLOC/includes/ -I$(top_srcdir)/libs/hashtable/ $(XML_FLAGS)
10 libscilocalization_la_LDFLAGS= $(XML_LIBS)
11
12 pkglib_LTLIBRARIES = libscilocalization.la
13
14 libscilocalization_la_SOURCES = $(LOCALIZATION_C_SOURCES) 
15
16 libscilocalization_la_LIBADD =  $(top_builddir)/libs/MALLOC/libscimalloc.la \
17 $(top_builddir)/libs/hashtable/libscihashtable.la
18
19 libscilocalization_la_PKGCONFIG = localization.pc
20
21 datadir=${prefix}/modules
22 #### Target ######
23 target=$(datadir)/localization
24
25
26 #### localization : Conf files ####
27 libscilocalization_la_rootdir = $(target)
28 libscilocalization_la_root_DATA = changelog.txt licence.txt readme.txt VERSION
29
30
31 #### localization : Scilab macros ###
32 libscilocalization_la_macrodir = $(target)/macros
33 libscilocalization_la_macro_DATA22 = macros/setlanguage.sci macros/setlanguage.bin macros/names macros/lib macros/buildmacros.sce
34
35
36 ####┬álocalization : init scripts #### 
37 libscilocalization_la_etcdir = $(target)/etc
38 libscilocalization_la_etc_DATA = etc/localization.quit etc/localization.start
39
40
41 ####┬álocalization : include files ####
42 libscilocalization_la_includedir=$(includedir)/localization
43 libscilocalization_la_include_HEADERS = includes/localization.h
44
45 include $(top_srcdir)/Makefile.incl.am