source: trunk/athena/bin/discuss/edsc/Makefile.in @ 24621

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
5SHELL=/bin/sh
6VPATH=@srcdir@
7INSTALL=@INSTALL@
8INSTALL_PROGRAM=@INSTALL_PROGRAM@
9INSTALL_DATA=@INSTALL_DATA@
10MKDIR_P=@MKDIR_P@
11srcdir=@srcdir@
12top_srcdir=@top_srcdir@
13prefix=@prefix@
14exec_prefix=@exec_prefix@
15bindir=@bindir@
16sbindir=@sbindir@
17datarootdir=@datarootdir@
18datadir=@datadir@
19# XXX
20lispdir=@lispdir@
21libexecdir=@libexecdir@
22
23CC=@CC@
24DEFS=@DEFS@
25CPPFLAGS=@CPPFLAGS@
26CFLAGS=@CFLAGS@
27LDFLAGS=@LDFLAGS@
28LIBS=../server/acl.o ../libds/libdsk.a ../usp/libusp.a @KRB4_LIBS@ @KRB5_LIBS@ @LIBS@
29ALL_CFLAGS=-I../include ${CPPFLAGS} ${CFLAGS} ${DEFS}
30
31OBJS    = 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
34SRCS    = 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
40all: edsc discuss.el
41
42clean:
43        rm -f edsc *.o version.h discuss.el
44
45distclean: clean
46        rm -f Makefile
47
48depend:
49
50install: 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
60version.h: ${SRCS} newvers.sh
61        sh newvers.sh
62
63discuss.el: discuss.el.in Makefile
64        sed -e 's|#libexecdir#|${libexecdir}|' $< > $@
65
66edsc: $(OBJS)
67        ${CC} ${LDFLAGS} -o edsc ${OBJS} ${LIBS}
68
69version.o: version.c version.h
Note: See TracBrowser for help on using the repository browser.