mariadb/mit-pthreads/bin/finger/Makefile.in
bk@work.mysql.com f4c589ff6c Import changeset
2000-07-31 21:29:14 +02:00

60 lines
1.6 KiB
Makefile
Executable file

# === 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@/bin/finger
VPATH = @srctop@/bin/finger
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@
INCLUDES = -I@srctop@/lib/libpthreadutil/ -L../../lib/libpthreadutil/
CFLAGS = $(CDEBUGFLAGS) $(INCLUDES) $(ADDL_CFLAGS) -DSRCDIR=\"$(srcdir)\"
RANLIB = @RANLIB@
OBJS = finger.o net.o
BINARY = finger
################################################################################
#
all : $(BINARY)
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: $(BINARY)
install $(BINARY) $(BINDIR)
realclean: clean
rm -f Makefile
Makefile: Makefile.in
(cd ../.. ; sh config.status)
.c.o:
$(CC) $(CFLAGS) -c $<
$(BINARY) : ${OBJS}
$(CC) $(CFLAGS) -o $(BINARY) ${OBJS} -lpthreadutil
################################################################################
### Do not remove the following line. It is for depend #########################
### Dependencies: