annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
388
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
1 #
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
2 # This is slightly more complicated than would normally be the case,
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
3 # as this makefile has been tailored to work in the Emacs source tree.
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
4 # For samples of how to compile modules outside of the source tree
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
5 # (as would be the case if a user had downloaded a module and wanted
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
6 # to compile it for use within Emacs), see the samples in the sub-directory
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
7 # 'installed'.
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
8 #
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
9
410
de805c49cfc1 Import from CVS: tag r21-2-35
cvs
parents: 398
diff changeset
10 SHELL=/bin/sh
de805c49cfc1 Import from CVS: tag r21-2-35
cvs
parents: 398
diff changeset
11 RM=rm -f
388
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
12 CC=../../lib-src/ellcc
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
13 CFLAGS=-I. -I../../src
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
14 LD=$(CC) --mode=link
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
15 MKINIT=$(CC) --mode=init
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
16
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
17 SRCS=eldap.c
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
18 OBJS=$(SRCS:.c=.o)
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
19
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
20 .c.o:
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
21 $(CC) $(CFLAGS) -c $<
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
22
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
23 MODNAME=ldap
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
24 MODVER=1.0.0
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
25 MODTITLE="LDAP Client Interface for XEmacs"
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
26
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
27 all: $(MODNAME).ell
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
28
398
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 388
diff changeset
29 distclean: clean
74fd4e045ea6 Import from CVS: tag r21-2-29
cvs
parents: 388
diff changeset
30
388
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
31 clean:
410
de805c49cfc1 Import from CVS: tag r21-2-35
cvs
parents: 398
diff changeset
32 $(RM) $(MODNAME).ell $(OBJS) eldap_i.o eldap_i.c
388
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
33
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
34 $(MODNAME).ell: $(OBJS) eldap_i.o
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
35 $(LD) --mod-output=$@ $(OBJS) eldap_i.o
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
36
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
37 eldap_i.o: eldap_i.c
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
38 eldap_i.c: $(SRCS)
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
39 ELLMAKEDOC=../../lib-src/make-docfile $(MKINIT) --mod-output=$@ \
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
40 --mod-name=$(MODNAME) --mod-version=$(MODVER) \
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
41 --mod-title=$(MODTITLE) $(SRCS)
aabb7f5b1c81 Import from CVS: tag r21-2-9
cvs
parents:
diff changeset
42