source: trunk/athena/etc/mkcred/Makefile.in @ 13858

Revision 13858, 957 bytes checked in by tb, 25 years ago (diff)
configure.in: Check for <db.h> and <ndbm.h>. Makefile.in: Include @DEFS@ in the compile commands. mkcred.c: Include the correct db header depending on configure test results.
Line 
1# $Id: Makefile.in,v 1.3 1999-11-07 22:25:17 tb Exp $
2
3SHELL=/bin/sh
4INSTALL=@INSTALL@
5INSTALL_PROGRAM=@INSTALL_PROGRAM@
6VPATH=@srcdir@
7srcdir=@srcdir@
8top_srcdir=@top_srcdir@
9prefix=@prefix@
10exec_prefix=@exec_prefix@
11mandir=@mandir@
12sbindir=@sbindir@
13
14CC=@CC@
15CPPFLAGS=@CPPFLAGS@
16DEFS=@DEFS@
17CFLAGS=@CFLAGS@ ${WARN_CFLAGS} ${ERROR_CFLAGS}
18LDFLAGS=@LDFLAGS@
19LIBS=@LIBS@
20ALL_CFLAGS=${CPPFLAGS} ${CFLAGS} ${DEFS}
21
22all: mkcred
23
24mkcred: mkcred.o
25        $(CC) ${LDFLAGS} -o $@ mkcred.o ${LIBS}
26
27.c.o:
28        ${CC} -c ${ALL_CFLAGS} $<
29
30check:
31
32install:
33        ${top_srcdir}/mkinstalldirs ${DESTDIR}${sbindir}
34        ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man8
35        ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man5
36        ${INSTALL_PROGRAM} mkcred ${DESTDIR}${sbindir}
37        ${INSTALL} -m 444 mkcred.8 ${DESTDIR}${mandir}/man8/
38        ${INSTALL} -m 444 credentials.5 ${DESTDIR}${mandir}/man5/
39
40clean:
41        rm -f mkcred.o mkcred
42
43distclean: clean
44        rm -f config.cache config.log config.status Makefile
Note: See TracBrowser for help on using the repository browser.