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


1.4
date	2008.10.02.23.44.28;	author phil;	state Exp;
branches;
next	1.3;
commitid	qFWyNXvWXTq0V6lt;

1.3
date	2008.09.24.19.58.31;	author phil;	state Exp;
branches;
next	1.2;
commitid	QDM7XlD0oEudV3kt;

1.2
date	2003.09.27.05.30.38;	author gzheng;	state Exp;
branches;
next	1.1;

1.1
date	2003.03.06.17.35.54;	author vmehta1;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Modifications to ease parallel make, and move duplication to a common
definitions file.
@
text
@include ../common.mk

LIB = libmoduleCkSparseContiguousReducer.a
LIBOBJ = cksparsecontiguousreducer.o

HEADERS = $(CDIR)/include/CkSparseContiguousReducer.decl.h \
          $(CDIR)/include/CkSparseContiguousReducer.def.h \
          $(CDIR)/include/cksparsecontiguousreducer.h

LIBDEST =  $(CDIR)/lib/$(LIB)

all: $(LIBDEST) $(HEADERS)

$(LIBDEST) : $(LIB)
	/bin/cp $(LIB) $(LIBDEST)

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

cksparsecontiguousreducer.o: cksparsecontiguousreducer.C cksparsecontiguousreducer.h CkSparseContiguousReducer.decl.h CkSparseContiguousReducer.def.h
	$(CHARMC) -c cksparsecontiguousreducer.C

CkSparseContiguousReducer.decl.h CkSparseContiguousReducer.def.h: INTERFACE

INTERFACE: cksparsecontiguousreducer.ci
	$(CHARMC) -c cksparsecontiguousreducer.ci
	touch $@@

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

realclean: clean
	rm -f $(LIBDEST) $(HEADERS)
@


1.3
log
@Revise Makefile to accurately reflect dependencies and creating commands,
to enable correct builds and let the run in parallel.
@
text
@d1 1
a1 2
CDIR=../../../..
CHARMC=$(CDIR)/bin/charmc $(OPTS)
a13 3
$(CDIR)/include/%.h: %.h
	/bin/cp $< $@@

@


1.2
log
@small changes for parallel make
@
text
@d8 1
d10 1
d15 2
a16 4
$(HEADERS): CkSparseContiguousReducer.decl.h cksparsecontiguousreducer.h
	/bin/cp CkSparseContiguousReducer.decl.h $(CDIR)/include
	/bin/cp CkSparseContiguousReducer.def.h $(CDIR)/include
	/bin/cp cksparsecontiguousreducer.h $(CDIR)/include
d27 3
a29 1
CkSparseContiguousReducer.decl.h CkSparseContiguousReducer.def.h: cksparsecontiguousreducer.ci
d31 1
d34 4
a37 1
	rm -f conv-host *.o *.decl.h *.def.h core  $(LIB)
@


1.1
log
@New library to handle sparse contiguous 2D array reductions. These reducers handle, portions of a 2D array contributed by different chare elements.
@
text
@d27 1
a27 1
CkSparseContiguousReducer.decl.h: cksparsecontiguousreducer.ci
@

