diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-04-06 16:34:44 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-04-06 16:34:44 +0000 |
commit | 4193e51720e8bae5578a12345c3566aabafa815c (patch) | |
tree | e62845c2460064ad5a472f3b6f5838e7bc54dac8 | |
parent | 9bbba12c48b5436cc96d22fe227ef2626112759d (diff) |
entered into RCS
-rw-r--r-- | libthreads/GNUmakefile.old | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/libthreads/GNUmakefile.old b/libthreads/GNUmakefile.old new file mode 100644 index 00000000..cc0f6de8 --- /dev/null +++ b/libthreads/GNUmakefile.old @@ -0,0 +1,38 @@ +CPPFLAGS = -nostdinc -I. -I/home/gd3/hurdinst/include +CFLAGS = -g -O +CPP=/usr1/gnu/DIST/lib/gcc-lib/i386-compaq-mach/2.4.5/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 /home/gd3/hurdinst/lib/libthreads.a + ranlib /home/gd3/hurdinst/lib/libthreads.a + cp cthreads.h /home/gd3/hurdinst/include/cthreads.h + cp i386/cthreads.h /home/gd3/hurdinst/include/i386/cthreads.h + +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 + +TAGS: *.c *.h + etags *.c *.h |