-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile.am
72 lines (54 loc) · 1.84 KB
/
Makefile.am
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
AUTOMAKE_OPTIONS = gnu subdir-objects
ACLOCAL_AMFLAGS = -I m4
AM_CFLAGS = -std=gnu99 -march=native -Wextra -Wall -Wfloat-equal -Wundef \
-Wpointer-arith -Wcast-align -Wstrict-prototypes \
-Wmissing-prototypes -Wstrict-overflow=5 -Wwrite-strings \
-Waggregate-return -Wswitch-default \
-Wswitch-enum -Wconversion -Wunreachable-code \
-Wno-unused-result -save-temps -fverbose-asm -masm=intel \
-Werror-implicit-function-declaration -pedantic \
-Wformat=2 -Wformat-y2k -Wno-format-extra-args \
-Wno-format-zero-length -Wformat-nonliteral \
-Wformat-security -Wno-unknown-pragmas -mpopcnt \
-funroll-loops -finline-functions -fpic \
${OPENMP_CFLAGS} ${CL_CFLAGS}
#AM_LIBS = ${CL_LIBS}
lib_LTLIBRARIES = libgbla.la
libgbla_la_SOURCES = \
src/matrix.h src/matrix.c \
src/mapping.h src/mapping.c \
src/elimination.h src/elimination.c \
src/cl-helper.h src/cl-helper.c
BUILT_SOURCES = src/gbla_config.h
dev_stuff= \
tools/dump_matrix.h \
tools/macros.h \
tools/ouvrir.h \
tools/print_helper.h \
tools/selecter.h \
tools/tools.h \
tools/types.h\
draft/matrix.h \
draft/echelon.h
pkgincludesubdir = $(includedir)/gbla/src/
pkgincludesub_HEADERS = \
src/types.h \
src/matrix.h \
src/mapping.h \
src/elimination.h \
src/cl-helper.h \
src/cl-timing.h
pkginclude_HEADERS = config.h
EXTRA_DIST=autogen.sh tools/Makefile tools/converter.c tools/dump_matrix.c
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = gbla.pc
libgbla_la_LDFLAGS = $(LDFLAGS) -release $(RELEASE) -no-undefined
bin_PROGRAMS = gbla
# set up the console program. Listing the headers in sources ensure that
# those files are included in distributions.
gbla_SOURCES = \
cli/gbla.h cli/gbla.c \
cli/io.h cli/io.c
gbla_LDADD = $(top_builddir)/libgbla.la ${CL_LIBS} $(DEPS_LIBS) -lm
SUBDIRS =
TESTS = cli-tests poly-tests