537b8cd90b
There's a better way to do this, and I hope to clean that up, but this fixes out of tree builds for me right now. Closes #386 Signed-off-by: Serge Hallyn <serge@hallyn.com>
31 lines
605 B
Makefile
31 lines
605 B
Makefile
lib_LTLIBRARIES = libsubid.la
|
|
libsubid_la_LDFLAGS = -Wl,-soname,libsubid.so.@LIBSUBID_ABI@ \
|
|
-shared -version-info @LIBSUBID_ABI_MAJOR@
|
|
libsubid_la_SOURCES = api.c
|
|
|
|
pkginclude_HEADERS = subid.h
|
|
|
|
MISCLIBS = \
|
|
$(LIBAUDIT) \
|
|
$(LIBSELINUX) \
|
|
$(LIBSEMANAGE) \
|
|
$(LIBCRYPT_NOPAM) \
|
|
$(LIBSKEY) \
|
|
$(LIBMD) \
|
|
$(LIBECONF) \
|
|
$(LIBCRYPT) \
|
|
$(LIBACL) \
|
|
$(LIBATTR) \
|
|
$(LIBTCB) \
|
|
$(LIBPAM)
|
|
|
|
libsubid_la_LIBADD = \
|
|
$(top_builddir)/lib/libshadow.la \
|
|
$(top_builddir)/libmisc/libmisc.la \
|
|
$(MISCLIBS) -ldl
|
|
|
|
AM_CPPFLAGS = \
|
|
-I${top_srcdir}/lib \
|
|
-I${top_srcdir}/libmisc \
|
|
-DLOCALEDIR=\"$(datadir)/locale\"
|