2 # this is a makefile for RSL that maps the package down to the
3 # MPI message passing primitives on the IBM SP[12] and nets of wkstations
6 OBJ = $(CORE_OBJ) rsl_mpi_compat.o mpi_init_f.o debug.o fort_doubleread.o fort_doublewrite.o rsl_error_dup.o fort_bdyin_dbl.o vicopy.o
13 MPIHOME=#/usr/local/mpi
20 CFLAGS = -I$(IDIR) -DMPI -Dvpp2 -Dnomallinfo -DRSL_SYNCIO -O -Wl,-P -J
21 FFLAGS = -O -Fixed -X7 -Wl,-P
24 @ echo 'This makefile is not a top level makefile'
25 @ echo 'and is not intended for direct use. Please'
26 @ echo 'type "make" by itself for assistance.'
28 all : rsl.inc librsl.a
30 rsl.inc : $(HDR) rsl.inc_base
31 cat $(HDR) | sed $(SED_LINE) |\
32 grep '^#.*define.*\/\* FORTRAN \*\/' | \
33 awk '{printf(" integer %s\n parameter(%s=%s)\n",$$2,$$2,$$3)}' | \
34 cat rsl.inc_base - > rsl.inc
40 $(CC) -c $(CFLAGS) $(CONFIG_OPTS) $<