Mercurial > hg > xemacs-beta
view modules/sample/external/Makefile.in.in @ 4256:1dabc28c10d0
[xemacs-hg @ 2007-11-08 07:12:39 by michaels]
2007-10-31 Mike Sperber <mike@xemacs.org>
* autoload.el (make-autoload): Add `defclass' and `defmethod' as
defmacro-like operators. This is need to enable compilation of
packages that depend on eieio.
author | michaels |
---|---|
date | Thu, 08 Nov 2007 07:12:40 +0000 |
parents | 74b2ea269eb5 |
children | dce479915b74 |
line wrap: on
line source
## Makefile for the sample module in XEmacs. ## Copyright (C) 2002 Jerry James. ## This file is not part of XEmacs. ### Specialize this part for your module MODNAME=sample MODVER=0.0.1 MODTITLE="Sample module for XEmacs" SRCS=sample.c ### You should not need to modify anything below this line SHELL=/bin/sh RM=rm -f CFLAGS=@CFLAGS@ LDFLAGS=@LDFLAGS@ srcdir=@srcdir@ VPATH=@srcdir@ SRC_SRCS=$(SRCS:%=$(srcdir)/%) OBJS=$(SRCS:.c=.o) ELLCC=@ELLCC@ MODARCHDIR=$(shell @ELLCC@ --mod-archdir) INSTALLPATH=$(shell @ELLCC@ --mod-site-location) INSTALL=@INSTALL@ INSTALL_PROGRAM=@INSTALL_PROGRAM@ .PHONY: clean distclean install all: $(MODNAME).ell .c.o: $(ELLCC) $(CFLAGS) --mode=compile --mod-output=$@ \ -I$(MODARCHDIR)/include -c $< $(MODNAME).ell: $(OBJS) $(MODNAME)_i.o $(ELLCC) --mode=link --mod-output=$@ $(OBJS) $(MODNAME)_i.o $(LDFLAGS) $(MODNAME)_i.c: $(SRCS) ELLMAKEDOC=$(MODARCHDIR)/make-docfile $(ELLCC) --mode=init \ --mod-output=$@ --mod-name=$(MODNAME) --mod-version=$(MODVER) \ --mod-title=$(MODTITLE) $(SRC_SRCS) clean: $(RM) $(MODNAME).ell $(OBJS) $(MODNAME)_i.* *~ distclean: clean $(RM) Makefile config.* configure install: $(MODNAME).ell $(INSTALL_PROGRAM) $< $(INSTALLPATH)