Mercurial > hg > xemacs-beta
comparison modules/ldap/Makefile @ 410:de805c49cfc1 r21-2-35
Import from CVS: tag r21-2-35
| author | cvs |
|---|---|
| date | Mon, 13 Aug 2007 11:19:21 +0200 |
| parents | 74fd4e045ea6 |
| children | 697ef44129c6 |
comparison
equal
deleted
inserted
replaced
| 409:301b9ebbdf3b | 410:de805c49cfc1 |
|---|---|
| 1 # | 1 # |
| 2 # Sample makefile for a simple Emacs module. | |
| 3 # This is slightly more complicated than would normally be the case, | 2 # This is slightly more complicated than would normally be the case, |
| 4 # as this makefile has been tailored to work in the Emacs source tree. | 3 # as this makefile has been tailored to work in the Emacs source tree. |
| 5 # For samples of how to compile modules outside of the source tree | 4 # For samples of how to compile modules outside of the source tree |
| 6 # (as would be the case if a user had downloaded a module and wanted | 5 # (as would be the case if a user had downloaded a module and wanted |
| 7 # to compile it for use within Emacs), see the samples in the sub-directory | 6 # to compile it for use within Emacs), see the samples in the sub-directory |
| 8 # 'installed'. | 7 # 'installed'. |
| 9 # | 8 # |
| 10 | 9 |
| 10 SHELL=/bin/sh | |
| 11 RM=rm -f | |
| 11 CC=../../lib-src/ellcc | 12 CC=../../lib-src/ellcc |
| 12 CFLAGS=-I. -I../../src | 13 CFLAGS=-I. -I../../src |
| 13 LD=$(CC) --mode=link | 14 LD=$(CC) --mode=link |
| 14 MKINIT=$(CC) --mode=init | 15 MKINIT=$(CC) --mode=init |
| 15 | 16 |
| 26 all: $(MODNAME).ell | 27 all: $(MODNAME).ell |
| 27 | 28 |
| 28 distclean: clean | 29 distclean: clean |
| 29 | 30 |
| 30 clean: | 31 clean: |
| 31 rm -f $(MODNAME).ell $(OBJS) eldap_i.o eldap_i.c | 32 $(RM) $(MODNAME).ell $(OBJS) eldap_i.o eldap_i.c |
| 32 | 33 |
| 33 $(MODNAME).ell: $(OBJS) eldap_i.o | 34 $(MODNAME).ell: $(OBJS) eldap_i.o |
| 34 $(LD) --mod-output=$@ $(OBJS) eldap_i.o | 35 $(LD) --mod-output=$@ $(OBJS) eldap_i.o |
| 35 | 36 |
| 36 eldap_i.o: eldap_i.c | 37 eldap_i.o: eldap_i.c |
