version 1.85, 2017/01/23 23:39:22
|
version 1.92, 2021/02/13 19:16:51
|
|
|
| |
# PostgreSQL | # PostgreSQL |
PGH = -I$(POSTGRES_INCS) | PGH = -I$(POSTGRES_INCS) |
PGL = -L$(POSTGRES_LIBS) |
|
PGLIBNAME = $(POSTGRES_LIB) |
# For use of dynamic library |
PGLIBS = $(PGL) -l$(PGLIBNAME) |
PGLIBS = $(POSTGRES_LIBS)/lib$(POSTGRES_LIB).so |
| |
# CFITSIO | # CFITSIO |
CFITSIOH = -I$(CFITSIO_INCS) | CFITSIOH = -I$(CFITSIO_INCS) |
CFITSIOL = -L$(CFITSIO_LIBS) | CFITSIOL = -L$(CFITSIO_LIBS) |
CFITSIOLIBNAME = $(CFITSIO_LIB) | CFITSIOLIBNAME = $(CFITSIO_LIB) |
CFITSIOLIBS = $(CFITSIOL) -l$(CFITSIOLIBNAME) |
# make sure to use static library so we don't have to deal with locating the dynamic one at run time |
|
# set back to dynamic (the default) for the other libraries that could follow cfitsio |
|
CFITSIOLIBS = $(CFITSIOL) -Wl,-Bstatic -l$(CFITSIOLIBNAME) -Wl,-Bdynamic |
|
# end CFITSIO |
| |
# GSL | # GSL |
GSLH = -I$(GSL_INCS) | GSLH = -I$(GSL_INCS) |
|
|
# All modules must be able to find libdsds.so. The define DRMS_LIBDIR specifies the path to | # All modules must be able to find libdsds.so. The define DRMS_LIBDIR specifies the path to |
# all libraries. | # all libraries. |
| |
GLOBALSW = -DDRMS_ARCH="\"$(MACH)\"" |
GLOBALSW = -DDRMS_ARCH="\"$(MACH)\"" -DDRMS_MAKE_ROOT_DIRECTORY="\"$(SRCDIR)\"" |
# | # |
#***********************************************************************************************# | #***********************************************************************************************# |
| |
|
|
# | # |
# Link flags for all targets | # Link flags for all targets |
# | # |
LL_ALL = $(SYSLIBS) -lcurl -lcrypto |
LL_ALL = $(SYSLIBS) -lcurl |
|
|
|
ifeq ($(JSOC_MACHINE), linux_avx) |
|
GCC_LF_ALL = $(STATIC) -Wl,--copy-dt-needed-entries |
|
ICC_LF_ALL = -diag-disable 10237 $(STATIC) -openmp -static-intel -Wl,-export-dynamic -Wl,--copy-dt-needed-entries |
|
else |
GCC_LF_ALL = $(STATIC) | GCC_LF_ALL = $(STATIC) |
ICC_LF_ALL = -diag-disable 10237 $(STATIC) -openmp -static-intel -Wl,-export-dynamic | ICC_LF_ALL = -diag-disable 10237 $(STATIC) -openmp -static-intel -Wl,-export-dynamic |
|
endif |
| |
# Fortran global LINK flags | # Fortran global LINK flags |
ifeq ($(FCOMPILER), ifort) | ifeq ($(FCOMPILER), ifort) |
Line 340 SLLIB = ln -sf ../../_$(MACH)/$@ ../lib |
|
Line 349 SLLIB = ln -sf ../../_$(MACH)/$@ ../lib |
|
# LIBRARY COLLECTIONS | # LIBRARY COLLECTIONS |
# | # |
ALL_LIBS_FPIC = $(LIBDRMSCLIENT_FPIC) $(LIBDBCLIENT_FPIC) $(LIBCMDPARAMS_FPIC) $(LIBTHREADUTIL_FPIC) $(LIBRICECOMP_FPIC) $(LIBDEFS_FPIC) $(LIBMISC_FPIC) $(LIBDSTRUCT_FPIC) $(LIBTIMEIO_FPIC) $(LIBFITSRW_FPIC) | ALL_LIBS_FPIC = $(LIBDRMSCLIENT_FPIC) $(LIBDBCLIENT_FPIC) $(LIBCMDPARAMS_FPIC) $(LIBTHREADUTIL_FPIC) $(LIBRICECOMP_FPIC) $(LIBDEFS_FPIC) $(LIBMISC_FPIC) $(LIBDSTRUCT_FPIC) $(LIBTIMEIO_FPIC) $(LIBFITSRW_FPIC) |
|
ALL_LIBS_PY_FPIC = $(LIBDRMS_SERVER_FPIC) $(LIBDB_SERVER_FPIC) $(LIBCMDPARAMS_FPIC) $(LIBTHREADUTIL_FPIC) $(LIBRICECOMP_FPIC) $(LIBDEFS_FPIC) $(LIBMISC_FPIC) $(LIBDSTRUCT_FPIC) $(LIBTIMEIO_FPIC) $(LIBFITSRW_FPIC) |
| |
### Standard parts | ### Standard parts |
# | # |