kernel - Fix auto port assignment collision in network code
[dragonfly.git] / contrib / cryptsetup / src / Makefile.am
bloba9b961a264d96f2e632cd5215432a2a6462d0017
1 INCLUDES = \
2         -I$(top_srcdir)                         \
3         -I$(top_srcdir)/lib                     \
4         -DDATADIR=\""$(datadir)"\"              \
5         -DLOCALEDIR=\""$(datadir)/locale"\"     \
6         -DLIBDIR=\""$(libdir)"\"                \
7         -DPREFIX=\""$(prefix)"\"                \
8         -DSYSCONFDIR=\""$(sysconfdir)"\"        \
9         -DVERSION=\""$(VERSION)"\"              \
10         -D_GNU_SOURCE
12 cryptsetup_SOURCES = \
13         cryptsetup.c                            \
14         cryptsetup.h
16 if STATIC_CRYPTSETUP
17 _STATIC_FLAGS = -all-static
18 _STATIC_LDADD = @LIBGCRYPT_LIBS@ -lgpg-error @SELINUX_STATIC_LIBS@
19 endif
21 cryptsetup_LDADD = \
22         $(top_builddir)/lib/libcryptsetup.la    \
23         $(_STATIC_LDADD)                        \
24         @POPT_LIBS@
27 cryptsetup_LDFLAGS = \
28         $(_STATIC_FLAGS)
30 cryptsetup_CFLAGS = -Wall
32 sbin_PROGRAMS=cryptsetup