/usr/include/cgnsBuild.defs is in libcgns-dev 3.3.0-4.
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 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 73 74 75 76 | # makefile include for building CGNS code
# this file contains the options and libraries used for
# building and linking CGNS code, and is intended to be
# included in a user's Makefile from the installation
#-----------------------------------------------------------------------
# CGNS library build options. A 1 indicates that the library
# was built with that option, a 0 indicates without
# CGNS_DEBUG = debug
# CGNS_LEGACY = legacy code (prior to 3.0)
# CGNS_SCOPING = scoping of enums
# CGNS_64BIT = 64 bit support
# CGNS_FORTRAN = Fortran interface
# CGNS_PARALLEL = parallel I/O
# CGNS_BASESCOPE = Base scope for family and zone reference-to
#-----------------------------------------------------------------------
CGNS_DEBUG = 0
CGNS_LEGACY = 1
CGNS_SCOPING = 0
CGNS_64BIT = 0
CGNS_FORTRAN = 1
CGNS_PARALLEL = 0
CGNS_BASESCOPE = 1
#-----------------------------------------------------------------------
# CGNS_LIBDIR - installation directory for CGNS library
# CGNS_INCLUDEDIR - installation directory for CGNS headers
#-----------------------------------------------------------------------
CGNS_LIBDIR = /usr/lib
CGNS_INCLUDEDIR = /usr/include
#-----------------------------------------------------------------------
# CGNS_CC - C compiler used to build library
# CGNS_CFLAGS - compiler flags used to build library
# CGNS_LDFLAGS - any additional linking flags
#-----------------------------------------------------------------------
CGNS_CC = /usr/bin/cc
CGNS_CFLAGS = -g -O2 -fdebug-prefix-map=/build/libcgns-_lIHT6/libcgns-3.3.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2;-O3 -DNDEBUG
CGNS_LDFLAGS = -Wl,-z,relro
#-----------------------------------------------------------------------
# LIBCGNS - CGNS library name
#-----------------------------------------------------------------------
CGNS_LIB = $(CGNS_LIBDIR)/libcgns.a
#-----------------------------------------------------------------------
# CGNS_HDF5INC - path to HDF5 header files
# CGNS_HDF5LIB - HDF5 library
# CGNS_SZIPLIB - szip library (if needed)
# CGNS_ZLIBLIB - zlib library (if needed)
#-----------------------------------------------------------------------
CGNS_HDF5INC =
CGNS_HDF5LIB =
CGNS_SZIPLIB =
CGNS_ZLIBLIB =
#-----------------------------------------------------------------------
# CGNS_MPIINC - path to MPI header files
# CGNS_MPILIBS - MPI libraries
#-----------------------------------------------------------------------
CGNS_MPIINC =
CGNS_MPILIBS =
#-----------------------------------------------------------------------
# CGNS_LINKLIBS contains the list of libraries
# with which a CGNS application needs to link
#-----------------------------------------------------------------------
CGNS_LINKLIBS = $(CGNS_LIB) $(CGNS_HDF5LIB) $(CGNS_SZIPLIB) \
$(CGNS_ZLIBLIB) $(CGNS_MPILIBS) -lm
|