mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-28 01:41:14 -06:00
b7329e31f5
Add explicit NSPR_CFLAGS and NSS_CFLAGS where NSPR_LIBS and NSS_LIBS is used. Use DIRSRV_CFLAGS rather than hardcode -I/usr/include/dirsrv. Append NSPR_CFLAGS to DIRSRV_CFLAGS in ./configure as slapi-plugin.h includes nspr.h. Reviewed-By: Pavel Vomacka <pvomacka@redhat.com>
22 lines
706 B
Makefile
22 lines
706 B
Makefile
PLUGIN_COMMON_DIR = $(srcdir)/../common
|
|
AM_CPPFLAGS = \
|
|
-I$(srcdir) \
|
|
-I$(PLUGIN_COMMON_DIR) \
|
|
-DPREFIX=\""$(prefix)"\" \
|
|
-DBINDIR=\""$(bindir)"\" \
|
|
-DLIBDIR=\""$(libdir)"\" \
|
|
-DLIBEXECDIR=\""$(libexecdir)"\" \
|
|
-DDATADIR=\""$(datadir)"\" \
|
|
$(AM_CFLAGS) \
|
|
$(DIRSRV_CFLAGS) \
|
|
$(LDAP_CFLAGS) \
|
|
$(WARN_CFLAGS)
|
|
|
|
plugindir = $(libdir)/dirsrv/plugins
|
|
plugin_LTLIBRARIES = libipa_otp_lasttoken.la
|
|
libipa_otp_lasttoken_la_SOURCES = ipa_otp_lasttoken.c ipa-otp-lasttoken.sym
|
|
libipa_otp_lasttoken_la_LDFLAGS = -avoid-version -export-symbols $(srcdir)/ipa-otp-lasttoken.sym
|
|
libipa_otp_lasttoken_la_LIBADD = \
|
|
$(LDAP_LIBS) \
|
|
$(builddir)/../libotp/libotp.la
|