summaryrefslogtreecommitdiffstats
path: root/scilab/modules/sound/Makefile.am
blob: 4572b3ee53e6ae0796b3b205eb18beee3df0d250 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
# Copyright (C) 2006 - INRIA - Sylvestre Ledru <sylvestre.ledru@inria.fr>
# 
# This file is distributed under the same license as the Scilab package.


GATEWAY_C_SOURCES = sci_gateway/c/gw_sound.c \
sci_gateway/c/sci_beep.c \
sci_gateway/c/sci_PlaySound.c

libscisound_la_CFLAGS=  -I$(srcdir)/includes/ \
			-I$(srcdir)/src/c/ \
			-I$(top_srcdir)/libs/MALLOC/includes/ \
			-I$(top_srcdir)/modules/output_stream/includes \
			-I$(top_srcdir)/modules/api_scilab/includes \
			-I$(top_srcdir)/modules/fileio/includes

pkglib_LTLIBRARIES = libscisound.la

libscisound_la_LDFLAGS = -version-info $(SCILAB_LIBRARY_VERSION)

libscisound_la_SOURCES = $(GATEWAY_C_SOURCES)

# For the code check (splint)
CHECK_SRC= $(libscisound_la_SOURCES)
INCLUDE_FLAGS = $(libscisound_la_CFLAGS)

libscisound_la_LIBADD =  $(top_builddir)/modules/core/libscicore.la $(top_builddir)/libs/MALLOC/libscimalloc.la $(top_builddir)/modules/output_stream/libscioutput_stream.la


#### Target ######
modulename=sound


#### sound : Conf files ####
libscisound_la_rootdir = $(mydatadir)
libscisound_la_root_DATA = changelog.txt license.txt readme.txt version.xml


####�sound : init scripts ####
libscisound_la_etcdir = $(mydatadir)/etc
libscisound_la_etc_DATA = etc/sound.quit etc/sound.start

####�sound : gateway declaration ####
libscisound_la_sci_gatewaydir = $(mydatadir)/sci_gateway
libscisound_la_sci_gateway_DATA = sci_gateway/sound_gateway.xml

####�sound : include files ####
libscisound_la_includedir=$(pkgincludedir)

include $(top_srcdir)/Makefile.incl.am