X-Git-Url: http://andersk.mit.edu/gitweb/nss_nonlocal.git/blobdiff_plain/2404d301d7522f2b3f4a4f359259bf4e5ebd9778..4893970472bd815b8dbb6f6058dd26358700110e:/Makefile.am diff --git a/Makefile.am b/Makefile.am index e67c2d5..6d7ba8c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,16 +1,15 @@ lib_LTLIBRARIES = libnss_nonlocal.la libnss_nonlocal_la_SOURCES = \ nonlocal-passwd.c nonlocal-group.c nonlocal-shadow.c \ - nonlocal.h nsswitch-internal.h + nonlocal.h nsswitch-internal.h walk_nss.h libnss_nonlocal_la_LDFLAGS = \ -version-info 2:0:0 \ - -export-symbols-regex '^_nss_nonlocal_' - -noinst_PROGRAMS = .linktest -_linktest_SOURCES = -_linktest_LDADD = libnss_nonlocal.la -_linktest_LDFLAGS = -nostdlib -entry=0 + -export-symbols-regex '^_nss_nonlocal_' \ + -no-undefined -Wl,-z,defs install-exec-hook: rm -f $(DESTDIR)$(libdir)/libnss_nonlocal.so rm -f $(DESTDIR)$(libdir)/libnss_nonlocal.la + +uninstall-local: + rm -f $(DESTDIR)$(libdir)/libnss_nonlocal.so.*