Revision 24618,
1.5 KB
checked in by broder, 15 years ago
(diff) |
In discuss:
* Update our autogoo for the 21st century.
|
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 | depend: |
---|
46 | |
---|
47 | install: all |
---|
48 | ${MKDIR_P} ${DESTDIR}${libexecdir} |
---|
49 | ${MKDIR_P} ${DESTDIR}${lispdir} |
---|
50 | ${INSTALL_PROGRAM} edsc ${DESTDIR}${libexecdir} |
---|
51 | ${INSTALL_DATA} ${srcdir}/discuss-acl.el ${DESTDIR}${lispdir} |
---|
52 | ${INSTALL_DATA} ${srcdir}/discuss-enter.el ${DESTDIR}${lispdir} |
---|
53 | ${INSTALL_DATA} ${srcdir}/discuss-ls.el ${DESTDIR}${lispdir} |
---|
54 | ${INSTALL_DATA} ${srcdir}/discuss-misc.el ${DESTDIR}${lispdir} |
---|
55 | ${INSTALL_DATA} ${srcdir}/discuss.el ${DESTDIR}${lispdir} |
---|
56 | |
---|
57 | version.h: ${SRCS} newvers.sh |
---|
58 | sh newvers.sh |
---|
59 | |
---|
60 | discuss.el: discuss.el.in Makefile |
---|
61 | sed -e 's|#libexecdir#|${libexecdir}|' $< > $@ |
---|
62 | |
---|
63 | edsc: $(OBJS) |
---|
64 | ${CC} ${LDFLAGS} -o edsc ${OBJS} ${LIBS} |
---|
65 | |
---|
66 | version.o: version.c version.h |
---|
Note: See
TracBrowser
for help on using the repository browser.