1# GNUmakefile.  Generated from GNUmakefile.in by configure.
2
3# This file is the part of the GAP build system. It is the first file
4# processed by GNU make when build GAP. If you want to understand the
5# build system, you can begin tracing it from here.
6#
7# To learn more about the GAP build system, see README.buildsys.md
8
9
10#
11# Set lots of variables to values computed by the configure script
12#
13
14# GAP specific
15SYS_IS_DARWIN =
16SYS_IS_CYGWIN32 =
17ABI = 64
18ABI_CFLAGS =
19
20# HPC-GAP specific
21HPCGAP = no
22ADDGUARDS2 =
23
24# garbage collector source files
25GC_SOURCES = src/gasman.c
26
27# compatibility mode
28COMPAT_MODE = yes
29GAPARCH = x86_64-pc-linux-gnu-default64-kv3
30
31# GAP kernel version
32GAP_KERNEL_MINOR_VERSION = 1
33GAP_KERNEL_MAJOR_VERSION = 3
34
35# autoconf package metadata
36PACKAGE_BUGREPORT = support@gap-system.org
37PACKAGE_NAME = GAP
38PACKAGE_STRING = GAP 4.dev
39PACKAGE_TARNAME = gap
40PACKAGE_URL = http://www.gap-system.org/
41PACKAGE_VERSION = 4.dev
42
43# autoconf host information
44host = x86_64-pc-linux-gnu
45host_alias =
46host_cpu = x86_64
47host_os = linux-gnu
48host_vendor = pc
49
50# compile and linker flags
51CFLAGS = -g -O2
52CPPFLAGS =
53DEFS = -DHAVE_CONFIG_H
54LDFLAGS =
55LIBS = -lm -ldl -lutil
56
57WARNING_CPPFLAGS = -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wredundant-decls -Wno-unused-parameter -Wmissing-field-initializers -Wformat=2 -Wold-style-definition -Wformat-nonliteral -Wformat-security -Wno-sign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wno-implicit-fallthrough -Wno-inline -Wlogical-op -Wdouble-promotion -Wno-cast-function-type -Wnested-externs -Wimplicit-function-declaration -Wjump-misses-init -Wno-error=unused-parameter -Wno-error=sign-compare -Wno-error=inline
58
59BUILD_GMP = yes
60GMP_CPPFLAGS = -I${abs_builddir}/extern/install/gmp/include
61GMP_LDFLAGS = ${abs_builddir}/extern/install/gmp/lib/libgmp.la
62GMP_LIBS =
63
64BUILD_ZLIB = no
65ZLIB_CPPFLAGS =
66ZLIB_LDFLAGS =
67ZLIB_LIBS = -lz
68
69READLINE_CPPFLAGS =
70READLINE_LDFLAGS =
71READLINE_LIBS =
72
73JULIA =
74JULIA_CPPFLAGS =
75JULIA_LDFLAGS =
76JULIA_LIBS =
77
78BUILD_BOEHM_GC =
79BOEHM_GC_CPPFLAGS =
80BOEHM_GC_LDFLAGS =
81BOEHM_GC_LIBS =
82
83BUILD_LIBATOMIC_OPS =
84LIBATOMIC_OPS_CPPFLAGS =
85LIBATOMIC_OPS_LDFLAGS =
86LIBATOMIC_OPS_LIBS =
87
88PTHREAD_CFLAGS =
89PTHREAD_LIBS =
90
91# tools
92AR = ar
93AS = as
94AWK = mawk
95CC = gcc
96CPP = gcc -E
97INSTALL = /usr/bin/install -c
98LD = /usr/bin/ld -m elf_x86_64
99LIPO =
100LN_S = ln -s
101MANIFEST_TOOL = :
102MKDIR_P = /bin/mkdir -p
103NM = /usr/bin/nm -B
104NMEDIT =
105OBJDUMP = objdump
106OTOOL =
107OTOOL64 =
108RANLIB = ranlib
109SED = /bin/sed
110SHELL = /bin/bash
111STRIP = strip
112
113# libtool
114LIBTOOL = $(SHELL) $(top_builddir)/libtool
115LTLIBOBJS =
116LT_SYS_LIBRARY_PATH =
117
118# misc
119EXEEXT =
120LIBOBJS =
121OBJEXT = o
122PATH_SEPARATOR = :
123program_transform_name = s,x,x,
124target_alias =
125
126build = x86_64-pc-linux-gnu
127build_alias =
128build_cpu = x86_64
129build_os = linux-gnu
130build_vendor = pc
131
132# build paths
133abs_builddir = /usr/share/gap-4.10.2/pkg/agt
134abs_srcdir = /usr/share/gap-4.10.2/pkg/agt/../..
135builddir = .
136srcdir = ../..
137
138# for compatibility: top_builddir is used by libtool for LIBTOOL variable;
139# keeping the others makes it easier to "git bisect" back and forth
140top_builddir = .
141top_srcdir = ../..
142abs_top_builddir = /usr/share/gap-4.10.2/pkg/agt
143abs_top_srcdir = /usr/share/gap-4.10.2/pkg/agt/../..
144
145# install paths
146bindir = ${exec_prefix}/bin
147datadir = ${datarootdir}
148datarootdir = ${prefix}/share
149docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
150exec_prefix = ${prefix}
151htmldir = ${docdir}
152includedir = ${prefix}/include
153infodir = ${datarootdir}/info
154libdir = ${exec_prefix}/lib
155libexecdir = ${exec_prefix}/libexec
156localedir = ${datarootdir}/locale
157localstatedir = ${prefix}/var
158mandir = ${datarootdir}/man
159pdfdir = ${docdir}
160prefix = /usr/local
161psdir = ${docdir}
162sbindir = ${exec_prefix}/sbin
163sharedstatedir = ${prefix}/com
164sysconfdir = ${prefix}/etc
165
166
167#
168# Set vpath values to make GNU make read source files from $(srcdir).
169#
170# The vpath directives below ensure that if we reference src/foo.c, then if it
171# is not found in the build dir (e.g. because we are doing an out-of-tree
172# build), GNU make automatically looks for $(srcdir)/src/foo.c
173# #
174# Note that `vpath' is a GNU make extension. Unlike VPATH, it can be
175# restricted to certain file extensions. This way, we can mix in-tree and
176# out-of-tree builds without accidentally picking up e.g. *.o files from the
177# wrong tree. Wee still have to be careful about gen/config.h, though.
178#
179vpath %.h $(srcdir)
180vpath %.c $(srcdir)
181vpath %.s $(srcdir)
182
183
184#
185# Finally, include the actual make rules.
186#
187include $(srcdir)/Makefile.rules
188