head	1.7;
access;
symbols
	charm6_1:1.7
	charm_6_0_1:1.7
	charm6_0_1:1.7
	charm6_0:1.7
	ChaNGa_1-0:1.7
	charm5_9:1.7;
locks; strict;
comment	@# @;


1.7
date	2004.09.12.17.39.04;	author olawlor;	state Exp;
branches;
next	1.6;

1.6
date	2004.05.18.17.47.44;	author jdesouza;	state Exp;
branches;
next	1.5;

1.5
date	2004.05.12.03.57.45;	author olawlor;	state Exp;
branches;
next	1.4;

1.4
date	2004.03.05.20.53.15;	author jdesouza;	state Exp;
branches;
next	1.3;

1.3
date	2004.03.04.20.06.04;	author jdesouza;	state Exp;
branches;
next	1.2;

1.2
date	2004.03.01.17.06.25;	author jdesouza;	state Exp;
branches;
next	1.1;

1.1
date	2004.03.01.15.35.15;	author jdesouza;	state Exp;
branches;
next	;


desc
@@


1.7
log
@Fix to make MSA work with shared libraries:
  point Makefile directly to final lib path,
which lets charmc also generate lib_so/libmodulemsa.so.
@
text
@CDIR=../../../..
CHARMC=$(CDIR)/bin/charmc $(OPTS)

MODULE=msa
LIB = $(CDIR)/lib/libmodule$(MODULE).a
LIBOBJ = msa-distArray.o

HEADERS = msa.h msa-common.h msa-distArray.h msa-DistPageMgr.h $(MODULE).decl.h \
		$(MODULE).def.h

all: $(LIBDEST)$(LIB)

$(LIB): $(LIBOBJ)
	$(CHARMC) -o $(LIB) $(LIBOBJ) 

headers: $(HEADERS)
	test -d $(CDIR)/include/msa || mkdir $(CDIR)/include/msa/
	cp $(HEADERS) $(CDIR)/include/msa/
	touch headers

msa-distArray.o: msa-distArray.C msa-DistPageMgr.ci headers
	$(CHARMC) -c msa-distArray.C

$(MODULE).def.h: $(MODULE).decl.h

$(MODULE).decl.h: msa-DistPageMgr.ci
	$(CHARMC) -c msa-DistPageMgr.ci

clean:
	rm -f conv-host *.o *.decl.h *.def.h core $(LIB) headers

c: clean
@


1.6
log
@Improved Makefile.
@
text
@d5 1
a5 1
LIB = libmodule$(MODULE).a
a9 1
LIBDEST =  $(CDIR)/lib/
a12 3
$(LIBDEST)$(LIB) : $(LIB)
	/bin/cp $(LIB) $(LIBDEST)

@


1.5
log
@Heavy refactoring:
   - Many more comments.
   - Better support for user-defined ENTRY types:
       - Now uses copy constructor and pup routine exclusively.
   - Totally revamped thread handling.
   - Totally revamped writelist handling.
   - New "not recently used" paging support (much faster).
@
text
@d12 1
a12 1
all: $(LIBDEST)
d14 1
a14 1
$(LIBDEST) : $(LIB)
d34 1
a34 1
	rm -f conv-host *.o *.decl.h *.def.h core $(LIB)
@


1.4
log
@net-sol-cc bug bix
@
text
@d18 3
d22 2
a23 2
	/bin/cp $(HEADERS) $(CDIR)/include/msa/
	$(CHARMC) -o $(LIB) $(LIBOBJ) 
d25 1
a25 1
msa-distArray.o: msa-distArray.C msa-DistPageMgr.ci $(HEADERS)
@


1.3
log
@Fixed Makefile bug; added constructors needed for Jade.
@
text
@d18 1
a18 1
	test -e $(CDIR)/include/msa || mkdir $(CDIR)/include/msa/
@


1.2
log
@Moved msa header files to include/msa subdirectory.
@
text
@d18 1
a18 1
	mkdir $(CDIR)/include/msa/
@


1.1
log
@Initial checkin of multiphase shared arrays.
Implemented by Rahul and Jay DeSouza
To use, #include "msa.h", and compile using charmc with -module msa.
@
text
@a15 1
	/bin/cp $(HEADERS) $(CDIR)/include
d18 2
@

