view lisp/ilisp/Makefile @ 128:13db4aa44a2e

Added tag xemacs-20-1p2 for changeset 7b236889ca3a
author cvs
date Mon, 13 Aug 2007 09:28:11 +0200
parents c7528f8e288d
children 15872534500d
line wrap: on
line source

# -*- Mode: Makefile -*-

# Makefile --
# This file is part of ILISP.
# Version: 5.8
#
# Copyright (C) 1990, 1991, 1992, 1993 Chris McConnell
#               1993, 1994 Ivan Vasquez
#               1994, 1995, 1996 Marco Antoniotti and Rick Busdiecker
#               1996 Marco Antoniotti and Rick Campbell
#
# Send mail to 'ilisp-request@naggum.no' to be included in the
# ILISP mailing list.

# Note: this makefile assumes GNU make

#==============================================================================
# Various Variables

Version = 5.8

# Use whichever you like most
#EMACS = xemacs
#EMACS = /usr/local/bin/emacs
EMACS = emacs

# The SHELL variable is used only for making the distribution.
SHELL = /bin/csh

# These are used mostly for packaging the distribution
Ilisp_src_dir = $(shell pwd)
Ilisp_tar_dir = ilisp-$(Version)

OtherFiles = README         \
             HISTORY        \
             Makefile       \
             ilisp.emacs    \
             INSTALLATION   \
             COPYING        \
             GETTING-ILISP  \
             Welcome

DocFiles = ilisp.texi

LoadFiles = ilisp-def.elc ilisp-el.elc ilisp-sym.elc \
 ilisp-inp.elc ilisp-ind.elc ilisp-prc.elc ilisp-val.elc ilisp-out.elc \
 ilisp-mov.elc ilisp-key.elc ilisp-prn.elc ilisp-low.elc ilisp-doc.elc \
 ilisp-ext.elc ilisp-mod.elc ilisp-dia.elc ilisp-cmt.elc ilisp-rng.elc \
 ilisp-hnd.elc ilisp-utl.elc ilisp-cmp.elc ilisp-kil.elc ilisp-snd.elc \
 ilisp-xfr.elc ilisp-hi.elc ilisp-aut.elc ilisp-cl.elc ilisp-cmu.elc \
 ilisp-acl.elc ilisp-kcl.elc ilisp-luc.elc ilisp-sch.elc ilisp-hlw.elc \
 ilisp-xls.elc


#==============================================================================
# Rules

compile:
	$(EMACS) -batch -l ilisp-mak.el

elc: $(LoadFiles)

$(LoadFiles) :
	$(EMACS) -batch -l ilisp-mak.el

tags:
	etags *.el

clean: 
	$(RM) *.elc

loadfile:
	touch ilisp-all.elc
	cat $(LoadFiles) > ilisp-all.elc
	rm $(LoadFiles)
# Note that the redirection is done by a Bourne Shell.

compress:
	gzip *.el $(OtherFiles) $(DocFiles)

#==============================================================================
# The following targets are used only to create a distribution file.

dist: tarring dist_compressing

tarring:
	(cd $(Ilisp_src_dir)/..;                                        \
         if ( $(notdir $(Ilisp_src_dir)) != $(Ilisp_tar_dir) )          \
            ln -s $(notdir $(Ilisp_src_dir)) $(Ilisp_tar_dir) ;         \
         tar cvf $(Ilisp_tar_dir).tar                                   \
            $(patsubst %,$(Ilisp_tar_dir)/%,$(OtherFiles))              \
            $(Ilisp_tar_dir)/*.el                                       \
            $(Ilisp_tar_dir)/*.lisp                                     \
            $(patsubst %,$(Ilisp_tar_dir)/%,$(DocFiles))                \
            $(Ilisp_tar_dir)/*.mail)

dist_compressing:
	(cd $(Ilisp_src_dir)/.. ; gzip $(Ilisp_tar_dir).tar)

uuencoding: ../$(Ilisp_tar_dir).tar.gz
	(cd $(Ilisp_src_dir)/.. ;                                           \
         uuencode $(Ilisp_tar_dir).tar.gz $(Ilisp_tar_dir).tar.gz > il.uue)


# end of file -- Makefile --