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

  1 arta  1.79 #***********************************************************************************************#
  2            #
  3            # INITIALIZATION
  4            #
  5            
  6 arta  1.1  VPATH  = $(SRCDIR)
  7            STATIC = 
  8 arta  1.72 DBMS = POSTGRESQL
  9 arta  1.79 CUSTOMSW =
 10 arta  1.1  
 11 arta  1.62 # Run a script to determine the machine on which make is being run. This
 12            # MAY return a machine type, if the host found falls into one of several
 13            # categories (like dbserver).
 14 arta  1.80 MACHTYPE = $(shell hostname)
 15 arta  1.62 
 16 arta  1.58 # If MACH was set when the make command was issued (eg., make MACH='N02'), then
 17 arta  1.80 # use its value for the output/obj directory and use the drmsparams.mk variables
 18 arta  1.58 # relevant to its value. Otherwise, use $(JSOC_MACHINE).
 19 arta  1.57 ifeq ($(MACH),)
 20            MACH = $(JSOC_MACHINE)
 21            endif
 22            
 23 arta  1.46 #***********************************************************************************************#
 24            #
 25            # COMPILER SELECTION
 26            #
 27 rick  1.29 COMPILER = icc
 28 arta  1.46 FCOMPILER = ifort
 29 kehcheng 1.78 MPICOMPILER = $(MPI_PATH)/mpicc
 30               MPIFCOMPILER = $(MPI_PATH)/mpif90
 31 arta     1.46 
 32 arta     1.80 # can set through drmsparams.mk or through environment
 33 arta     1.47 ifneq ($(JSOC_COMPILER),)
 34               COMPILER = $(JSOC_COMPILER)
 35 arta     1.45 endif
 36 arta     1.46 
 37 arta     1.47 ifneq ($(JSOC_FCOMPILER),)
 38               FCOMPILER = $(JSOC_FCOMPILER)
 39 arta     1.45 endif
 40 arta     1.46 #***********************************************************************************************#
 41 arta     1.1  
 42 arta     1.65 #***********************************************************************************************#
 43               # This optional file has custom definitions created by the configure script.
 44 arta     1.80 # Do this after compiler selection since drmsparams.mk might use $COMPILER or $FCOMPILER.
 45               # drmsparams.mk might also set compiler (through moreconfigure.pl)
 46               -include $(SRCDIR)/$(LOCALIZATIONDIR)/drmsparams.mk
 47 arta     1.65 #***********************************************************************************************#
 48 arta     1.46 
 49               #***********************************************************************************************#
 50               #
 51               # DEBUGGING
 52               #
 53 arta     1.1  # Check for debug vs. release build - release is default.
 54 arta     1.30 #   To do a debug build, either set the environment variable JSOC_DEBUG to 1, OR
 55               #   modify the following line so that DEBUG = 1.  The environment variable takes precedence.
 56 arta     1.46 #
 57 arta     1.30 DEBUG = 0
 58 arta     1.1  
 59               ifdef JSOC_DEBUG
 60               ifeq ($(JSOC_DEBUG), 1)
 61               DEBUG = 1
 62               else
 63               DEBUG = 0
 64               endif
 65               endif
 66 arta     1.46 #***********************************************************************************************#
 67 arta     1.1  
 68 arta     1.46 
 69               #***********************************************************************************************#
 70               #
 71               # WARNINGS
 72               #
 73 arta     1.52 # Warnings ARE displayed, by default, for a release build.
 74 arta     1.46 #
 75 arta     1.52 WARN = 1
 76 arta     1.1  
 77 rick     1.29 # Builder can request warnings via environment variable (setenv JSOC_WARN 1).
 78               #   The environment variable takes precedence.
 79 arta     1.1  ifdef JSOC_WARN
 80               ifeq ($(JSOC_WARN), 1)
 81               WARN = 1
 82               else
 83               WARN = 0
 84               endif
 85               endif
 86               
 87 arta     1.53 ICC_WARNMORE =
 88               ifdef JSOC_WARNICC
 89               ifeq ($(COMPILER), icc)
 90               ICC_WARNMORE = $(JSOC_WARNICC)
 91               endif
 92               endif
 93               
 94 arta     1.46 #***********************************************************************************************#
 95 arta     1.1  
 96               
 97 arta     1.39 #***********************************************************************************************#
 98               #
 99 arta     1.46 # THIRD-PARTY LIBRARIES
100               #
101 arta     1.39 # This section contains make variables that hold the paths to and names of third-party libraries.
102               # Variables that end in 'H' contain the -I link flags that contain the include paths 
103               # for the library headers, variables that end in 'L' contain the -L link flags that
104               # contain the paths to the library binaries, and variables
105               # that end in "LIBS" contain the full link cmd (the -L flag plus the -l flag)
106               #
107 arta     1.24 
108 arta     1.56 # PostgreSQL 
109               PGH = -I$(POSTGRES_INCS)
110 arta     1.87 
111               # For use of dynamic library
112               PGLIBS = $(POSTGRES_LIBS)/lib$(POSTGRES_LIB).so
113 arta     1.56 
114               # CFITSIO
115               CFITSIOH = -I$(CFITSIO_INCS)
116               CFITSIOL = -L$(CFITSIO_LIBS)
117               CFITSIOLIBNAME = $(CFITSIO_LIB)
118 arta     1.87 CFITSIOLIBS = $(CFITSIOL) -l$(CFITSIOLIBNAME)
119 arta     1.56 
120 kehcheng 1.78 # GSL
121               GSLH = -I$(GSL_INCS)
122               GSLL = -L$(GSL_LIBS)
123               GSLLIBS = $(GSLL) -lgsl
124               
125               # FFTW
126               FFTWH = -I$(FFTW_INCS)
127               FFTWL = -L$(FFTW_LIBS)
128               FFTW3LIBS = $(FFTWL) -lfftw3
129               FFTW3FLIBS = $(FFTWL) -lfftw3f
130               
131 arta     1.81 # TAR
132               LIBTARH = -I$(TAR_INCS)
133               LIBTARL = -L$(TAR_LIBS) -ltar
134               
135 arta     1.83 # Python
136               LIBPYH = -I$(PY_INCS)
137               LIBPYL = -L$(PY_LIBS) -l$(PY_LIB)
138               PYTHONHOME = "\"$(PY_HOME)\""
139               
140 arta     1.39 #***********************************************************************************************#
141               
142 arta     1.1  
143 arta     1.46 #***********************************************************************************************#
144               #
145               # CUSTOM BUILDS
146               #
147 arta     1.31 # Compilation define customizations (eg., for remote DRMS builds)
148               ifneq ($(DRMS_DEFAULT_RETENTION),)
149               #	CUSTOMSW = $(CUSTOMSW) -DDRMS_DEFAULT_RETENTION="\"$(DRMS_DEFAULT_RETENTION)\""
150               	CUSTOMSW := $(CUSTOMSW) -DDRMS_DEFAULT_RETENTION=$(DRMS_DEFAULT_RETENTION)
151               endif
152               
153 arta     1.80 # Due to legacy code, the name __LOCALIZED_DEFS__ must be used for NetDRMS builds. 
154               # Despite the name, this macro has nothing to do with localized definitions. It means 
155               # "not Stanford JSOC-SDP" (it essentially means NetDRMS). So, if __LOCALIZED_DEFS__ is set, then 
156               # the binaries were built for use outside of Stanford. 
157               # For future use, we also define the NETDRMS_BUILD as a synonym, but with a more appropriate name.
158               # __LOCALIZED_DEFS__ is deprecated and should not be used in new code.
159               ifeq ($(BUILD_TYPE),NETDRMS)
160               CUSTOMSW := $(CUSTOMSW) -DNETDRMS_BUILD -D__LOCALIZED_DEFS__
161               endif
162               
163               # Stanford builds are marked by the JSOC_SDP_BUILD  macro.
164               ifeq ($(BUILD_TYPE),JSOC_SDP)
165               CUSTOMSW := $(CUSTOMSW) -DJSOC_SDP_BUILD
166 arta     1.36 endif
167               
168 arta     1.1  #
169 arta     1.46 #***********************************************************************************************#
170 arta     1.1  
171 arta     1.57 #***********************************************************************************************#
172               #
173               # Global flags
174               #
175               # All modules must be able to find libdsds.so. The define DRMS_LIBDIR specifies the path to 
176               # all libraries.
177               
178 arta     1.74 GLOBALSW = -DDRMS_ARCH="\"$(MACH)\""
179 arta     1.57 #
180               #***********************************************************************************************#
181 arta     1.1  
182 arta     1.46 #***********************************************************************************************#
183               #
184               # WARNINGS
185               #
186 arta     1.52 # NO LONGER USED - Disable several warnings/remarks when compiling with icc - icc's Wall is a bit picky, it 
187 arta     1.1  # complains about extern declarations in .c files.
188               #   1418 (remark) - external function definition with no prior declaration
189               #   1419 (warning) - external declaration in primary source file
190               #   310 (remark) - old style function declaration (pre-ANSI)
191 arta     1.52 #   279 ?
192 arta     1.1  #   981 (remark) - operands are evaluted in unspecified order
193               
194 arta     1.51 # list of warnings to turn into errors
195               ICC_WARNTOERR = -we266
196               
197 arta     1.1  ifeq ($(WARN), 1)
198               # Show warnings (always true for a debug build).
199 arta     1.55 ICC_WARN = $(ICC_WARNMORE)
200               GCC_WARN = -Wno-comment
201 arta     1.46 FCOMPILER_WARN =
202 arta     1.1  else
203               # Don't show warnings.
204 arta     1.51 ICC_WARN = -w0 -vec-report0 -Wno-comment $(ICC_WARNTOERR)
205 arta     1.1  GCC_WARN = -Wno-comment
206 arta     1.46 ifeq ($(FCOMPILER), ifort)
207               FCOMPILER_WARN = -vec-report0
208               else
209               FCOMPILER_WARN =
210               endif
211 arta     1.1  endif
212 arta     1.51 
213 arta     1.46 #***********************************************************************************************#
214               
215               
216               #***********************************************************************************************#
217               #
218               # GLOBAL LINK FLAGS
219               #
220               # Link flags for all targets
221               #
222 arta     1.86 LL_ALL		= $(SYSLIBS) -lcurl
223 arta     1.89 
224               ifeq ($(JSOC_MACHINE), linux_avx)
225 arta     1.88 GCC_LF_ALL	= $(STATIC) -Wl,--copy-dt-needed-entries
226               ICC_LF_ALL	= -diag-disable 10237 $(STATIC) -openmp -static-intel -Wl,-export-dynamic -Wl,--copy-dt-needed-entries
227 arta     1.89 else
228               GCC_LF_ALL      = $(STATIC)
229               ICC_LF_ALL      = -diag-disable 10237 $(STATIC) -openmp -static-intel -Wl,-export-dynamic
230               endif
231 arta     1.46 
232               # Fortran global LINK flags
233 arta     1.75 ifeq ($(FCOMPILER), ifort)
234 kehcheng 1.78 F_LF_ALL	= -diag-disable 10237 -nofor-main  -openmp -static-intel -Wl,-export-dynamic
235 arta     1.75 endif
236 arta     1.46 #***********************************************************************************************#
237               
238               #***********************************************************************************************#
239               #
240               # GLOBAL COMPILE FLAGS
241               #
242               GCC_CF_GCCCOMP  = -DGCCCOMP 
243 kehcheng 1.60 ICC_CF_ICCCOMP  = -DICCCOMP -openmp
244 arta     1.1  
245 arta     1.7  # can't figure out how to get stupid make to do if/else if/else
246 arta     1.1  ifeq ($(DEBUG), 0)
247 arta     1.84   GCC_CF_ALL	= -I$(SRCDIR)/base/include -std=gnu99 -O2 $(GCC_WARN) $(GCC_CF_GCCCOMP) $(CUSTOMSW) $(GLOBALSW) -DNDEBUG
248 arta     1.7  
249 arta     1.1    ifeq ($(JSOC_MACHINE), linux_x86_64)
250 arta     1.84     ICC_CF_ALL = -I$(SRCDIR)/base/include -std=c99 -D_GNU_SOURCE $(ICC_WARN) $(ICC_CF_ICCCOMP) $(CUSTOMSW) $(GLOBALSW) -DNDEBUG
251                   GCC_CF_ALL	= -I$(SRCDIR)/base/include -std=gnu99 -O2 -march=opteron $(GCC_WARN) $(GCC_CF_GCCCOMP) $(CUSTOMSW) $(GLOBALSW)
252 arta     1.7    endif
253               
254 kehcheng 1.78   ifeq ($(JSOC_MACHINE), linux_avx)
255 arta     1.84     ICC_CF_ALL = -xavx -I$(SRCDIR)/base/include -std=c99 -D_GNU_SOURCE $(ICC_WARN) $(ICC_CF_ICCCOMP) $(CUSTOMSW) $(GLOBALSW) -DNDEBUG
256 kehcheng 1.78   endif
257               
258 arta     1.7    ifeq ($(JSOC_MACHINE), linux_ia64)
259 arta     1.84     ICC_CF_ALL	= -I$(SRCDIR)/base/include -std=c99 -D_GNU_SOURCE $(ICC_WARN) $(ICC_CF_ICCCOMP) $(CUSTOMSW) $(GLOBALSW) -DNDEBUG
260 arta     1.7    endif
261               
262                 ifeq ($(JSOC_MACHINE), linux_ia32)
263 arta     1.84     GCC_CF_ALL	= -I$(SRCDIR)/base/include -std=gnu99 -O2 -march=i686 $(GCC_WARN) $(GCC_CF_GCCCOMP) $(CUSTOMSW) $(GLOBALSW) -DNDEBUG
264 arta     1.1    endif	
265               
266               else
267 arta     1.46 # -g tells the icc and gcc compilers to generate full debugging information
268 arta     1.84   GCC_CF_ALL = -I$(SRCDIR)/base/include -std=gnu99 -g $(GCC_WARN) $(GCC_CF_GCCCOMP) $(CUSTOMSW) $(GLOBALSW)
269                 ICC_CF_ALL = -I$(SRCDIR)/base/include -std=c99 -D_GNU_SOURCE -g $(ICC_WARN) $(ICC_CF_ICCCOMP) $(CUSTOMSW) $(GLOBALSW)
270 arta     1.46 endif
271 arta     1.1  
272 arta     1.46 # Fortran global COMPILE flags
273 kehcheng 1.78 ifeq ($(JSOC_MACHINE), linux_avx)
274                 ifeq ($(FCOMPILER), ifort)
275                   F_CF_ALL := -xavx -openmp
276                 endif
277               endif
278               
279 arta     1.46 ifeq ($(JSOC_MACHINE), linux_x86_64)
280                 ifeq ($(FCOMPILER), ifort)
281 kehcheng 1.60     F_CF_ALL := -openmp
282 arta     1.46   endif
283 arta     1.1  endif
284               
285 arta     1.46 # Other compiler-specific Fortran COMPILE flags
286               ifeq ($(FCOMPILER), ifort)
287 arta     1.49   FCFLAGS_INIT := -ftrapuv
288 arta     1.46 else
289                 # must be gfortran
290 arta     1.49   FCFLAGS_INIT  := 
291 arta     1.46 endif
292 arta     1.1  
293               ifeq ($(DEBUG), 0)
294 arta     1.46 # -xW optimizes ifort compilation for Pentium 4
295               # -ftrapuv initializes stack local variables to an unusual value to aid error detection. 
296 arta     1.61   F_CF_ALL	:= $(F_CF_ALL) $(FCOMPILER_WARN)
297 arta     1.1  else
298 arta     1.49   F_CF_ALL	:= $(F_CF_ALL) -g $(FCFLAGS_INIT) $(FCOMPILER_WARN)
299 arta     1.1  endif
300 arta     1.46 #***********************************************************************************************#
301               
302 arta     1.1  
303 arta     1.46 #***********************************************************************************************#
304               #
305               # BUILD TOOLS
306 arta     1.1  # 
307               # The C compiler named here must output full (header) dependencies in $(@).d.
308               # It may be necessary to create a script similar to ccd-gcc for your compiler.
309               # 
310               GCC_CMPLR	= $(SRCDIR)/build/ccd-gcc
311               ICC_CMPLR	= $(SRCDIR)/build/ccd-icc
312               ARCHIVE		= ar crus $@ $^
313               
314               ECPG		= ecpg -o $@ -c $<
315 karen    1.17 SWIG		= swig -perl5 -o $@ $<
316 arta     1.1  
317               GCC_COMP	= $(GCC_CMPLR) $(GCC_CF_ALL) $(CF_TGT) -o $@ -c $<
318               ICC_COMP	= $(ICC_CMPLR) $(ICC_CF_ALL) $(CF_TGT) -o $@ -c $<
319               
320               GCC_LINK	= $(GCC_CMPLR) $(GCC_LF_ALL) $(LF_TGT) -o $@ $^ $(LL_TGT) $(LL_ALL)
321               ICC_LINK	= $(ICC_CMPLR) $(ICC_LF_ALL) $(LF_TGT) -o $@ $^ $(LL_TGT) $(LL_ALL)
322               
323               GCC_COMPLINK	= $(GCC_CMPLR) $(GCC_CF_ALL) $(CF_TGT) $(GCC_LF_ALL) $(LF_TGT) -o $@ $< $(LL_TGT) $(LL_ALL)
324               ICC_COMPLINK	= $(ICC_CMPLR) $(GCC_CF_ALL) $(CF_TGT) $(ICC_LF_ALL) $(LF_TGT) -o $@ $< $(LL_TGT) $(LL_ALL)
325               
326               ifneq ($(COMPILER), icc)
327                 COMP 		= $(GCC_COMP)
328                 LINK		= $(GCC_LINK)
329                 COMPLINK	= $(GCC_COMPLINK)
330               else
331                 COMP 		= $(ICC_COMP)
332                 LINK		= $(ICC_LINK)
333                 COMPLINK	= $(ICC_COMPLINK)
334               endif
335               
336 arta     1.46 FCOMP		= $(FCOMPILER) $(F_CF_ALL) $(FF_TGT) -o $@ -c $<
337               FLINK		= $(FCOMPILER) $(F_LF_ALL) $(LF_TGT) -o $@ $^ $(LL_TGT) $(LL_ALL)
338 arta     1.1  
339 arta     1.58 SLBIN           = ln -sf ../../_$(MACH)/$@ ../bin/$(MACH)/
340               SLLIB		= ln -sf ../../_$(MACH)/$@ ../lib/$(MACH)/
341 arta     1.46 #***********************************************************************************************#
342               
343 arta     1.1  
344 arta     1.46 #***********************************************************************************************#
345               #
346               # LIBRARY COLLECTIONS
347               #
348 arta     1.43 ALL_LIBS_FPIC = $(LIBDRMSCLIENT_FPIC) $(LIBDBCLIENT_FPIC) $(LIBCMDPARAMS_FPIC) $(LIBTHREADUTIL_FPIC) $(LIBRICECOMP_FPIC) $(LIBDEFS_FPIC) $(LIBMISC_FPIC) $(LIBDSTRUCT_FPIC) $(LIBTIMEIO_FPIC) $(LIBFITSRW_FPIC) 
349 arta     1.90 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) 
350 arta     1.1  
351               ### Standard parts
352               #
353               include	$(SRCDIR)/Rules.mk
354               
355               # Libraries from src/util linked with all programs.
356 arta     1.12 ifneq ($(COMPILER), icc)
357 arta     1.87   SYSLIBS = -lz -ldl -lpthread -lm -lutil
358 arta     1.12 else
359 arta     1.87   SYSLIBS = -lz -ldl -lpthread -lutil
360 arta     1.12 endif
361 arta     1.77 SRCLIBS = $(LIBTHREADUTIL) $(LIBRICECOMP) $(LIBCMDPARAMS) $(LIBTIMEIO) $(LIBFITSRW) $(LIBERRLOG) $(LIBEXPDRMS) $(LIBEXPUTL) $(LIBMISC) $(LIBDSTRUCT) $(LIBSTATS)
362               FSRCLIBS = $(LIBTHREADUTIL) $(LIBRICECOMP) $(LIBCMDPARAMSF) $(LIBTIMEIO) $(LIBFITSRW) $(LIBERRLOG) $(LIBEXPDRMS) $(LIBEXPUTL) $(LIBMISC) $(LIBDSTRUCT) $(LIBSTATS)
363 arta     1.1  
364               ########## Libraries to link for server executables,    ##############
365               ########## standalone executables and pipeline modules. ##############
366               
367               # SERVERLIBS: Libraries linked with "server" programs that 
368               # need direct access to the DRMS databases.
369 arta     1.84 SERVERLIBS = $(LIBDRMS) $(LIBDEFSSERVER) $(LIBDB) $(LIBSUMSAPI) $(LIBCJSON) $(SRCLIBS)
370 arta     1.1  
371               # EXELIBS: Libraries linked with standalone executables.
372 arta     1.35 EXELIBS = $(LIBDRMSCLIENT) $(LIBDEFSCLIENT) $(LIBDBCLIENT) $(SRCLIBS)
373 arta     1.1  
374               # MODLIBS: Libraries linked with DRMS modules.
375               MODLIBS = $(LIBJSOC_MAIN) $(SERVERLIBS)
376               
377               # MODLIBS_SOCK: Libraries linked with DRMS modules with socket connection to a drms_server
378 arta     1.84 MODLIBS_SOCK = $(LIBJSOC_MAIN_SOCK) $(LIBDRMSCLIENT) $(LIBDEFSCLIENT) $(LIBDBCLIENT) $(LIBSUMSAPI) $(LIBCJSON) $(SRCLIBS)
379 arta     1.1  
380               # FMODLIBS: Libraries linked with DRMS Fortran modules
381 arta     1.35 FMODLIBS_SOCK = $(LIBJSOC_MAIN_SOCK_F) $(LIBINTHANDLESF) $(LIBDRMSCLIENT) $(LIBDEFSCLIENT) $(LIBDBCLIENT) $(FSRCLIBS)
382 arta     1.46 #***********************************************************************************************#
383               
384 arta     1.1  
385 arta     1.46 #***********************************************************************************************#
386               #
387               # PROJECT MAKE RULES
388               #
389 arta     1.1  # Make rules that apply to all projects outside of the base DRMS/SUMS system
390 arta     1.69 -include $(SRCDIR)/$(LOCALIZATIONDIR)/make_basic.mk
391 arta     1.46 #***********************************************************************************************#
392 arta     1.1  
393 arta     1.46 
394               #***********************************************************************************************#
395               #
396               # MODULE TYPES
397               #
398 arta     1.1  # Make rules that apply to all projects, inside and outside of the base DRMS/SUMS system
399               $(CEXE):	%:	%.o $(EXELIBS)
400               		$(LINK)
401               		$(SLBIN)
402               
403 arta     1.56 $(FEXE):	%:	%.o 
404 arta     1.1  		$(FLINK)
405               		$(SLBIN)
406               
407 arta     1.56 $(SERVEREXE):   LL_TGT := $(LL_TGT) $(PGLIBS) $(CFITSIOLIBS)
408 arta     1.1  $(SERVEREXE):	%:	%.o $(SERVERLIBS)
409               			$(LINK)
410               			$(SLBIN)
411               
412 arta     1.56 $(MODEXE):      LL_TGT := $(LL_TGT) $(PGLIBS) $(CFITSIOLIBS)
413 arta     1.1  $(MODEXE):	%:	%.o $(MODLIBS)
414               			$(LINK)
415               			$(SLBIN)
416               
417 arta     1.73 $(MODEXE_SOCK):	LL_TGT := $(LL_TGT) $(PGLIBS) $(CFITSIOLIBS)
418 arta     1.1  $(MODEXE_SOCK): %_sock: %.o $(MODLIBS_SOCK)
419               			$(LINK)
420               			$(SLBIN)
421 arta     1.42 # FMODEXE_SOCK contains all Fortran modules - the DoIt() function is defined inside a .f file.
422 arta     1.39 # These are socket-connect modules only. Assume they use third-party Fortran libraries
423               # (although this may not be the case).
424 arta     1.87 $(FMODEXE_SOCK):	LL_TGT := $(LL_TGT) $(PGLIBS) $(CFITSIOLIBS)
425               $(FMODEXE_SOCK):     %_sock:	%.o $(FMODLIBS_SOCK)
426 arta     1.1  			$(FLINK)
427               			$(SLBIN)
428 tplarson 1.20 
429 arta     1.39 # MODEXE_USEF contains all C direct-connect modules that use third-party Fortran libraries.
430 arta     1.87 $(MODEXE_USEF):	LL_TGT := $(LL_TGT) $(PGLIBS) $(CFITSIOLIBS)
431 tplarson 1.20 $(MODEXE_USEF):     %:	%.o $(MODLIBS)
432               			$(FLINK)
433               			$(SLBIN)
434 arta     1.39 # MODEXE_USEF contains all C socket-connect modules that use third-party Fortran libraries.
435 arta     1.87 $(MODEXE_USEF_SOCK):	LL_TGT := $(LL_TGT) $(PGLIBS) $(CFITSIOLIBS)
436 tplarson 1.20 $(MODEXE_USEF_SOCK): %_sock: %.o $(MODLIBS_SOCK)
437               			$(FLINK)
438               			$(SLBIN)
439 arta     1.46 #***********************************************************************************************#

Karen Tian
Powered by
ViewCVS 0.9.4