# Makefile -- The HP200LX TCP/IP Suite.
# Copyright (C) 1998-1999  Rod Whitby
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version
# 2 of the License, or (at your option) any later version.
#
# This program 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 General Public License for more
# details.
#
# You should have received a copy of the GNU General Public
# License along with this program; if not, write to the Free
# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,
# USA.
#
# $Source: A:/SRC/TCP/RCS/makefile $
# $Id: makefile 1.13 2000/04/11 04:56:25 rwhitby Exp $

NAME    = lxtcp
VERSION = 25
RELEASE = 0

all:
    cd wattcp
    make all
    cd ..\ncsatcp
    make all
    cd ..\tcpcfg
    make -DVERSION=$(VERSION) -DRELEASE=$(RELEASE) all
    cd ..\ping
    make -DVERSION=$(VERSION) -DRELEASE=$(RELEASE) all
    cd ..\dns
    make -DVERSION=$(VERSION) -DRELEASE=$(RELEASE) all
    cd ..\stubs
    make -DVERSION=$(VERSION) -DRELEASE=$(RELEASE) all
    cd ..\mta
    make -DVERSION=$(VERSION) -DRELEASE=$(RELEASE) all
    cd ..\ftp
    make -DVERSION=$(VERSION) -DRELEASE=$(RELEASE) all
    cd ..\inetd
    make -DVERSION=$(VERSION) -DRELEASE=$(RELEASE) all
    cd ..\rsh
    make -DVERSION=$(VERSION) -DRELEASE=$(RELEASE) all
    cd ..

install:
    cd tcpcfg
    make install
    cd ..\ping
    make install
    cd ..\dns
    make install
    cd ..\mta
    make install
    cd ..\ftp
    make install
    cd ..\inetd
    make install
    cd ..\rsh
    make install
    cd ..\ncsatcp
    make install
    cd ..

clean:
    cd wattcp
    make clean
    cd ..\ncsatcp
    make clean
    cd ..\stubs
    make clean
    cd ..\mta
    make clean
    cd ..\ftp
    make clean
    cd ..\tcpcfg
    make clean
    cd ..\inetd
    make clean
    cd ..\ping
    make clean
    cd ..\dns
    make clean
    cd ..\rsh
    make clean
    cd ..

zip:
    pkzip $(NAME)$(VERSION)b.zip @binaries.lst
    pkzip -r -P -x@exclude.lst \
        $(NAME)$(VERSION)s.zip @source.lst

# End of Makefile
