# $Id: Makefile,v 1.2 1996/06/29 15:27:39 mtp Exp $
############################################################################
#    
#  COPYRIGHT NOTICE
#    
#  Copyright (C) 1995, 1996 Michael T. Peterson
#  This file is part of the PCthreads (tm) multithreading library
#  package.
#    
#  The source files and libraries constituting the PCthreads (tm) package
#  are free software; you can redistribute them and/or modify them under
#  the terms of the GNU Library General Public License as published by the Free
#  Software Foundation; either version 2 of the License, or (at your
#  option) any later version.
#    
#  The PCthreads (tm) package is distributed in the hope that it will
#  be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
#  Library General Public License for more details.
#    
#  You should have received a copy of the GNU Library General Public
#  License along with this library (see the file COPYING.LIB); if not,
#  write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
#  MA 02139, USA.
#    
#  To report bugs, bug fixes, or provide feedback you may contact the
#  author, Michael T. Peterson, at either of the two email addresses listed
#  below:
#    
#                 mtp@big.aa.net (Preferred)
#                 mtp@zso.dec.com
#    
#    
#  Michael T. Peterson
#  Redmond, WA.
#  12 January, 1996
############################################################################
# $Log: Makefile,v $
# Revision 1.2  1996/06/29 15:27:39  mtp
# + Added rule to install pthreads.  Added symbol for etc directory
#
# Revision 1.2  1996/06/28 15:59:34  mtp
# + Added rule to cleanup correct object directories (i.e., OBJDIR)
#
# Revision 1.1.1.1  1996/06/28 15:45:40  mtp
# Official V1.0 Sources
#
# Revision 2.0  1996/06/28 14:57:38  mtp
# + Release 2.0
#
# Revision 1.4  1996/01/14 18:09:00  mtp
# + Added copyright and permission notice.
#
# Revision 1.3  1995/12/18 22:31:24  mtp
# + Major surgery to accomodate the new directory structure layout.
#
# Revision 1.2  1995/12/16 23:14:28  mtp
# + Some minor cosmetic changes
# + Changed rule that cleans PTHREAD_LIBDIR to only remove libpthread* files
#
# Revision 1.1.1.1  1995/12/16 21:41:57  mtp
# + Placed under CVS control
#
############################################################################
include    Rules.pthreads

all: headers
	@cd ${PTHREAD_SRCDIR}; make all;

headers:
	@cp -f ${PTHREAD_HEADERS} ${PTHREAD_INCDIR}

install:
	@cd ${PTHREAD_ETCDIR}; install-script.sh

clean:
	@rm -f *.bak *~;
	@rm -f ${PTHREAD_LIBDIR}/libpthrea*
	@rm -f ${PTHREAD_INCDIR}/*.h
	@rm -f ${PTHREAD_ETCDIR}/*.bak
	@rm -f ${OBJDIR}/*.o
	@echo + removed ${PTHREAD_LIB}.${VERSION};
	@cd ${PTHREAD_SRCDIR}; make clean;
