/usr/lib/rheolef/rheolef.mk is in librheolef-dev 6.5-1+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | #
# This file is part of Rheolef.
#
# Copyright (C) 2000-2009 Pierre Saramito
#
# Rheolef is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# Rheolef is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Rheolef; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# --------------------------------------------------------------------------
## include this file in Makefile to work with rheolef
rheolef_prefix = /usr
rheolef_exec_prefix = /usr
CXX = g++
#CXXFLAGS = -O3 -D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -std=c++11 -Wall -Wno-unused -Werror -Wno-strict-aliasing -O2
CC = gcc
CFLAGS = -O2
CPP = gcc -E
CXXCPP = g++ -E
#CPPFLAGS = -D_FORTIFY_SOURCE=2
LD = g++
LDFLAGS = -Wl,-z,relro -Wl,-Bsymbolic-functions -O3 -D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security
INCLUDES_BLACS = @INCLUDES_BLACS@
LDADD_BLACS = @LDADD_BLACS@
INCLUDES_SCALAPACK =
LDADD_SCALAPACK =
LDADD_RHEOLEF = ${rheolef_exec_prefix}/lib/librheolef.la
RHEOLEF_HARDCODE_FLAG = -Wl,-rpath -Wl,/usr/lib
INCLUDES_RHEOLEF = -D_FORTIFY_SOURCE=2 -O3 -D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -std=c++11 -Wall -Wno-unused -Werror -Wno-strict-aliasing -O2 -I/usr/lib/openmpi/include -I${rheolef_prefix}/include -I${rheolef_exec_prefix}/lib
LIBS_RHEOLEF = -L${rheolef_exec_prefix}/lib -lrheolef -lCGAL -lgmp -ldmumps -lumfpack -lamd -lptscotchparmetis -lptscotch -lptscotcherrexit -lz -lboost_mpi -lboost_serialization -L/usr/lib/openmpi/lib -lmpi_cxx -lmpi $(RHEOLEF_HARDCODE_FLAG)
|