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 -Dvpp -DRSL_SYNCIO -O -Wl,-P -J -KA32 -Ka4
21 FFLAGS = -O -Fixed -X7 -Wl,-P -Wv -KA32
22 FVFLAGS = -Sw -Wv,-Of,-te,-ilfunc,-noalias,-m3,-P255 -Oe,-P -Kfast -Pdos -lmpi -lmp -KA32
26 @ echo 'This makefile is not a top level makefile'
27 @ echo 'and is not intended for direct use. Please'
28 @ echo 'type "make" by itself for assistance.'
30 all : rsl.inc librsl.a
32 rsl.inc : $(HDR) rsl.inc_base
33 cat $(HDR) | sed $(SED_LINE) |\
34 grep '^#.*define.*\/\* FORTRAN \*\/' | \
35 awk '{printf(" integer %s\n parameter(%s=%s)\n",$$2,$$2,$$3)}' | \
36 cat rsl.inc_base - > rsl.inc
42 $(CC) -c $(CFLAGS) $(CONFIG_OPTS) $<
55 $(FC) -c $(FVFLAGS) $<