head	1.6;
access;
symbols
	charm6_1:1.6
	charm_6_0_1:1.6
	charm6_0_1:1.6
	charm6_0:1.6
	ChaNGa_1-0:1.6
	charm5_9:1.6
	charm_5-4-2:1.1
	charm_5-4-1:1.1;
locks; strict;
comment	@# @;


1.6
date	2005.02.02.05.25.50;	author gzheng;	state Exp;
branches;
next	1.5;

1.5
date	2005.02.02.05.06.24;	author gzheng;	state Exp;
branches;
next	1.4;

1.4
date	2004.10.08.16.42.16;	author gzheng;	state Exp;
branches;
next	1.3;

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

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

1.1
date	2000.12.23.02.23.01;	author gzheng;	state Exp;
branches;
next	;


desc
@@


1.6
log
@make sure -nobs not overrided by -shared option.
@
text
@
CHARMC = ../../bin/charmc -seq -I. $(OPTS)
CHARMC_SHARED = ../../bin/charmc -seq -I. -shared $(OPTS)

all: qt stp testpgm

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

stp:
	$(CC) -c stp.c
	ar q libstp.a stp.o

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


1.5
log
@generate .so before .a to make sure when shared lib fails, no .a is generated.
@
text
@d2 2
a3 1
CHARMC = ../../bin/charmc -seq -I.
d13 1
a13 1
	$(CHARMC) -shared -o libqt.$$CMK_SHARED_SUF qt.o qtmds.o
@


1.4
log
@get rid of warning flags -pedantic -Wall cause it is not supported by all compilers.
@
text
@d11 3
a13 2
	ar q libqt.a qt.o qtmds.o
	$(CHARMC) -shared -o libqt.so qt.o qtmds.o
@


1.3
log
@change CC to use CHARMC.
@
text
@d9 1
a9 1
	$(CHARMC) -pedantic -Wall -c -o qt.o qt.c
@


1.2
log
@change to create libqt.so as well.
@
text
@d2 1
a2 1
CC=gcc -I.
d8 3
a10 3
	ln -s md/setjmp_d.h qtmd.h
	$(CC) -pedantic -Wall -c -o qt.o qt.c
	$(CC) -c -o qtmds.o md/setjmp64.c
d12 1
a12 1
	$(CC) -shared -o libqt.so qt.o qtmds.o
@


1.1
log
@add a new version of setjmp.c, when size of int is different with the size of pointer. using "./configure generic64" to get it compiled.
@
text
@d12 1
@

