-remove debug message
[oweals/gnunet.git] / src / gns / nss / Makefile.am
index c5e415dbfde01beb81d867e5deeb235abe3f8fbc..f4a12ddeefb3b7de2670637020115e25abe229ac 100644 (file)
@@ -1,10 +1,11 @@
+# This Makefile.am is in the public domain
 # $Id$
 #
 # This file taken and modified from nss-gns.
 #
 # nss-gns is free software; you can redistribute it and/or modify it
-# under the terms of the GNU Lesser General Public License as
-# published by the Free Software Foundation; either version 2 of the
+# under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 3 of the
 # License, or (at your option) any later version.
 #
 # nss-gns is distributed in the hope that it will be useful, but
 #
 # You should have received a copy of the GNU Lesser General Public
 # License along with nss-gns; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
 # USA.
 
 EXTRA_DIST = map-file
 
 AM_LDFLAGS=-avoid-version -module -export-dynamic
 
-nssdir = /lib/
-LIBTOOL = $(SUDO_BINARY) $(SHELL) $(top_builddir)/libtool
+nssdir = $(libdir)/gnunet/nss
 
-if !MINGW
 nss_LTLIBRARIES = \
        libnss_gns.la \
        libnss_gns4.la \
        libnss_gns6.la
-endif
 
-sources = util.c util.h query.h query.c
+sources = nss_gns_query.h nss_gns_query.c
 
 # GNU Libc
 libnss_gns_la_SOURCES= $(sources) nss_gns.c
@@ -45,10 +43,3 @@ libnss_gns4_la_LDFLAGS=$(libnss_gns_la_LDFLAGS)
 libnss_gns6_la_SOURCES=$(libnss_gns_la_SOURCES)
 libnss_gns6_la_CFLAGS=$(libnss_gns_la_CFLAGS) -DNSS_IPV6_ONLY=1
 libnss_gns6_la_LDFLAGS=$(libnss_gns_la_LDFLAGS)
-
-install-data-hook:
-       $(SUDO_BINARY) $(SHELL) $(top_builddir)/libtool --finish $(nssdir)
-       $(SUDO_BINARY) rm -f $(nssdir)/libnss_gns.la $(nssdir)/libnss_gns4.la $(nssdir)/libnss_gns6.la 
-
-uninstall-hook:
-       $(SUDO_BINARY) rm -f $(nssdir)/libnss_gns.so.2 $(nssdir)/libnss_gns4.so.2 $(nssdir)/libnss_gns6.so.2