bug 1412
[scilab.git] / scilab / modules / output_stream / Makefile.am
1 ##
2 ##  -*- makefile -*-
3 ##
4 ## Makefile.am
5 ## Made by  Bruno JOFRET <bruno.jofret@inria.fr>
6 ##
7 ## Started on  Fri Oct 26 13:48:04 2007 Bruno
8 ## Last update Fri, 23 Nov 2007 15:00:33 +0100 Sylvestre
9 ##
10 ## Copyright INRIA 2007
11 ##
12
13 OUTPUT_STREAM_C_SOURCES =       src/c/erro.c \
14                                 src/c/cerro.c \
15                                 src/c/Scierror.c \
16                                 src/c/msgstore.c \
17                                 src/c/msgout.c \
18                                 src/c/msgs.c \
19                                 src/c/msgstxt.c \
20                                 src/c/basout.c \
21                                 src/c/sciprint.c \
22                                 src/c/sciprint_full.c \
23                                 src/c/errmds.c \
24                                 src/c/errmsg.c \
25                                 src/c/error.c \
26                                 src/c/error_internal.c \
27                                 src/c/do_xxprintf.c \
28                                 src/c/set_xxprintf.c
29
30 OUTPUT_STREAM_FORTRAN_SOURCES = src/fortran/wspdsp.f \
31                 src/fortran/wmdsp.f \
32                 src/fortran/strdsp.f \
33                 src/fortran/prntid.f \
34                 src/fortran/print.f \
35                 src/fortran/lspdsp.f \
36                 src/fortran/fmttyp.f \
37                 src/fortran/fmt.f \
38                 src/fortran/dspdsp.f \
39                 src/fortran/dmrdsp.f \
40                 src/fortran/dmpdsp.f \
41                 src/fortran/dmdspf.f \
42                 src/fortran/dmdsp.f \
43                 src/fortran/dldsp.f \
44                 src/fortran/basouttofile.f \
45                 src/fortran/formatnumber.f
46
47
48 GATEWAY_C_SOURCES = sci_gateway/c/gw_output_stream.c \
49                 sci_gateway/c/sci_print.c \
50                 sci_gateway/c/sci_mprintf.c \
51                 sci_gateway/c/sci_msprintf.c \
52                 sci_gateway/c/sci_disp.c
53                 
54
55 GATEWAY_FORTRAN_SOURCES = sci_gateway/fortran/intprint.f \
56                         sci_gateway/fortran/intdisp.f
57
58 libscioutput_stream_la_CFLAGS=  -I$(top_srcdir)/libs/MALLOC/includes/ \
59 -I$(srcdir)/includes/ \
60 -I$(top_srcdir)/modules/core/includes \
61 -I$(srcdir)/src/c/ \
62 -I$(top_srcdir)/modules/string/includes
63
64 pkglib_LTLIBRARIES = libscioutput_stream.la
65
66 libscioutput_stream_la_LDFLAGS = -version-info $(SCILAB_LIBRARY_VERSION)
67
68 libscioutput_stream_la_SOURCES = $(OUTPUT_STREAM_C_SOURCES) $(OUTPUT_STREAM_FORTRAN_SOURCES) $(GATEWAY_C_SOURCES) $(GATEWAY_FORTRAN_SOURCES) $(JNI_SOURCES)
69
70 # For the code check (splint)
71 CHECK_SRC= $(OUTPUT_STREAM_C_SOURCES) $(GATEWAY_C_SOURCES)
72 INCLUDE_FLAGS = $(libscioutput_stream_la_CFLAGS)
73
74 # Many stuff depends on this one ... commented
75 #libscioutput_stream_la_LIBADD =  $(top_builddir)/modules/console/libsciconsole.la $(top_builddir)/modules/string/libscistring.la $(top_builddir)/modules/fileio/libscifileio.la $(top_builddir)/modules/shell/libscishell.la $(top_builddir)/modules/core/libscicore.la $(top_builddir)/libs/MALLOC/libscimalloc.la
76 #### Target ######
77 modulename=output_stream
78
79 #### output_stream : Conf files ####
80 libscioutput_stream_la_rootdir = $(mydatadir)
81 libscioutput_stream_la_root_DATA = changelog.txt license.txt readme.txt version.xml
82
83
84 #### output_stream : init scripts ####
85 libscioutput_stream_la_etcdir = $(mydatadir)/etc
86 libscioutput_stream_la_etc_DATA = etc/output_stream.quit etc/output_stream.start
87
88 #### output_stream : gateway declaration ####
89 libscioutput_stream_la_sci_gatewaydir = $(mydatadir)/sci_gateway
90 libscioutput_stream_la_sci_gateway_DATA = sci_gateway/output_stream_gateway.xml
91
92 #### output_stream : include files ####
93 libscioutput_stream_la_includedir=$(pkgincludedir)/output_stream
94 libscioutput_stream_la_include_HEADERS = includes/cerro.h \
95 includes/erro.h \
96 includes/do_error_number.h \
97 includes/errmds.h \
98 includes/sciprint.h \
99 includes/Scierror.h \
100 includes/basout.h \
101 includes/msgs.h \
102 includes/sciprint_full.h \
103 includes/do_xxprintf.h \
104 includes/gw_output_stream.h
105
106 include $(top_srcdir)/Makefile.incl.am
107