# 
# Smakefile for EmacsTCP - install
#
# Copyright  1993 AmiTCP/IP Group, <AmiTCP-group@hut.fi>
#                  Helsinki University of Technology, Finland.
#
# Created      : Sat Mar 20 02:44:57 1993 ppessi
# Last modified: Fri Nov 12 09:00:21 1993 jraja
#
# $Id: Smakefile,v 1.2 1993/11/12 07:01:06 jraja Exp $
#
# $Log: Smakefile,v $
# Revision 1.2  1993/11/12  07:01:06  jraja
# Added forms.el(c) and background.el(c).
#
#

MAKE = smake

RM= delete
RM_RECURSIVE= delete all
MKDIR= makedir
INSTALL= copy dates all

ETC= etc/tcp_AmiTCP
LISP= src/tcp.el lisp/tcp.elc src/gopher.el lisp/gopher.elc \
	 src/forms.el lisp/forms.elc src/background.el lisp/background.elc

FILES= add_to_.emacs $(ETC) $(LISP)

all:

DESTDIRS= $(DEST)appl $(DEST)appl/EmacsTCP $(DEST)appl/EmacsTCP/etc \
	$(DEST)appl/EmacsTCP/lisp
$(DEST)appl:
	$(MKDIR) $@
$(DEST)appl/EmacsTCP:
	-$(MKDIR) $@
$(DEST)appl/EmacsTCP/etc: $(DEST)appl/EmacsTCP
	-$(MKDIR) $@ 
$(DEST)appl/EmacsTCP/lisp: $(DEST)appl/EmacsTCP
	-$(MKDIR) $@

install: $(DESTDIRS) $(FILES)
	$(INSTALL) add_to_.emacs $(DEST)appl/EmacsTCP
	$(INSTALL) $(ETC) $(DEST)appl/EmacsTCP/etc
	$(INSTALL) $(LISP) $(DEST)appl/EmacsTCP/lisp

