de0d2a2253b2e34898b6946ec9576cf11c7ad34c
[platform/upstream/cryptsetup.git] / Makefile.am
1 EXTRA_DIST = COPYING.LGPL FAQ docs misc
2 SUBDIRS = po tests
3 CLEANFILES =
4 DISTCLEAN_TARGETS =
5
6 AM_CPPFLAGS = \
7         -include config.h \
8         -I$(top_srcdir)/lib \
9         -DDATADIR=\""$(datadir)"\"              \
10         -DLOCALEDIR=\""$(datadir)/locale"\"     \
11         -DLIBDIR=\""$(libdir)"\"                \
12         -DPREFIX=\""$(prefix)"\"                \
13         -DSYSCONFDIR=\""$(sysconfdir)"\"        \
14         -DVERSION=\""$(VERSION)"\"
15 AM_CFLAGS = -Wall
16 AM_LDFLAGS =
17
18 LDADD = $(LTLIBINTL) -lm
19
20 tmpfilesddir = @DEFAULT_TMPFILESDIR@
21
22 noinst_LTLIBRARIES =
23 sbin_PROGRAMS =
24 man8_MANS =
25 tmpfilesd_DATA =
26
27 include man/Makemodule.am
28
29 include scripts/Makemodule.am
30
31 if CRYPTO_INTERNAL_ARGON2
32 include lib/crypto_backend/argon2/Makemodule.am
33 endif
34 include lib/crypto_backend/Makemodule.am
35 include lib/Makemodule.am
36
37 include src/Makemodule.am
38
39 ACLOCAL_AMFLAGS = -I m4
40
41 DISTCHECK_CONFIGURE_FLAGS =     \
42         --with-tmpfilesdir=$$dc_install_base/usr/lib/tmpfiles.d \
43         --enable-internal-argon2 --enable-internal-sse-argon2
44
45 distclean-local:
46         -find . -name \*~ -o -name \*.orig -o -name \*.rej | xargs rm -f
47         rm -rf autom4te.cache
48
49 clean-local:
50         -rm -rf docs/doxygen_api_docs libargon2.la