]> granicus.if.org Git - linux-pam/blob - modules/pam_cracklib/Makefile
Relevant BUGIDs: 123399
[linux-pam] / modules / pam_cracklib / Makefile
1 #
2 # $Id$
3 #
4 # This Makefile controls a build process of $(TITLE) module for
5 # Linux-PAM. You should not modify this Makefile (unless you know
6 # what you are doing!).
7 #
8 # Created by Andrew Morgan <morgan@linux.kernel.org> 2000/10/08
9 #
10
11 include ../../Make.Rules
12
13 TITLE=pam_cracklib
14
15 ifeq ($(HAVE_LIBCRACK),yes)
16 BUILD_THIS_MODULE=yes
17 MODULE_SIMPLE_EXTRALIBS=-lcrack
18
19 # These two should really be provided by ../../pam_aconf.h
20 CFLAGS+=-DCRACKLIB_DICTPATH=\"$(CRACKLIB_DICTPATH)\"
21 ifeq ($(HAVE_LIBCRYPT),yes)
22  CFLAGS+=-DNEED_CRYPT_HEADER
23 endif
24
25 endif
26
27 ifeq ($(BUILD_THIS_MODULE),yes)
28  include ../Simple.Rules
29 else
30  include ../dont_makefile
31 endif