(file) Return to make_basic.mk CVS log (file) (dir) Up to [Development] / JSOC

Diff for /JSOC/make_basic.mk between version 1.38 and 1.39

version 1.38, 2009/02/06 00:25:08 version 1.39, 2009/04/08 18:31:52
Line 64  ifeq ($(JSOC_MACHINE), linux_x86_64)
Line 64  ifeq ($(JSOC_MACHINE), linux_x86_64)
   F77 = ifort -mcmodel=medium   F77 = ifort -mcmodel=medium
 endif endif
  
   #***********************************************************************************************#
   #
   # This section contains make variables that hold the paths to and names of third-party libraries.
   # Variables that end in 'H' contain the -I link flags that contain the include paths
   # for the library headers, variables that end in 'L' contain the -L link flags that
   # contain the paths to the library binaries, and variables
   # that end in "LIBS" contain the full link cmd (the -L flag plus the -l flag)
   #
 # Path to 3rd-party library headers # Path to 3rd-party library headers
 FMATHLIBSH = -I$(_JSOCROOT_)/lib_third_party/include FMATHLIBSH = -I$(_JSOCROOT_)/lib_third_party/include
 CFITSIOH = -I$(_JSOCROOT_)/lib_third_party/include CFITSIOH = -I$(_JSOCROOT_)/lib_third_party/include
Line 103  ifeq ($(JSOC_MACHINE), mac_osx_ia32)
Line 111  ifeq ($(JSOC_MACHINE), mac_osx_ia32)
 endif endif
  
 # All 3rd-party math libraries - local rules can define a subset # All 3rd-party math libraries - local rules can define a subset
 FMATHLIBS = $(FMATHLIBSL) -lfftw3f -lcfitsio  FMATHLIBS = $(FMATHLIBSL) -lfftw3f
 CFITSIOLIBS = $(CFITSIOL) -lcfitsio CFITSIOLIBS = $(CFITSIOL) -lcfitsio
  
 ifeq ($(COMPILER), gcc) ifeq ($(COMPILER), gcc)
Line 116  ifeq ($(COMPILER), gcc)
Line 124  ifeq ($(COMPILER), gcc)
 endif endif
  
 GSLLIBS = $(GSLL) -lgsl -lgslcblas GSLLIBS = $(GSLL) -lgsl -lgslcblas
   #***********************************************************************************************#
   
  
 # Compilation define customizations (eg., for remote DRMS builds) # Compilation define customizations (eg., for remote DRMS builds)
 CUSTOMSW = CUSTOMSW =
Line 295  $(MODEXE_SOCK): LL_TGT := $(LL_TGT) $(CF
Line 305  $(MODEXE_SOCK): LL_TGT := $(LL_TGT) $(CF
 $(MODEXE_SOCK): %_sock: %.o $(MODLIBS_SOCK) $(MODEXE_SOCK): %_sock: %.o $(MODLIBS_SOCK)
                         $(LINK)                         $(LINK)
                         $(SLBIN)                         $(SLBIN)
   # FMODEXE contains all Fortran modules - the DoIt() function is defined inside a .f file.
 $(FMODEXE):     LL_TGT := $(LL_TGT) $(CFITSIOLIBS)  # These are socket-connect modules only. Assume they use third-party Fortran libraries
   # (although this may not be the case).
   $(FMODEXE):     LL_TGT := $(LL_TGT) $(CFITSIOLIBS) $(FMATHLIBS)
 $(FMODEXE):     %_sock: %.o $(FMODLIBS_SOCK) $(FMODEXE):     %_sock: %.o $(FMODLIBS_SOCK)
                         $(FLINK)                         $(FLINK)
                         $(SLBIN)                         $(SLBIN)
  
 $(MODEXE_USEF): LL_TGT := $(LL_TGT) -lpq $(CFITSIOLIBS)  # MODEXE_USEF contains all C direct-connect modules that use third-party Fortran libraries.
   $(MODEXE_USEF): LL_TGT := $(LL_TGT) -lpq $(CFITSIOLIBS) $(FMATHLIBS)
 $(MODEXE_USEF):     %:  %.o $(MODLIBS) $(MODEXE_USEF):     %:  %.o $(MODLIBS)
                         $(FLINK)                         $(FLINK)
                         $(SLBIN)                         $(SLBIN)
   # MODEXE_USEF contains all C socket-connect modules that use third-party Fortran libraries.
 $(MODEXE_USEF_SOCK):    LL_TGT := $(LL_TGT) $(CFITSIOLIBS)  $(MODEXE_USEF_SOCK):    LL_TGT := $(LL_TGT) $(CFITSIOLIBS) $(FMATHLIBS)
 $(MODEXE_USEF_SOCK): %_sock: %.o $(MODLIBS_SOCK) $(MODEXE_USEF_SOCK): %_sock: %.o $(MODLIBS_SOCK)
                         $(FLINK)                         $(FLINK)
                         $(SLBIN)                         $(SLBIN)


Legend:
Removed from v.1.38  
changed lines
  Added in v.1.39

Karen Tian
Powered by
ViewCVS 0.9.4