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

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