#
#===========================================================================
#=                                                                         =
#=  (C) Copyright 1995, Computer Technology Institute (CTI)                =
#=                                                                         =
#=  Permission to use, copy, modify and distribute this software and       =
#=  its documentation for non-commercial use and without fee is hereby     =
#=  granted, provided that the above copyright notice appear in all        =
#=  copies and that both that copyright notice and this permission         =
#=  notice and warranty disclaimer appear in supporting documentation,     =
#=  and that the name of Computer Technology Institute (CTI) or any of     =
#=  its entities not be used in advertising or publicity pertaining to     =
#=  distribution of the software and its documentation without specific    =
#=  prior permission.                                                      =
#=                                                                         =
#=  Computer Technology Institute (CTI) disclaims all warranties with      =
#=  regard to this software and makes no representations about the         =
#=  suitability of this software and its documentation for any purpose.    =
#=  It is provided "as is" without expressed or implied warranty.          =
#=                                                                         =
#===========================================================================
#=                                                                         =
#=                        Project CTI-Print                                =
#=                                                                         =
#= File:                                                                   =
#=   Makefile                                                              =
#=                                                                         =
#= Synopsis:                                                               =
#=   This is the Makefile to build and make the distribution.              =
#=                                                                         =
#= Author:                                                                 =
#=   Panos Dimakopoulos, Systems Programmer,                                =
#=   Computer Technology Institute,                                        =
#=   Division of Computing Facilities,                                     =
#=   P.O. Box 1122,                                                        =
#=   261 10  Patras,                                                       =
#=   Greece                                                                =
#=   (e-mail: dimakop@cti.gr)                                              =
#=   Tel: +30 61 992061                                                    =
#=   Fax: +30 61 993973                                                    =
#=                                                                         =
#===========================================================================
#


TARFILE=PLP-lpd-filters-v1.2.tar

.SUFFIXES: .o .c .c~ .h .h~

.inc~.inc:
	sccs get $<

distribution: all
	(cd ../.. ; tar cvf ${TARFILE} `cat ./CTI-Print/PLP-lpd-filters/FILES`)
	(cd ../.. ; compress ${TARFILE} )

all: Make.inc
	for i in hpiii hp4 ; do \
		echo "Making in directory" $$i ; \
		(cd $$i ; make all) ; \
	done ;

install: all
	for i in hpiii hp4 ; do \
		echo "Installing from directory" $$i ; \
		(cd $$i ; make install) ; \
	done ;

clean:
	for i in hpiii hp4 ; do \
                echo "Cleaning in directory" $$i ; \
                (cd $$i ; make clean) ; \
        done ;
 
