source: trunk/athena/bin/discuss/server/Makefile.in @ 23920

Revision 23920, 2.5 KB checked in by broder, 15 years ago (diff)
In discuss: * Fix local/dumb authentication needed for mail delivery and local client usage. Patch by Mitch Berger. (Trac: #274)
Line 
1#
2# $Id: Makefile.in,v 1.3 2007-08-09 20:41:33 amb Exp $
3#
4
5SHELL=/bin/sh
6VPATH=@srcdir@
7INSTALL=@INSTALL@
8INSTALL_PROGRAM=@INSTALL_PROGRAM@
9srcdir=@srcdir@
10top_srcdir=@top_srcdir@
11prefix=@prefix@
12exec_prefix=@exec_prefix@
13bindir=@bindir@
14sbindir=@sbindir@
15
16CC=@CC@
17DEFS=@DEFS@
18CPPFLAGS=@CPPFLAGS@
19CFLAGS=@CFLAGS@
20LDFLAGS=@LDFLAGS@
21LIBS=../libds/libdsk.a ../usp/libusp.a @ZEPHYR_LIBS@ @KRB4_LIBS@ @KRB5_LIBS@ @LIBS@
22ALL_CFLAGS=-I../include ${CPPFLAGS} ${CFLAGS} ${DEFS}
23
24DISCUSS_UID=discuss
25OBJS=   disserve.o atom.o dispatch.o acl.o acl_core.o \
26        ../libds/tfile.o ../libds/tnet.o \
27        ../ets/dsc_et.o ../ets/rpc_et.o
28DISCUSSD_OBJS=$(OBJS) rpproc.k.o core.o coreutil.o
29DISSERVE_OBJS=$(OBJS) rpproc.nk.o core.o coreutil.o
30
31.c.o:
32        ${CC} -c ${ALL_CFLAGS} $<
33
34all: debug recover expunge discussd disserve
35
36clean:
37        rm -f *.o *~ \#* disserve recover expunge discussd disdebug
38
39depend:
40
41install:
42        ${top_srcdir}/mkinstalldirs ${DESTDIR}${sbindir}
43        ${INSTALL_PROGRAM} discussd ${DESTDIR}${sbindir}
44        ${INSTALL_PROGRAM} disserve ${DESTDIR}${sbindir}
45
46discussd: $(DISCUSSD_OBJS)
47        ${CC} ${LDFLAGS} -o $@ $(DISCUSSD_OBJS) ${LIBS}
48
49disserve: $(DISSERVE_OBJS)
50        ${CC} ${LDFLAGS} -o $@ $(DISSERVE_OBJS) ${LIBS}
51
52servetest: ../client/discuss.o ../client/cmds.o ../client/libss.a \
53                ../client/discuss_utils.o core.o coreutil.o atom.o acl.o \
54                ../libds/tfile.o glue.o
55        ${CC} ${LDFLAGS} -o servetest ../client/discuss.o ../client/cmds.o \
56                ../client/libss.a ../client/discuss_utils.o core.o coreutil.o \
57                atom.o acl.o ../libds/tfile.o glue.o $(LDLIBS)
58
59recover: recover.o core.o coreutil.o atom.o acl.o ../libds/tunix.o \
60                ../libds/tfile.o glue.o ../ets/dsc_et.o $(COMERR)
61        ${CC} ${LDFLAGS} -o recover recover.o core.o coreutil.o atom.o acl.o \
62                glue.o $(LIBS) $(LDLIBS)
63
64expunge: expunge.o core.o coreutil.o atom.o acl.o acl_core.o \
65                ../libds/tunix.o ../libds/tfile.o glue.o ../ets/dsc_et.o \
66                $(COMERR)
67        ${CC} ${LDFLAGS} -o expunge expunge.o core.o coreutil.o atom.o acl.o \
68                acl_core.o glue.o $(LIBS) $(LDLIBS)
69
70debug:  disdebug
71
72disdebug: $(OBJS) rpproc.debug.o core.o coreutil.o
73        ${CC} ${LDFLAGS} -o disdebug $(OBJS) core.o coreutil.o rpproc.debug.o \
74                $(LIBS) $(LDLIBS)
75
76rpproc.k.o: rpproc.c
77        ${CC} ${ALL_CFLAGS} -DINETD -c rpproc.c
78        mv rpproc.o rpproc.k.o
79
80rpproc.nk.o: rpproc.c
81        ${CC} ${ALL_CFLAGS} -DSUBPROC -DNOKERBEROS -c rpproc.c
82        mv rpproc.o rpproc.nk.o
83
84rpproc.debug.o: rpproc.c
85        ${CC} ${ALL_CFLAGS} -c rpproc.c
86        mv rpproc.o rpproc.debug.o
87
88core.o: core.c
89        ${CC} ${ALL_CFLAGS} -c core.c
90
91coreutil.o: coreutil.c
92        ${CC} ${ALL_CFLAGS} -c coreutil.c
Note: See TracBrowser for help on using the repository browser.