Merge remote-tracking branch 'origin/master' into YaSp
[scilab.git] / scilab / modules / threads / Makefile.am
1 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2 # Copyright (C) 2011 - DIGITEO - Antoine ELIAS
3 #
4 # This file must be used under the terms of the CeCILL.
5 # This source file is licensed as described in the file COPYING, which
6 # you should have received as part of this distribution.  The terms
7 # are also available at
8 # http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
9
10 THREADS_CPP_SOURCES = \
11         src/cpp/Thread_Wrapper.cpp
12
13 libscithreads_la_CPPFLAGS= \
14         -I$(srcdir)/includes/
15 if MAINTAINER_MODE
16 pkglib_LTLIBRARIES = libscithreads.la
17 else
18 noinst_LTLIBRARIES = libscithreads.la
19 endif
20
21 libscithreads_la_LDFLAGS = -version-number $(SCILAB_LIBRARY_VERSION) -lpthread
22
23 libscithreads_la_SOURCES = $(THREADS_CPP_SOURCES)
24
25 # For the code check (splint)
26 CHECK_SRC= $(THREADS_CPP_SOURCES)
27 INCLUDE_FLAGS = $(libscithreads_la_CPPFLAGS)
28
29 # Many stuff depends on this one ... commented
30 # libscithreads_la_LIBADD =  libscithreads.la
31
32 #### Target ######
33 modulename=threads
34
35 #### threads : Conf files ####
36 libscithreads_la_rootdir = $(mydatadir)
37
38
39 #### threads : init scripts ####
40 # libscithreads_la_etcdir = $(mydatadir)/etc
41 # libscithreads_la_etc_DATA = etc/threads.quit etc/threads.start
42
43 #### threads : gateway declaration ####
44 # libscithreads_la_sci_gatewaydir = $(mydatadir)/sci_gateway
45 # libscithreads_la_sci_gateway_DATA = sci_gateway/threads_gateway.xml
46
47 #### threads : include files ####
48 libscithreads_la_includedir=$(pkgincludedir)
49 libscithreads_la_include_HEADERS = \
50 includes/Thread_Wrapper.h
51
52 include $(top_srcdir)/Makefile.incl.am