diff options
author | Michael I. Bushnell <mib@gnu.org> | 1993-03-17 19:33:50 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1993-03-17 19:33:50 +0000 |
commit | d435a299fc52563551df836cedfa528c71627011 (patch) | |
tree | 8d31fcb7e765cbb94c41a82fba1d44cdb183897f | |
parent | e0de2295d6cd23fee38e3d4513fea7c662046953 (diff) |
entered into RCS
-rw-r--r-- | libthreads/Makefile.GNU2 | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/libthreads/Makefile.GNU2 b/libthreads/Makefile.GNU2 new file mode 100644 index 00000000..7dead299 --- /dev/null +++ b/libthreads/Makefile.GNU2 @@ -0,0 +1,34 @@ +CPPFLAGS = -nostdinc -I. -I/usr1/gnu/DIST/include -I/usr1/gnu/DIST/hurd/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 cthread_data.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 + |