freebsd: Use compiler.h from FreeBSD's base's linuxkpi
[zfs.git] / contrib / pam_zfs_key / Makefile.am
blobaaa608b7da2beb65fa971da39c74b0cdd08cf8c0
1 %C%_pam_zfs_key_la_CFLAGS  = $(AM_CFLAGS)
2 %C%_pam_zfs_key_la_CFLAGS += $(LIBCRYPTO_CFLAGS)
4 pammodule_LTLIBRARIES = %D%/pam_zfs_key.la
6 %C%_pam_zfs_key_la_SOURCES = %D%/pam_zfs_key.c
8 %C%_pam_zfs_key_la_LIBADD = \
9         libnvpair.la \
10         libuutil.la \
11         libzfs.la \
12         libzfs_core.la
14 %C%_pam_zfs_key_la_LIBADD += -lpam $(LIBCRYPTO_LIBS)
16 %C%_pam_zfs_key_la_LDFLAGS = -version-info 1:0:0 -avoid-version -module -shared
18 dist_pamconfigs_DATA = %D%/zfs_key