]> eyrie.org Git - kerberos/krb5-strength.git/blob - Makefile.am
Clean up and standardize the build system.
[kerberos/krb5-strength.git] / Makefile.am
1 # Makefile.am -- Automake makefile for krb5-strength.
2 # $Id$
3 #
4 # Copyright 2007 Board of Trustees, Leland Stanford Jr. University
5 # See README for licensing terms.
6
7 AUTOMAKE_OPTIONS = foreign subdir-objects
8 EXTRA_DIST = autogen cracklib/HISTORY cracklib/LICENCE cracklib/README \
9         cracklib/mkdict
10
11 # Handle the standard stuff that make maintainer-clean should probably remove
12 # but doesn't.  This breaks the GNU coding standard, but in this area the GNU
13 # coding standard is dumb.
14 MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.h.in config.h.in~ \
15         configure
16
17 # Put the module into /usr/local/lib/kadmind by default, relative to --libdir.
18 moduledir = $(libdir)/kadmind
19
20 # Build cracklib as a helper library, currently unconditionally, and build
21 # (but don't install) the packer program.
22 noinst_LTLIBRARIES = cracklib/libcracklib.la
23 cracklib_libcracklib_la_SOURCES = cracklib/fascist.c cracklib/packlib.c \
24         cracklib/rules.c cracklib/stringlib.c
25 noinst_BIN = cracklib/packer
26 cracklib_packer_SOURCES = cracklib/packer.c cracklib/packer.h
27 cracklib_packer_LDADD cracklib/libcracklib.la
28
29 # Rules for building the password strength plugin.
30 module_LTLIBRARIES = plugin/passwd_strength.la
31 plugin_passwd_strength_la_SOURCES = plugin/api.c
32 plugin_passwd_strength_la_LDADD = cracklib/libcracklib.la
33 plugin_passwd_strength_la_LDFLAGS = -module -avoid-version