summaryrefslogtreecommitdiff
path: root/libthreads/Makefile.GNU
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1992-10-06 18:31:16 +0000
committerMichael I. Bushnell <mib@gnu.org>1992-10-06 18:31:16 +0000
commit964ab87456cf79f0f5787796c3e8917502d9f9d8 (patch)
tree8b51be116a45e60209dcd0490297594bd9b3c13d /libthreads/Makefile.GNU
parentc70cb4b79a12ceb9f6c460a833199cd1e37963b1 (diff)
entered into RCS
Diffstat (limited to 'libthreads/Makefile.GNU')
-rw-r--r--libthreads/Makefile.GNU34
1 files changed, 34 insertions, 0 deletions
diff --git a/libthreads/Makefile.GNU b/libthreads/Makefile.GNU
new file mode 100644
index 00000000..bff8ed15
--- /dev/null
+++ b/libthreads/Makefile.GNU
@@ -0,0 +1,34 @@
+CPPFLAGS = -nostdinc -I. -I/usr1/gnu/DIST/include
+CFLAGS = -g -O
+CPP = /usr1/gnu/DIST/lib/gcc-cpp
+AS = as
+AR = ar
+RANLIB = ranlib
+CC = gcc
+
+VPATH=.:i386
+
+OBJS = cprocs.o cthreads.o malloc.o \
+ mig_support.o stack.o sync.o \
+ thread.o lock.o csw.o
+
+all: libthreads.a
+
+install: all
+ cp libthreads.a /usr1/gnu/DIST/lib/libthreads.a
+ ranlib /usr1/gnu/DIST/lib/libthreads.a
+
+clean:
+ rm -f lib*.a Makedep* a.out core errs \
+ *.d *.s *.S *.o *.BAK *.CKP */*.BAK */*.CKP
+
+libthreads.a: $(OBJS)
+ rm -f $@
+ $(AR) crv $@ $(OBJS)
+ $(RANLIB) $@
+
+%.o: %.s
+ $(CPP) $(CPPFLAGS) $< > $*.as
+ $(AS) -o $@ $*.as
+ rm -f $*.as
+