Revision 24621,
1.6 KB
checked in by broder, 15 years ago
(diff) |
In discuss:
* Add a working distclean target.
|
Line | |
---|
1 | # |
---|
2 | # $Id: Makefile.in,v 1.4 2007-08-09 20:41:31 amb Exp $ |
---|
3 | # |
---|
4 | |
---|
5 | SHELL=/bin/sh |
---|
6 | VPATH=@srcdir@ |
---|
7 | INSTALL=@INSTALL@ |
---|
8 | INSTALL_PROGRAM=@INSTALL_PROGRAM@ |
---|
9 | INSTALL_DATA=@INSTALL_DATA@ |
---|
10 | MKDIR_P=@MKDIR_P@ |
---|
11 | srcdir=@srcdir@ |
---|
12 | top_srcdir=@top_srcdir@ |
---|
13 | prefix=@prefix@ |
---|
14 | exec_prefix=@exec_prefix@ |
---|
15 | bindir=@bindir@ |
---|
16 | sbindir=@sbindir@ |
---|
17 | datarootdir=@datarootdir@ |
---|
18 | datadir=@datadir@ |
---|
19 | # XXX |
---|
20 | lispdir=@lispdir@ |
---|
21 | libexecdir=@libexecdir@ |
---|
22 | |
---|
23 | CC=@CC@ |
---|
24 | DEFS=@DEFS@ |
---|
25 | CPPFLAGS=@CPPFLAGS@ |
---|
26 | CFLAGS=@CFLAGS@ |
---|
27 | LDFLAGS=@LDFLAGS@ |
---|
28 | LIBS=../server/acl.o ../libds/libdsk.a ../usp/libusp.a @KRB4_LIBS@ @KRB5_LIBS@ @LIBS@ |
---|
29 | ALL_CFLAGS=-I../include ${CPPFLAGS} ${CFLAGS} ${DEFS} |
---|
30 | |
---|
31 | OBJS = edsc.o parse.o time.o do_quote.o do_trn.o do_mtg.o do_misc.o\ |
---|
32 | do_cache.o version.o |
---|
33 | |
---|
34 | SRCS = edsc.c parse.c time.c do_quote.c do_trn.c do_mtg.c do_misc.c\ |
---|
35 | do_cache.c version.c |
---|
36 | |
---|
37 | .c.o: |
---|
38 | ${CC} -c ${ALL_CFLAGS} $< |
---|
39 | |
---|
40 | all: edsc discuss.el |
---|
41 | |
---|
42 | clean: |
---|
43 | rm -f edsc *.o version.h discuss.el |
---|
44 | |
---|
45 | distclean: clean |
---|
46 | rm -f Makefile |
---|
47 | |
---|
48 | depend: |
---|
49 | |
---|
50 | install: all |
---|
51 | ${MKDIR_P} ${DESTDIR}${libexecdir} |
---|
52 | ${MKDIR_P} ${DESTDIR}${lispdir} |
---|
53 | ${INSTALL_PROGRAM} edsc ${DESTDIR}${libexecdir} |
---|
54 | ${INSTALL_DATA} ${srcdir}/discuss-acl.el ${DESTDIR}${lispdir} |
---|
55 | ${INSTALL_DATA} ${srcdir}/discuss-enter.el ${DESTDIR}${lispdir} |
---|
56 | ${INSTALL_DATA} ${srcdir}/discuss-ls.el ${DESTDIR}${lispdir} |
---|
57 | ${INSTALL_DATA} ${srcdir}/discuss-misc.el ${DESTDIR}${lispdir} |
---|
58 | ${INSTALL_DATA} ${srcdir}/discuss.el ${DESTDIR}${lispdir} |
---|
59 | |
---|
60 | version.h: ${SRCS} newvers.sh |
---|
61 | sh newvers.sh |
---|
62 | |
---|
63 | discuss.el: discuss.el.in Makefile |
---|
64 | sed -e 's|#libexecdir#|${libexecdir}|' $< > $@ |
---|
65 | |
---|
66 | edsc: $(OBJS) |
---|
67 | ${CC} ${LDFLAGS} -o edsc ${OBJS} ${LIBS} |
---|
68 | |
---|
69 | version.o: version.c version.h |
---|
Note: See
TracBrowser
for help on using the repository browser.