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 | |
---|
3 | SHELL=/bin/sh |
---|
4 | INSTALL=@INSTALL@ |
---|
5 | INSTALL_PROGRAM=@INSTALL_PROGRAM@ |
---|
6 | VPATH=@srcdir@ |
---|
7 | srcdir=@srcdir@ |
---|
8 | top_srcdir=@top_srcdir@ |
---|
9 | prefix=@prefix@ |
---|
10 | exec_prefix=@exec_prefix@ |
---|
11 | mandir=@mandir@ |
---|
12 | sbindir=@sbindir@ |
---|
13 | |
---|
14 | CC=@CC@ |
---|
15 | CPPFLAGS=@CPPFLAGS@ |
---|
16 | DEFS=@DEFS@ |
---|
17 | CFLAGS=@CFLAGS@ ${WARN_CFLAGS} ${ERROR_CFLAGS} |
---|
18 | LDFLAGS=@LDFLAGS@ |
---|
19 | LIBS=@LIBS@ |
---|
20 | ALL_CFLAGS=${CPPFLAGS} ${CFLAGS} ${DEFS} |
---|
21 | |
---|
22 | all: mkcred |
---|
23 | |
---|
24 | mkcred: mkcred.o |
---|
25 | $(CC) ${LDFLAGS} -o $@ mkcred.o ${LIBS} |
---|
26 | |
---|
27 | .c.o: |
---|
28 | ${CC} -c ${ALL_CFLAGS} $< |
---|
29 | |
---|
30 | check: |
---|
31 | |
---|
32 | install: |
---|
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 | |
---|
40 | clean: |
---|
41 | rm -f mkcred.o mkcred |
---|
42 | |
---|
43 | distclean: clean |
---|
44 | rm -f config.cache config.log config.status Makefile |
---|
Note: See
TracBrowser
for help on using the repository browser.