#
# Makefile for the generation of the distributed array library
#
# DALIB, UNILIB
#
HLIB  =
LIB   = dalib.a
LIB1  = unilib.a
#
#
# ARCH    = SUN4, RS6K, ... depending on your machines
#
# use function getarch in directory .. to ask for architecture
#
ARCH     = POWER4
AR       = ar
CC       = px ancc
MPI_ROOT = $(MPI_HOME)
INC_DIR  = -I$(MPI_ROOT)/include 
COPT     = -g $(INC_DIR) -D$(ARCH) -DPowerPC
#
#  ALL stands for things that have to be generated
#
ALL     = $(HLIB) $(LIB) $(LIB1)
#
include ../make.body
#
$(LIB): $(MODULES) init.o
	$(AR) r $(LIB) init.o $(MODULES)
	ranlib $(LIB)
#
$(LIB1): $(MODULES1) init1.o
	$(AR) r $(LIB1) init1.o $(MODULES1) 
	ranlib $(LIB1)

# note : SGI requires -lsun
