Mercurial > hg > xemacs-beta
view modules/sample/external/Makefile.in.in @ 4979:4234fd5a7b17
fix bug #668 (compile error, not --with-debug)
-------------------- ChangeLog entries follow: --------------------
src/ChangeLog addition:
2010-02-05 Ben Wing <ben@xemacs.org>
* lisp.h:
* lisp.h (staticpro_nodump_1):
Define staticpro_1 and staticpro_nodump_1 when not XEMACS_DEBUG.
* symbols.c (defsymbol_massage_name_1):
* symbols.c (defsymbol_massage_multiword_predicate):
Cosmetic fixes.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Fri, 05 Feb 2010 08:09:03 -0600 |
parents | dce479915b74 |
children | dd9541c73e70 |
line wrap: on
line source
## Makefile for the sample module in XEmacs. ## Copyright (C) 2002 Jerry James. ## ## This sample Makefile is free; 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 2, or (at your option) any ## later version. ## 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)