File: Makefile.am

package info (click to toggle)
eegdev 0.2-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,972 kB
  • sloc: ansic: 32,259; sh: 10,941; makefile: 247; lex: 128; yacc: 118
file content (44 lines) | stat: -rw-r--r-- 1,146 bytes parent folder | download | duplicates (6)
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
# Verify the examples compile and execute
if BUILD_CORELIB
check_PROGRAMS = eegdev_acq

if BUILD_SAW_EXAMPLE
check_LTLIBRARIES = saw.la
TESTS = testexamples.sh
endif

if XDF_SUPPORT
check_PROGRAMS += recinxdf
endif

# install examples files
exampledir = $(docdir)/examples
nobase_dist_example_DATA = README			\
                           $(eegdev_acq_SOURCES)	\
                           $(recinxdf_SOURCES)		\
                           $(saw_la_SOURCES)		\
			   plugin/Makefile		\
                           plugin/README
endif


TESTS_ENVIRONMENT = EEGDEV_PLUGINS_DIR=.libs EXEEXT=$(EXEEXT)
EXTRA_DIST=testexamples.sh

AM_CPPFLAGS = -I$(top_srcdir)/src/core -I$(top_srcdir)/lib


eegdev_acq_SOURCES = library-usage/eegdev_acq.c
eegdev_acq_LDADD = $(top_builddir)/src/core/libeegdev.la


recinxdf_SOURCES = library-usage/acquisition.c library-usage/acquisition.h\
                   library-usage/recinxdf.c
recinxdf_LDADD = $(top_builddir)/src/core/libeegdev.la -lxdffileio


saw_la_SOURCES = plugin/saw.c
saw_la_LDFLAGS=-module -avoid-version -no-undefined -rpath /nowhere
saw_la_LIBADD = $(LIB_CLOCK_FUNCS) $(top_builddir)/lib/libgnu.la