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


1.5
date	2009.02.02.21.09.47;	author gzheng;	state Exp;
branches;
next	1.4;
commitid	ofMbL7gSbzWV6UAt;

1.4
date	2007.10.16.21.45.08;	author gzheng;	state Exp;
branches;
next	1.3;
commitid	21a1471530de4567;

1.3
date	2007.09.20.18.53.50;	author bhatele;	state Exp;
branches;
next	1.2;
commitid	541d46f2c1b44567;

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

1.1
date	2004.03.10.19.31.33;	author olawlor;	state Exp;
branches;
next	;


desc
@@


1.5
log
@added ./ to each binary in test
@
text
@CHARMC=../../../bin/charmc $(OPTS)

LINKLINE=$(CHARMC) -o pgm pgm.o -language converse++

all: pgm

pgm: pgm.o
	$(LINKLINE)

pgm.o: pgm.C
	$(CHARMC) -c pgm.C

test: pgm
	./charmrun ./pgm +p1 $(TESTOPTS)
	-$(LINKLINE) -thread context && ./charmrun ./pgm +p1  $(TESTOPTS)&& ps -u `whoami`
	-$(LINKLINE) -thread pthreads -lpthread && ./charmrun ./pgm +p1  $(TESTOPTS)&& ps -u `whoami`
	-$(LINKLINE) -thread qt && ./charmrun ./pgm +p1  $(TESTOPTS)&& ps -u `whoami`
	-$(LINKLINE) -thread uJcontext && ./charmrun ./pgm +p1  $(TESTOPTS)&& ps -u `whoami`

clean:
	rm -f conv-host *.o pgm *.bak pgm.*.log pgm.sts *~ charmrun
@


1.4
log
@added TESTOPTS
@
text
@d14 5
a18 5
	./charmrun pgm +p1 $(TESTOPTS)
	-$(LINKLINE) -thread context && ./charmrun pgm +p1  $(TESTOPTS)&& ps -u `whoami`
	-$(LINKLINE) -thread pthreads -lpthread && ./charmrun pgm +p1  $(TESTOPTS)&& ps -u `whoami`
	-$(LINKLINE) -thread qt && ./charmrun pgm +p1  $(TESTOPTS)&& ps -u `whoami`
	-$(LINKLINE) -thread uJcontext && ./charmrun pgm +p1  $(TESTOPTS)&& ps -u `whoami`
@


1.3
log
@added the "all" target
@
text
@d14 5
a18 5
	./charmrun pgm +p1
	-$(LINKLINE) -thread context && ./charmrun pgm +p1 && ps -u `whoami`
	-$(LINKLINE) -thread pthreads -lpthread && ./charmrun pgm +p1 && ps -u `whoami`
	-$(LINKLINE) -thread qt && ./charmrun pgm +p1 && ps -u `whoami`
	-$(LINKLINE) -thread uJcontext && ./charmrun pgm +p1 && ps -u `whoami`
@


1.2
log
@added a ps -u to check is there is residual process.
@
text
@d5 2
@


1.1
log
@Added a simple serial test of converse user-level threads
(Cth) routines.  Use "make test" to run the test.
@
text
@d13 4
a16 4
	-$(LINKLINE) -thread context && ./charmrun pgm +p1
	-$(LINKLINE) -thread pthreads -lpthread && ./charmrun pgm +p1
	-$(LINKLINE) -thread qt && ./charmrun pgm +p1
	-$(LINKLINE) -thread uJcontext && ./charmrun pgm +p1
@

