-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommon.mk.in
43 lines (37 loc) · 1.35 KB
/
common.mk.in
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
# Common variables expanded by autoconf
# builddir: whether to build the final artifacts
builddir := .
# objectdir: container of the objects
objectdir := objects
# MonetDB dependencies
MONETDB_PREFIX := @MONETDB_PREFIX@
MONETDB_INCLUDEDIR := @MONETDB_INCLUDEDIR@
MONETDB_LIBDIR := @MONETDB_LIBDIR@
MONETDB_INCLUDES := @MONETDB_INCLUDES@
MONETDB_LIBS := @MONETDB_LIBS@
# Installation paths
prefix := @prefix@
exec_prefix := @exec_prefix@
libdir := @libdir@
# Compiler programs & flags
# !!! It assumes that ${top_srcdir} has been defined in the container file !!!
CC := @CC@
CXX := @CXX@
CPPFLAGS := @CPPFLAGS@
EXTRA_CPPFLAGS := @EXTRA_CPPFLAGS@ # extra flags defined by autoconf, similar to AM_CPPFLAGS
SRC_CPPFLAGS := -I@top_srcdir@/src
ALL_CPPFLAGS := ${CPPFLAGS} ${EXTRA_CPPFLAGS} ${SRC_CPPFLAGS}
CFLAGS := @CFLAGS@
EXTRA_CFLAGS := @EXTRA_CFLAGS@ # extra flags defined by autoconf, similar to AM_CFLAGS
ALL_CFLAGS := ${ALL_CPPFLAGS} ${MONETDB_INCLUDES} ${EXTRA_CFLAGS} ${CFLAGS}
CXXFLAGS := @CXXFLAGS@
EXTRA_CXXFLAGS := @EXTRA_CXXFLAGS@ # extra flags defined by autoconf, similar to AM_CXXFLAGS
ALL_CXXFLAGS := ${ALL_CPPFLAGS} ${MONETDB_INCLUDES} ${EXTRA_CXXFLAGS} ${CXXFLAGS}
# Linker
LIBS := @LIBS@
LDFLAGS := ${LIBS} ${MONETDB_LIBS}
# install script
INSTALL := @INSTALL@
INSTALL_PROGRAM := @INSTALL_PROGRAM@
INSTALL_SCRIPT := @INSTALL_SCRIPT@
INSTALL_DATA := @INSTALL_DATA@