Makefile
上传用户:tsgydb
上传日期:2007-04-14
资源大小:10674k
文件大小:2k
- # Generated automatically from Makefile.in by configure.
- # === 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 = /home/my/tmp/BUILD/mit-pthreads
- srcdir = /home/my/tmp/BUILD/mit-pthreads/bin/finger
- VPATH = /home/my/tmp/BUILD/mit-pthreads/bin/finger
- prefix= /usr/local/pthreads
- exec_prefix= ${prefix}
- INSTALL_PATH = ${prefix}
- BINDIR = $(INSTALL_PATH)/bin
- LIBDIR = $(INSTALL_PATH)/lib
- MANDIR = $(INSTALL_PATH)/man
- INCDIR = $(INSTALL_PATH)/include
- CC = ../../pgcc -notinstalled
- CDEBUGFLAGS = -O6 -DDBUG_OFF -Werror
- INCLUDES = -I/home/my/tmp/BUILD/mit-pthreads/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: