source: trunk/third/ksrvutil/Makefile.in @ 11762

Revision 11762, 1.0 KB checked in by ghudson, 26 years ago (diff)
How to build ksrvutil
Line 
1# $Id: Makefile.in,v 1.1 1998-07-16 15:29:14 ghudson Exp $
2
3SHELL=/bin/sh
4VPATH=@srcdir@
5INSTALL=@INSTALL@
6INSTALL_PROGRAM=@INSTALL_PROGRAM@
7srcdir=@srcdir@
8top_srcdir=@top_srcdir@
9prefix=@prefix@
10exec_prefix=@exec_prefix@
11bindir=@bindir@
12mandir=@mandir@
13
14CC=@CC@
15DEFS=@DEFS@
16CPPFLAGS=@CPPFLAGS@
17CFLAGS=@CFLAGS@
18LDFLAGS=@LDFLAGS@
19LIBS=@KRB4_LIBS@ @LIBS@
20ALL_CFLAGS=${CPPFLAGS} ${CFLAGS} ${DEFS} -I.
21
22OBJS=kadm_cli_wrap.o kadm_net.o kadm_stream.o ksrvutil.o
23
24all: ksrvutil
25
26ksrvutil: ${OBJS}
27        ${CC} ${LDFLAGS} -o $@ ${OBJS} ${LIBS}
28
29kadm_cli_wrap.o kadm_net.o ksrvutil.o: kadm_err.h
30
31kadm_err.h: kadm_err.et
32        compile_et kadm_err.et
33
34.c.o:
35        ${CC} -c ${ALL_CFLAGS} $<
36
37check:
38
39install:
40        ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir}
41        ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man8
42        ${INSTALL_PROGRAM} ksrvutil ${DESTDIR}${bindir}
43        ${INSTALL} -m 444 ${srcdir}/ksrvutil.8 ${DESTDIR}${mandir}/man8
44
45clean:
46        rm -f ${OBJS} ksrvutil kadm_err.c kadm_err.h
47
48distclean: clean
49        rm -f config.cache config.log config.status Makefile
Note: See TracBrowser for help on using the repository browser.