summaryrefslogtreecommitdiffstats
path: root/xlators/encryption/crypt/src/Makefile.am
blob: 5e45a5da98ac33277747b72db069a7aabdb904b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
if ENABLE_CRYPT_XLATOR

xlator_LTLIBRARIES = crypt.la
xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/encryption

crypt_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS)

crypt_la_SOURCES = keys.c data.c metadata.c atom.c crypt.c
crypt_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -lssl -lcrypto

noinst_HEADERS = crypt-common.h crypt-mem-types.h crypt.h metadata.h

AM_CPPFLAGS = $(GF_CPPFLAGS) -I$(top_srcdir)/libglusterfs/src

AM_CFLAGS = -Wall $(GF_CFLAGS)

CLEANFILES =

else

noinst_DIST = keys.c data.c metadata.c atom.c crypt.c
noinst_HEADERS = crypt-common.h crypt-mem-types.h crypt.h metadata.h

endif