Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids. Most
[dragonfly.git] / contrib / libpam / modules / pam_userdb / Makefile
1 #
2 # This Makefile controls a build process of $(TITLE) module for
3 # Linux-PAM. You should not modify this Makefile (unless you know
4 # what you are doing!).
5
6 # $Id: Makefile,v 1.4 2001/02/18 03:03:31 agmorgan Exp $
7 # $FreeBSD: src/contrib/libpam/modules/pam_userdb/Makefile,v 1.1.1.1.2.2 2001/06/11 15:28:33 markm Exp $
8 # $DragonFly: src/contrib/libpam/modules/pam_userdb/Attic/Makefile,v 1.2 2003/06/17 04:24:03 dillon Exp $
9 # Created by Cristian Gafton <gafton@redhat.com>
10
11 include ../../Make.Rules
12
13 TITLE=pam_userdb
14
15 ifeq ($(HAVE_NDBM_H),yes)
16  WHICH_DB=ndbm
17  MODULE_SIMPLE_EXTRALIBS = -lndbm
18 else
19 ifeq ($(HAVE_LIBDB),yes)
20  WHICH_DB=db
21  MODULE_SIMPLE_EXTRALIBS = -ldb
22 else
23  WHICH_DB=none
24 endif
25 endif
26
27 ifeq ($(WHICH_DB),none)
28
29 include ../dont_makefile
30
31 else
32
33 MODULE_SIMPLE_EXTRAFILES = conv
34
35 include ../Simple.Rules
36
37 endif