32f641b207
Rename libsubid symbols to all be prefixed with subid_. Don't export anything but the subid_*. Closes #443 Signed-off-by: Serge Hallyn <serge@hallyn.com>
35 lines
697 B
Makefile
35 lines
697 B
Makefile
lib_LTLIBRARIES = libsubid.la
|
|
if ENABLE_SHARED
|
|
libsubid_la_LDFLAGS = -Wl,-soname,libsubid.so.@LIBSUBID_ABI@ \
|
|
-shared -version-info @LIBSUBID_ABI_MAJOR@
|
|
endif
|
|
libsubid_la_SOURCES = api.c
|
|
libsubid_la_LDFLAGS = -export-symbols-regex '^subid_'
|
|
|
|
pkginclude_HEADERS = subid.h
|
|
|
|
MISCLIBS = \
|
|
$(LIBAUDIT) \
|
|
$(LIBSELINUX) \
|
|
$(LIBSEMANAGE) \
|
|
$(LIBCRACK) \
|
|
$(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\"
|