+# This Makefile.am is in the public domain
# $Id$
#
# This file taken and modified from nss-gns.
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA.
-EXTRA_DIST = map-file install-nss-plugin.sh
+EXTRA_DIST = map-file \
+ install-nss-plugin.sh \
+ uninstall-nss-plugin.sh
AM_LDFLAGS=-avoid-version -module -export-dynamic
libnss_gns6_la_CFLAGS=$(libnss_gns_la_CFLAGS) -DNSS_IPV6_ONLY=1
libnss_gns6_la_LDFLAGS=$(libnss_gns_la_LDFLAGS)
+if INSTALL_NSS
if !MINGW
install-data-hook:
$(top_srcdir)/src/gns/nss/install-nss-plugin.sh $(SHELL) $(top_builddir) $(nssdir) $(SUDO_BINARY)
$(top_srcdir)/src/gns/nss/uninstall-nss-plugin.sh $(SHELL) $(top_builddir) "rm -f $(nssdir)/libnss_gns4.so.2" $(SUDO_BINARY)
$(top_srcdir)/src/gns/nss/uninstall-nss-plugin.sh $(SHELL) $(top_builddir) "rm -f $(nssdir)/libnss_gns6.so.2" $(SUDO_BINARY)
endif
+endif
\ No newline at end of file