summaryrefslogtreecommitdiff
path: root/mit-pthreads/lib/libpthreadutil/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'mit-pthreads/lib/libpthreadutil/Makefile.in')
-rwxr-xr-xmit-pthreads/lib/libpthreadutil/Makefile.in65
1 files changed, 65 insertions, 0 deletions
diff --git a/mit-pthreads/lib/libpthreadutil/Makefile.in b/mit-pthreads/lib/libpthreadutil/Makefile.in
new file mode 100755
index 00000000000..94034f426b3
--- /dev/null
+++ b/mit-pthreads/lib/libpthreadutil/Makefile.in
@@ -0,0 +1,65 @@
+# === makefile ============================================================
+# Copyright (c) 1993 Chris Provenzano, proven@athena.mit.edu
+#
+# Description: This file is for creating the test programs for libpthread.a
+#
+# 1.00 93/08/03 proven
+# -Initial cut for pthreads.
+#
+
+srctop = @srctop@
+srcdir = @srctop@/lib/libpthreadutil
+VPATH = @srctop@/lib/libpthreadutil
+prefix= @prefix@
+exec_prefix= @exec_prefix@
+
+INSTALL_PATH = @exec_prefix@
+ BINDIR = $(INSTALL_PATH)/bin
+ LIBDIR = $(INSTALL_PATH)/lib
+ MANDIR = $(INSTALL_PATH)/man
+ INCDIR = $(INSTALL_PATH)/include
+
+ CC = ../../pgcc -notinstalled
+ CDEBUGFLAGS = @CFLAGS@
+ CFLAGS = $(CDEBUGFLAGS) $(INCLUDES) $(ADDL_CFLAGS) -DSRCDIR=\"$(srcdir)\"
+ RANLIB = @RANLIB@
+
+ OBJS = pthread_tad.o pthread_atexit.o
+ LIBRARY = libpthreadutil.a
+ HEADERS = pthreadutil.h
+
+################################################################################
+#
+all : $(LIBRARY)
+
+clean:
+ rm -f *.o $(TESTS) $(BENCHMARKS) a.out core maketmp makeout
+
+depend:
+ sed '/\#\#\# Dependencies/q' < Makefile > maketmp
+ (for i in $(CSRC);do $(CPP) -M $$i;done) >> maketmp
+ cp maketmp Makefile
+
+install: $(LIBRARY)
+ install $(LIBRARY) $(LIBDIR)
+ for x in $(HEADERS); \
+ do cp $(srcdir)/$$x $(INCDIR); \
+ done
+
+realclean: clean
+ rm -f Makefile
+
+Makefile: Makefile.in
+ (cd ../.. ; sh config.status)
+
+.c.o:
+ $(CC) $(CFLAGS) -c $<
+
+$(LIBRARY) : ${OBJS}
+ ar r new.a ${OBJS} && \
+ $(RANLIB) new.a && \
+ mv -f new.a $(LIBRARY)
+
+################################################################################
+### Do not remove the following line. It is for depend #########################
+### Dependencies: