Get ride of the useless pubdate tag.
[scilab.git] / scilab / modules / io / Makefile.am
1 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2 # Copyright (C) 2006 - INRIA - Sylvestre LEDRU
3 #
4 # This file is distributed under the same license as the Scilab package.
5
6
7 IO_C_SOURCES = src/c/getpidc.c \
8 src/c/setenvc.c \
9 src/c/systemc.c \
10 src/c/getenvc.c \
11 src/c/GetenvB.c \
12 src/c/v2cuniterror.c
13
14 IO_FORTRAN_SOURCES = src/fortran/v2unit.f \
15 src/fortran/newsave.f \
16 src/fortran/v2cunit.f
17
18 GATEWAY_C_SOURCES = sci_gateway/c/sci_read4b.c \
19 sci_gateway/c/sci_getio.c \
20 sci_gateway/c/sci_readb.c \
21 sci_gateway/c/sci_host.c \
22 sci_gateway/c/sci_file.c \
23 sci_gateway/c/sci_getenv.c \
24 sci_gateway/c/sci_write.c \
25 sci_gateway/c/sci_writeb.c \
26 sci_gateway/c/sci_setenv.c \
27 sci_gateway/c/gw_io.c \
28 sci_gateway/c/sci_read.c \
29 sci_gateway/c/sci_getpid.c \
30 sci_gateway/c/sci_write4b.c \
31 sci_gateway/c/sci_load.c \
32 sci_gateway/c/sci_unix.c \
33 sci_gateway/c/sci_save.c
34
35 GATEWAY_FORTRAN_SOURCES =  sci_gateway/fortran/intwrite4b.f \
36 sci_gateway/fortran/intwritb.f \
37 sci_gateway/fortran/intwrite.f \
38 sci_gateway/fortran/intread4b.f \
39 sci_gateway/fortran/intread.f \
40 sci_gateway/fortran/intreadb.f \
41 sci_gateway/fortran/intfile.f
42
43 libsciio_la_CPPFLAGS = -I$(srcdir)/includes/ \
44                         -I$(srcdir)/src/c/ \
45                         -I$(top_srcdir)/libs/MALLOC/includes/ \
46                         -I$(top_srcdir)/modules/core/includes/ \
47                         -I$(top_srcdir)/modules/fileio/includes/ \
48                         -I$(top_srcdir)/modules/api_scilab/includes/ \
49                         -I$(top_srcdir)/modules/output_stream/includes/ \
50                         -I$(top_srcdir)/modules/localization/includes/ \
51                         $(AM_CPPFLAGS)
52
53 if MAINTAINER_MODE
54 pkglib_LTLIBRARIES = libsciio.la
55 noinst_LTLIBRARIES = libsciio-algo.la
56 else
57 noinst_LTLIBRARIES = libsciio-algo.la libsciio.la
58 endif
59
60
61
62 libsciio_algo_la_SOURCES = $(IO_C_SOURCES) $(IO_FORTRAN_SOURCES)
63 libsciio_la_SOURCES = $(GATEWAY_C_SOURCES) $(GATEWAY_FORTRAN_SOURCES)
64 libsciio_algo_la_CPPFLAGS = $(libsciio_la_CPPFLAGS)
65
66 # For the code check (splint)
67 CHECK_SRC= $(IO_C_SOURCES) $(GATEWAY_C_SOURCES)
68 INCLUDE_FLAGS = $(libsciio_la_CPPFLAGS)
69
70 libsciio_la_LIBADD = libsciio-algo.la
71
72
73 #### Target ######
74 modulename=io
75
76 #### io : Conf files ####
77 libsciio_la_rootdir = $(mydatadir)
78 libsciio_la_root_DATA =  license.txt 
79
80
81 ####io : init scripts ####
82 libsciio_la_etcdir = $(mydatadir)/etc
83 libsciio_la_etc_DATA = etc/io.quit etc/io.start
84
85 ####io : gateway declaration ####
86 libsciio_la_sci_gatewaydir = $(mydatadir)/sci_gateway
87 libsciio_la_sci_gateway_DATA = sci_gateway/io_gateway.xml
88
89 include $(top_srcdir)/Makefile.incl.am
90