Just like "generic", but define "ALLOCA_H".
authorOrion Lawlor <olawlor@acm.org>
Fri, 11 Apr 2003 21:37:46 +0000 (21:37 +0000)
committerOrion Lawlor <olawlor@acm.org>
Fri, 11 Apr 2003 21:37:46 +0000 (21:37 +0000)
This is needed on Suns to get alloca().

src/QuickThreads/mkfiles/generic_alloca [new file with mode: 0644]

diff --git a/src/QuickThreads/mkfiles/generic_alloca b/src/QuickThreads/mkfiles/generic_alloca
new file mode 100644 (file)
index 0000000..b8f9fe2
--- /dev/null
@@ -0,0 +1,20 @@
+
+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) -cp ../ -o libqt.a 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