head	1.5;
access;
symbols
	charm6_1:1.5
	charm_6_0_1:1.5
	charm6_0_1:1.5;
locks; strict;
comment	@# @;


1.5
date	2008.10.07.17.22.50;	author phil;	state Exp;
branches;
next	1.4;
commitid	fxlBkjXVaeIhEIlt;

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

1.3
date	2008.10.02.18.36.40;	author phil;	state Exp;
branches;
next	1.2;
commitid	eyvrGx56oZpsd5lt;

1.2
date	2008.09.18.23.53.21;	author gioachin;	state Exp;
branches;
next	1.1;
commitid	Xa1tfDhwCpb6qjjt;

1.1
date	2008.06.11.02.40.39;	author gioachin;	state Exp;
branches;
next	;
commitid	xsaVcFWV6GlOyt6t;


desc
@@


1.5
log
@Remove nonce INTERFACE files in clean target, so that later build attempts work.
@
text
@include ../common.mk

LIB = libmoduleCkCache.a
LIBOBJ = CkCache.o

HEADERS = $(CDIR)/include/CkCache.decl.h \
          $(CDIR)/include/CkCache.def.h \
          $(CDIR)/include/CkCache.h 
LIBDEST =  $(LIBDIR)/$(LIB)

CIFILES = CkCache.ci

all: $(LIBDEST) $(HEADERS)

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

CkCache.def.h CkCache.decl.h: INTERFACE

INTERFACE: $(CIFILES)
	$(CHARMC) -c CkCache.ci
	touch INTERFACE

CkCache.o: CkCache.C $(HEADERS)
	$(CHARMC) -c -o CkCache.o CkCache.C

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

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


1.4
log
@Modifications to ease parallel make, and move duplication to a common
definitions file.
@
text
@d28 1
a28 1
	rm -f conv-host *.o *.decl.h *.def.h core  $(LIB)
@


1.3
log
@Mirror changes to sparseContiguousReducer's Makefile to enable make -j
@
text
@d1 1
a1 2
CDIR=../../../..
CHARMC=$(CDIR)/bin/charmc $(OPTS)
d9 1
a9 1
LIBDEST =  $(CDIR)/lib/$(LIB)
a14 3
$(CDIR)/include/%.h: %.h
	/bin/cp $< $@@

@


1.2
log
@- added new build target for "ChaNGa" which builds charm++ plus ckcache library.
- modified build script to write .gdir instead of relying on the name of the directory
  (which could be overridden by --destination option)
@
text
@d8 1
d14 1
a14 1
all: $(LIBDEST)
d16 2
a17 3
$(HEADERS): CkCache.decl.h CkCache.h 
	/bin/cp CkCache.decl.h $(CDIR)/include
	/bin/cp CkCache.h $(CDIR)/include
d22 1
a22 1
CkCache.def.h: CkCache.decl.h
d24 1
a24 1
CkCache.decl.h : CkCache.ci $(CDIR)/bin/charmxi
d26 1
d34 2
@


1.1
log
@Added module CkCache to charm and to the default build.
This module is taken from ChaNGa's original CacheManager after being generalized.
@
text
@d13 1
a13 1
all: $(LIBDEST) $(HEADERS)
@

