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


1.3
date	2004.10.25.17.27.34;	author gzheng;	state Exp;
branches;
next	1.2;

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

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


desc
@@


1.3
log
@added command to generate shared lib
@
text
@
CHARMC = ../../bin/charmc -I. -DALLOCA_H $(OPTS)

all: qt stp testpgm

qt: md/setjmp_d.h qt.c md/setjmp.c
	rm -f qtmd.h
	../system_ln md/setjmp_d.h qtmd.h
	$(CHARMC) -pedantic -c -o qt.o qt.c
	$(CHARMC) -c -o qtmds.o md/setjmp.c
	$(CHARMC) -o libqt.a qt.o qtmds.o 
	CHARMINC=..; . ../conv-config.sh;       \
	$(CHARMC) -shared -o libqt.$$CMK_SHARED_SUF qt.o qtmds.o

stp:
	$(CHARMC) -c stp.c
	$(CHARMC) -o libstp.a stp.o

testpgm:
	$(CHARMC) -c meas.c
	$(CHARMC) -c -o qtmdb.o md/setjmp_b.c
	$(CHARMC) -o run meas.o qtmdb.o libstp.a libqt.a
@


1.2
log
@removed -cp in charmc. use CMK_HAS_ALLOCA for alloca.h
@
text
@d12 2
@


1.1
log
@Just like "generic", but define "ALLOCA_H".
This is needed on Suns to get alloca().
@
text
@d11 1
a11 1
	$(CHARMC) -cp ../ -o libqt.a qt.o qtmds.o 
@

