Merge remote-tracking branch 'origin/master' into jit
[scilab.git] / scilab / modules / threads / Makefile.am
index 3633726..2582615 100644 (file)
@@ -12,8 +12,11 @@ THREADS_CPP_SOURCES = \
 
 libscithreads_la_CPPFLAGS= \
        -I$(srcdir)/includes/
-
+if MAINTAINER_MODE
 pkglib_LTLIBRARIES = libscithreads.la
+else
+noinst_LTLIBRARIES = libscithreads.la
+endif
 
 libscithreads_la_LDFLAGS = -version-number $(SCILAB_LIBRARY_VERSION) -lpthread
 
@@ -41,4 +44,10 @@ libscithreads_la_rootdir = $(mydatadir)
 # libscithreads_la_sci_gatewaydir = $(mydatadir)/sci_gateway
 # libscithreads_la_sci_gateway_DATA = sci_gateway/threads_gateway.xml
 
+#### threads : include files ####
+libscithreads_la_includedir=$(pkgincludedir)
+libscithreads_la_include_HEADERS = \
+includes/Thread_Wrapper.h \
+includes/dynlib_threads.h
+
 include $(top_srcdir)/Makefile.incl.am