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 vicopy.o
13 MPIHOME=/usr/local/mpi
14 IDIR=$(MPIHOME)/include
18 CFLAGS = -I$(IDIR) -DNOUNDERSCORE -DMPI -g # -O # -g
22 @ echo 'This makefile is not a top level makefile'
23 @ echo 'and is not intended for direct use. Please'
24 @ echo 'type "make" by itself for assistance.'
26 all : rsl.inc librsl.a
28 rsl.inc : $(HDR) rsl.inc_base
29 cat $(HDR) | sed $(SED_LINE) |\
30 grep '^#.*define.*\/\* FORTRAN \*\/' | \
31 awk '{printf(" integer %s\n parameter(%s=%s)\n",$$2,$$2,$$3)}' | \
32 cat rsl.inc_base - > rsl.inc
39 $(CC) -c $(CFLAGS) $(CONFIG_OPTS) $<