Mercurial > hg > xemacs-beta
comparison lisp/ilisp/Makefile @ 4:b82b59fe008d r19-15b3
Import from CVS: tag r19-15b3
| author | cvs |
|---|---|
| date | Mon, 13 Aug 2007 08:46:56 +0200 |
| parents | 376386a54a3c |
| children | bcdc7deadc19 |
comparison
equal
deleted
inserted
replaced
| 3:30df88044ec6 | 4:b82b59fe008d |
|---|---|
| 1 # -*- Mode: Makefile -*- | 1 # -*- Mode: Makefile -*- |
| 2 | 2 |
| 3 # Makefile -- | 3 # Makefile -- |
| 4 # This file is part of ILISP. | 4 # This file is part of ILISP. |
| 5 # Version: 5.7 | 5 # Version: 5.8 |
| 6 # | 6 # |
| 7 # Copyright (C) 1990, 1991, 1992, 1993 Chris McConnell | 7 # Copyright (C) 1990, 1991, 1992, 1993 Chris McConnell |
| 8 # 1993, 1994 Ivan Vasquez | 8 # 1993, 1994 Ivan Vasquez |
| 9 # 1994, 1995 Marco Antoniotti and Rick Busdiecker | 9 # 1994, 1995, 1996 Marco Antoniotti and Rick Busdiecker |
| 10 # 1996 Marco Antoniotti and Rick Campbell | |
| 10 # | 11 # |
| 11 # Send mail to 'ilisp-request@lehman.com' to be included in the | 12 # Send mail to 'ilisp-request@naggum.no' to be included in the |
| 12 # ILISP mailing list. | 13 # ILISP mailing list. |
| 13 | 14 |
| 14 #------------------------------------------------------------------------------ | 15 # Note: this makefile assumes GNU make |
| 16 | |
| 17 #============================================================================== | |
| 15 # Various Variables | 18 # Various Variables |
| 16 | 19 |
| 17 #EMACS=xemacs | 20 Version = 5.8 |
| 18 EMACS=emacs | |
| 19 | 21 |
| 20 OtherFiles=README HISTORY Makefile ilisp.emacs | 22 # Use whichever you like most |
| 23 #EMACS = xemacs | |
| 24 #EMACS = /usr/local/bin/emacs | |
| 25 EMACS = emacs | |
| 21 | 26 |
| 22 DocFiles=ilisp.texi ilisp.ps.gz ilisp.info ilisp.info-1 ilisp.info-2 | 27 # The SHELL variable is used only for making the distribution. |
| 28 SHELL = /bin/csh | |
| 23 | 29 |
| 24 Version=5.7 | 30 # These are used mostly for packaging the distribution |
| 31 Ilisp_src_dir = $(shell pwd) | |
| 32 Ilisp_tar_dir = ilisp-$(Version) | |
| 25 | 33 |
| 26 LoadFiles=ilisp-def.elc ilisp-el.elc ilisp-sym.elc \ | 34 OtherFiles = README \ |
| 35 HISTORY \ | |
| 36 Makefile \ | |
| 37 ilisp.emacs \ | |
| 38 INSTALLATION \ | |
| 39 COPYING \ | |
| 40 GETTING-ILISP \ | |
| 41 Welcome | |
| 42 | |
| 43 DocFiles = ilisp.texi | |
| 44 | |
| 45 LoadFiles = ilisp-def.elc ilisp-el.elc ilisp-sym.elc \ | |
| 27 ilisp-inp.elc ilisp-ind.elc ilisp-prc.elc ilisp-val.elc ilisp-out.elc \ | 46 ilisp-inp.elc ilisp-ind.elc ilisp-prc.elc ilisp-val.elc ilisp-out.elc \ |
| 28 ilisp-mov.elc ilisp-key.elc ilisp-prn.elc ilisp-low.elc ilisp-doc.elc \ | 47 ilisp-mov.elc ilisp-key.elc ilisp-prn.elc ilisp-low.elc ilisp-doc.elc \ |
| 29 ilisp-ext.elc ilisp-mod.elc ilisp-dia.elc ilisp-cmt.elc ilisp-rng.elc \ | 48 ilisp-ext.elc ilisp-mod.elc ilisp-dia.elc ilisp-cmt.elc ilisp-rng.elc \ |
| 30 ilisp-hnd.elc ilisp-utl.elc ilisp-cmp.elc ilisp-kil.elc ilisp-snd.elc \ | 49 ilisp-hnd.elc ilisp-utl.elc ilisp-cmp.elc ilisp-kil.elc ilisp-snd.elc \ |
| 31 ilisp-xfr.elc ilisp-hi.elc ilisp-aut.elc ilisp-cl.elc ilisp-cmu.elc \ | 50 ilisp-xfr.elc ilisp-hi.elc ilisp-aut.elc ilisp-cl.elc ilisp-cmu.elc \ |
| 32 ilisp-acl.elc ilisp-kcl.elc ilisp-luc.elc ilisp-sch.elc ilisp-hlw.elc | 51 ilisp-acl.elc ilisp-kcl.elc ilisp-luc.elc ilisp-sch.elc ilisp-hlw.elc \ |
| 52 ilisp-xls.elc | |
| 33 | 53 |
| 34 | 54 |
| 35 #------------------------------------------------------------------------------ | 55 #============================================================================== |
| 36 # Rules | 56 # Rules |
| 37 | 57 |
| 38 compile: | 58 compile: |
| 39 $(EMACS) -batch -l ilisp-mak.el | 59 $(EMACS) -batch -l ilisp-mak.el |
| 40 | 60 |
| 41 id: | |
| 42 mkid -S.el=lisp *.el | |
| 43 | |
| 44 tags: | 61 tags: |
| 45 etags *.el | 62 etags *.el |
| 46 | |
| 47 dist: tarring compressing | |
| 48 | |
| 49 tarring: | |
| 50 tar cvf ilisp-$(Version).tar $(OtherFiles) *.el *.lisp *.lcd $(DocFiles) *.mail | |
| 51 | |
| 52 compressing: | |
| 53 gzip ilisp-$(Version).tar | |
| 54 | 63 |
| 55 clean: | 64 clean: |
| 56 $(RM) *.elc | 65 $(RM) *.elc |
| 57 | 66 |
| 58 loadfile: | 67 loadfile: |
| 59 touch ilisp-all.elc | 68 touch ilisp-all.elc |
| 60 cat $(LoadFiles) > ilisp-all.elc | 69 cat $(LoadFiles) > ilisp-all.elc |
| 61 rm $(LoadFiles) | 70 rm $(LoadFiles) |
| 62 # Note that the redirection is done by a Bourne Shell. | 71 # Note that the redirection is done by a Bourne Shell. |
| 63 | 72 |
| 73 compress: | |
| 74 gzip *.el $(OtherFiles) $(DocFiles) | |
| 75 | |
| 76 #============================================================================== | |
| 77 # The following targets are used only to create a distribution file. | |
| 78 | |
| 79 dist: tarring dist_compressing | |
| 80 | |
| 81 tarring: | |
| 82 (cd $(Ilisp_src_dir)/..; \ | |
| 83 if ( $(notdir $(Ilisp_src_dir)) != $(Ilisp_tar_dir) ) \ | |
| 84 ln -s $(notdir $(Ilisp_src_dir)) $(Ilisp_tar_dir) ; \ | |
| 85 tar cvf $(Ilisp_tar_dir).tar \ | |
| 86 $(patsubst %,$(Ilisp_tar_dir)/%,$(OtherFiles)) \ | |
| 87 $(Ilisp_tar_dir)/*.el \ | |
| 88 $(Ilisp_tar_dir)/*.lisp \ | |
| 89 $(patsubst %,$(Ilisp_tar_dir)/%,$(DocFiles)) \ | |
| 90 $(Ilisp_tar_dir)/*.mail) | |
| 91 | |
| 92 dist_compressing: | |
| 93 (cd $(Ilisp_src_dir)/.. ; gzip $(Ilisp_tar_dir).tar) | |
| 94 | |
| 95 uuencoding: ../$(Ilisp_tar_dir).tar.gz | |
| 96 (cd $(Ilisp_src_dir)/.. ; \ | |
| 97 uuencode $(Ilisp_tar_dir).tar.gz $(Ilisp_tar_dir).tar.gz > il.uue) | |
| 98 | |
| 99 | |
| 64 # end of file -- Makefile -- | 100 # end of file -- Makefile -- |
