Mercurial > hg > xemacs-beta
view modules/zlib/Makefile @ 5614:281bf2b87915
Call #'cl-macroexpand-all in #'cl-transform-function-property
2011-12-21 Aidan Kehoe <kehoea@parhasard.net>
* cl-macs.el (cl-transform-function-property):
Call #'cl-macroexpand-all when doing this, avoiding unpleasantness
with defsetf and lexical variables.
* cl-macs.el (assert):
The previous change meant #'remove-if isn't necessarily available
yet; use the :key argument with #'remove* instead.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Wed, 21 Dec 2011 16:54:30 +0000 |
parents | 4aa8ee813265 |
children |
line wrap: on
line source
# Copyright (C) 1998, 1999 William Perry. # This file is part of XEmacs. # XEmacs 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 3 of the License, or (at your # option) any later version. # XEmacs 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 XEmacs. If not, see <http://www.gnu.org/licenses/>. # # Sample makefile for a simple Emacs module. # This is slightly more complicated than would normally be the case, # as this makefile has been tailored to work in the Emacs source tree. # For samples of how to compile modules outside of the source tree # (as would be the case if a user had downloaded a module and wanted # to compile it for use within Emacs), see the samples in the sub-directory # 'installed'. # DESTDIR= SHELL=/bin/sh RM=rm -f CC=../../lib-src/ellcc CFLAGS=-I. -I../../src LD=$(CC) --mode=link MKINIT=$(CC) --mode=init SRCS=zlib.c OBJS=$(SRCS:.c=.o) .c.o: $(CC) $(CFLAGS) -c $< MODNAME=zlib MODVER=1.0.4 MODTITLE="ZLIB compression library interface" all: $(MODNAME).ell distclean: clean clean: $(RM) $(MODNAME).ell $(OBJS) zlib_i.o zlib_i.c $(MODNAME).ell: $(OBJS) zlib_i.o $(LD) --mod-output=$@ $(OBJS) zlib_i.o zlib_i.o: zlib_i.c zlib_i.c: $(SRCS) ELLMAKEDOC=../../lib-src/make-docfile $(MKINIT) --mod-output=$@ \ --mod-name=$(MODNAME) --mod-version=$(MODVER) \ --mod-title=$(MODTITLE) $(SRCS)