-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathMakefile.am
41 lines (30 loc) · 1.15 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
AUTOMAKE_OPTIONS = gnu subdir-objects color-tests
ACLOCAL_AMFLAGS = -I m4
AM_CFLAGS = -std=c11 -Wextra -Wall -Wfloat-equal -Wundef \
-Wpointer-arith -Wcast-align -Wstrict-prototypes \
-Wmissing-prototypes -Wstrict-overflow=1 -Wwrite-strings \
-Waggregate-return -Wswitch-default \
-Wswitch-enum -Wconversion -Wunreachable-code \
-Wno-unused-result -save-temps -fverbose-asm \
-Werror-implicit-function-declaration -pedantic \
-Wformat=2 -Wformat-y2k -Wno-format-extra-args \
-Wno-format-zero-length -Wformat-nonliteral \
-Wformat-security -Wno-unknown-pragmas \
-funroll-loops -finline-functions -fpic \
-march=native \
${OPENMP_CFLAGS} ${CL_CFLAGS} ${GMP_CFLAGS}
LDADD = ${GMP_LIBS} ${CL_LIBS}
lib_LTLIBRARIES = libgb.la
libgb_la_SOURCES = \
src/gb.c
BUILT_SOURCES = config.h
pkgincludesubdir = $(includedir)/src
pkgincludesub_HEADERS = \
src/data.h config.h
nodist_pkgincludesub_HEADERS = config.h
EXTRA_DIST=autogen.sh
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = gb.pc
libgb_la_LDFLAGS = $(LDFLAGS) -no-undefined -rdynamic -version-info 0
libgb_la_LIBADD = $(LDADD)
SUBDIRS = . test