]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[master] make uninstall
authorEvan Hunt <each@isc.org>
Wed, 2 Nov 2016 02:17:07 +0000 (19:17 -0700)
committerEvan Hunt <each@isc.org>
Wed, 2 Nov 2016 02:17:07 +0000 (19:17 -0700)
4503. [cleanup] "make uninstall" now removes file installed by
BIND. (This currently excludes Python files
due to lack of support in setup.py.) [RT #42912]

47 files changed:
CHANGES
Makefile.in
bin/check/Makefile.in
bin/confgen/Makefile.in
bin/delv/Makefile.in
bin/dig/Makefile.in
bin/dnssec/Makefile.in
bin/named/Makefile.in
bin/nsupdate/Makefile.in
bin/pkcs11/Makefile.in
bin/python/Makefile.in
bin/rndc/Makefile.in
bin/tests/system/Makefile.in
bin/tools/Makefile.in
configure
configure.in
lib/bind9/Makefile.in
lib/bind9/include/bind9/Makefile.in
lib/dns/Makefile.in
lib/dns/include/dns/Makefile.in
lib/dns/include/dst/Makefile.in
lib/irs/Makefile.in
lib/irs/include/irs/Makefile.in
lib/isc/Makefile.in
lib/isc/alpha/include/isc/Makefile.in
lib/isc/ia64/include/isc/Makefile.in
lib/isc/include/isc/Makefile.in
lib/isc/include/pk11/Makefile.in
lib/isc/include/pkcs11/Makefile.in
lib/isc/mips/include/isc/Makefile.in
lib/isc/noatomic/include/isc/Makefile.in
lib/isc/nothreads/include/isc/Makefile.in
lib/isc/powerpc/include/isc/Makefile.in
lib/isc/pthreads/include/isc/Makefile.in
lib/isc/unix/include/isc/Makefile.in
lib/isc/unix/include/pkcs11/Makefile.in
lib/isc/x86_32/include/isc/Makefile.in
lib/isc/x86_64/include/isc/Makefile.in
lib/isccc/Makefile.in
lib/isccc/include/isccc/Makefile.in
lib/isccfg/Makefile.in
lib/isccfg/include/isccfg/Makefile.in
lib/lwres/Makefile.in
lib/lwres/include/lwres/Makefile.in
lib/lwres/man/Makefile.in
lib/lwres/unix/include/lwres/Makefile.in
make/rules.in

diff --git a/CHANGES b/CHANGES
index 183e6d809f944184b18825831b71771ed0d9d3bc..8cbc7a66556c28e2fe21656b15c15595be6d0ed5 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,7 @@
+4503.  [cleanup]       "make uninstall" now removes file installed by
+                       BIND. (This currently excludes Python files
+                       due to lack of support in setup.py.) [RT #42912]
+
 4502.  [func]          Report multiple and experimental options when printing
                        grammar. [RT #43134]
 
index f94e918d8f7a1ec25125549ce2b8ab56edc9403a..ba6153d9498c61f18edf626bda45b0a6314bf220 100644 (file)
@@ -60,6 +60,13 @@ install:: isc-config.sh installdirs
        @LN@ ${DESTDIR}${mandir}/man1/isc-config.sh.1 ${DESTDIR}${mandir}/man1/bind9-config.1
        ${INSTALL_DATA} ${top_srcdir}/bind.keys ${DESTDIR}${sysconfdir}
 
+uninstall::
+       rm -f ${DESTDIR}${sysconfdir}/bind.keys
+       rm -f ${DESTDIR}${mandir}/man1/bind9-config.1
+       rm -f ${DESTDIR}${mandir}/man1/isc-config.sh.1
+       rm -f ${DESTDIR}${bindir}/bind9-config
+       rm -f ${DESTDIR}${bindir}/isc-config.sh
+
 tags:
        rm -f TAGS
        find lib bin -name "*.[ch]" -print | @ETAGS@ -
index 5d266afb6c75af414e4fc9680502596eae0cfab9..2f9a179fd59ae4a876a403965e5327af24606e8d 100644 (file)
@@ -87,5 +87,12 @@ install:: named-checkconf@EXEEXT@ named-checkzone@EXEEXT@ installdirs
        for m in ${MANPAGES}; do ${INSTALL_DATA} ${srcdir}/$$m ${DESTDIR}${mandir}/man8; done
        (cd ${DESTDIR}${mandir}/man8; rm -f named-compilezone.8; ${LINK_PROGRAM} named-checkzone.8 named-compilezone.8)
 
+uninstall::
+       rm -f ${DESTDIR}${mandir}/man8/named-compilezone.8
+       for m in ${MANPAGES}; do rm -f ${DESTDIR}${mandir}/man8/$$m ; done
+       rm -f ${DESTDIR}${sbindir}/named-compilezone@EXEEXT@
+       ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${sbindir}/named-checkconf@EXEEXT@
+       ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${sbindir}/named-checkzone@EXEEXT@
+
 clean distclean::
        rm -f ${TARGETS} r1.htm
index cce3c157c3645011d585c4cf5b98fcf619d7aca4..75b309f22536bef9814840e6422b7a67c6d45797 100644 (file)
@@ -96,5 +96,13 @@ install:: rndc-confgen@EXEEXT@ ddns-confgen@EXEEXT@ installdirs
        (cd ${DESTDIR}${sbindir}; rm -f tsig-keygen@EXEEXT@; ${LINK_PROGRAM} ddns-confgen@EXEEXT@ tsig-keygen@EXEEXT@)
        (cd ${DESTDIR}${mandir}/man8; rm -f tsig-keygen.8; ${LINK_PROGRAM} ddns-confgen.8 tsig-keygen.8)
 
+uninstall::
+       rm -f ${DESTDIR}${mandir}/man8/tsig-keygen.8
+       rm -f ${DESTDIR}${sbindir}/tsig-keygen@EXEEXT@
+       rm -f ${DESTDIR}${mandir}/man8/ddns-confgen.8
+       rm -f ${DESTDIR}${mandir}/man8/rndc-confgen.8
+       ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${sbindir}/ddns-confgen@EXEEXT@
+       ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${sbindir}/rndc-confgen@EXEEXT@
+
 clean distclean maintainer-clean::
        rm -f ${TARGETS}
index 87a1ed8a6fbdd5dd1c8015905c9cc6febf7baf75..e14968f7117dc66cd76f6ca40491ad5dfc1e6cb9 100644 (file)
@@ -65,6 +65,10 @@ install:: delv@EXEEXT@ installdirs
                delv@EXEEXT@ ${DESTDIR}${bindir}
        ${INSTALL_DATA} ${srcdir}/delv.1 ${DESTDIR}${mandir}/man1
 
+uninstall::
+       rm -f ${DESTDIR}${mandir}/man1/delv.1
+       ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${bindir}/delv@EXEEXT@
+
 doc man:: ${MANOBJS}
 
 docclean manclean maintainer-clean::
index 490df4211c5121611db2f3a5b3b33b824422c2b3..bd219c5d055ca798b83e2c8fec7d9bc2cc9b3514 100644 (file)
@@ -98,3 +98,11 @@ install:: dig@EXEEXT@ host@EXEEXT@ nslookup@EXEEXT@ installdirs
        for m in ${MANPAGES}; do \
                ${INSTALL_DATA} ${srcdir}/$$m ${DESTDIR}${mandir}/man1; \
                done
+
+uninstall::
+       for m in ${MANPAGES}; do \
+               rm -f ${DESTDIR}${mandir}/man1/$$m ; \
+       done
+       ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${bindir}/nslookup@EXEEXT@
+       ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${bindir}/host@EXEEXT@
+       ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${bindir}/dig@EXEEXT@
index 24e232365c66d3b8dd9e7999527c7365397d5b12..8c6627a8d31887a5779fabe1b971d64a991e77a3 100644 (file)
@@ -111,6 +111,10 @@ install:: ${TARGETS} installdirs
        for t in ${TARGETS}; do ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} $$t ${DESTDIR}${sbindir}; done
        for m in ${MANPAGES}; do ${INSTALL_DATA} ${srcdir}/$$m ${DESTDIR}${mandir}/man8; done
 
+uninstall::
+       for m in ${MANPAGES}; do rm -f ${DESTDIR}${mandir}/man8/$$m ; done
+       for t in ${TARGETS}; do ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${sbindir}/$$t ; done
+
 clean distclean::
        rm -f ${TARGETS}
 
index e40dfc64caa83319185a284473019229b953f0f7..3a11bf5d101f5f22677b7344b1caa7084ec3e166 100644 (file)
@@ -172,6 +172,13 @@ install:: named@EXEEXT@ lwresd@EXEEXT@ installdirs
        ${INSTALL_DATA} ${srcdir}/lwresd.8 ${DESTDIR}${mandir}/man8
        ${INSTALL_DATA} ${srcdir}/named.conf.5 ${DESTDIR}${mandir}/man5
 
+uninstall::
+       rm -f ${DESTDIR}${mandir}/man5/named.conf.5
+       rm -f ${DESTDIR}${mandir}/man8/lwresd.8
+       rm -f ${DESTDIR}${mandir}/man8/named.8
+       rm -f ${DESTDIR}${sbindir}/lwresd@EXEEXT@
+       ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${sbindir}/named@EXEEXT@
+
 @DLZ_DRIVER_RULES@
 
 named-symtbl.@O@: named-symtbl.c
index 292c6f2724dce65a42b1316bfecad2a82f44d95e..1a5ae2a52e912c6c2d0828691b28c1676d58a9f1 100644 (file)
@@ -86,3 +86,7 @@ installdirs:
 install:: nsupdate@EXEEXT@ installdirs
        ${LIBTOOL_MODE_INSTALL} ${INSTALL_PROGRAM} nsupdate@EXEEXT@ ${DESTDIR}${bindir}
        ${INSTALL_DATA} ${srcdir}/nsupdate.1 ${DESTDIR}${mandir}/man1
+
+uninstall::
+       rm -f ${DESTDIR}${mandir}/man1/nsupdate.1
+       ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${bindir}/nsupdate@EXEEXT@
index 8e531810f1fbe9000d6acf5e1c7a5f95d1e27447..d9aa66bc94d2a7b28db21edbc21f594481f68d3e 100644 (file)
@@ -82,5 +82,19 @@ install:: ${TARGETS} installdirs
        ${INSTALL_DATA} ${srcdir}/pkcs11-keygen.8 ${DESTDIR}${mandir}/man8
        ${INSTALL_DATA} ${srcdir}/pkcs11-tokens.8 ${DESTDIR}${mandir}/man8
 
+uninstall::
+       rm -f ${DESTDIR}${mandir}/man8/pkcs11-tokens.8
+       rm -f ${DESTDIR}${mandir}/man8/pkcs11-keygen.8
+       rm -f ${DESTDIR}${mandir}/man8/pkcs11-destroy.8
+       rm -f ${DESTDIR}${mandir}/man8/pkcs11-list.8
+       ${LIBTOOL_MODE_UNINSTALL} rm -f /
+               ${DESTDIR}${sbindir}/pkcs11-tokens@EXEEXT@
+       ${LIBTOOL_MODE_UNINSTALL} rm -f /
+               ${DESTDIR}${sbindir}/pkcs11-keygen@EXEEXT@
+       ${LIBTOOL_MODE_UNINSTALL} rm -f /
+               ${DESTDIR}${sbindir}/pkcs11-destroy@EXEEXT@
+       ${LIBTOOL_MODE_UNINSTALL} rm -f /
+               ${DESTDIR}${sbindir}/pkcs11-list@EXEEXT@
+
 clean distclean::
        rm -f ${OBJS} ${TARGETS}
index bc6c0c9d41cecb8ab87d1d2b5e36257914462ba7..a064c7471635f3b43cb9afb4bb04228b3c4eea20 100644 (file)
@@ -59,6 +59,15 @@ install:: ${TARGETS} installdirs
                fi \
        fi
 
+uninstall::
+       rm -f ${DESTDIR}${mandir}/man8/dnssec-keymgr.8
+       rm -f ${DESTDIR}${mandir}/man8/dnssec-coverage.8
+       rm -f ${DESTDIR}${mandir}/man8/dnssec-checkds.8
+       rm -f ${DESTDIR}${sbindir}/dnssec-keymgr
+       rm -f ${DESTDIR}${sbindir}/dnssec-coverage
+       rm -f ${DESTDIR}${sbindir}/dnssec-checkds
+       # only manually uninstall for the python package itself
+
 clean distclean::
        rm -f ${TARGETS}
        rm -rf build
index d0862e39f252f62862c5eeda78b3774adc11b44a..7a7b13a1a9eae6d4bed473f51f5c9d05e0f69863 100644 (file)
@@ -79,5 +79,10 @@ install:: rndc@EXEEXT@ installdirs
        ${INSTALL_DATA} ${srcdir}/rndc.8 ${DESTDIR}${mandir}/man8
        ${INSTALL_DATA} ${srcdir}/rndc.conf.5 ${DESTDIR}${mandir}/man5
 
+uninstall::
+       rm -f ${DESTDIR}${mandir}/man5/rndc.conf.5
+       rm -f ${DESTDIR}${mandir}/man8/rndc.8
+       ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${sbindir}/rndc@EXEEXT@
+
 clean distclean maintainer-clean::
        rm -f ${TARGETS}
index 60bb7e61503f8bac7f49258f68105239d6eddb71..8b454eb2d5684c1a42eff2624aa4c2c7163077d5 100644 (file)
@@ -61,3 +61,5 @@ distclean::
 installdirs:
 
 install::
+
+uninstall::
index 94b7356a7af00cc5202362c5107ceca273b54eb9..36d7b8dc01a854627e433fad4c7b32f8c927d0a1 100644 (file)
@@ -149,5 +149,34 @@ install:: ${TARGETS} installdirs @DNSTAP@ @NZD_TOOLS@
        ${INSTALL_DATA} ${srcdir}/genrandom.8 ${DESTDIR}${mandir}/man8
        ${INSTALL_DATA} ${srcdir}/mdig.1 ${DESTDIR}${mandir}/man1
 
+uninstall::
+       rm -f ${DESTDIR}${mandir}/man1/mdig.1
+       rm -f ${DESTDIR}${mandir}/man8/genrandom.8
+       rm -f ${DESTDIR}${mandir}/man8/nsec3hash.8
+       rm -f ${DESTDIR}${mandir}/man1/named-rrchecker.1
+       rm -f ${DESTDIR}${mandir}/man8/named-journalprint.8
+       rm -f ${DESTDIR}${mandir}/man8/isc-hmac-fixup.8
+       rm -f ${DESTDIR}${mandir}/man1/arpaname.1
+       ${LIBTOOL_MODE_UNINSTALL} rm -f \
+               ${DESTDIR}${bindir}/mdig@EXEEXT@
+       ${LIBTOOL_MODE_UNINSTALL} rm -f \
+               ${DESTDIR}${sbindir}/isc-hmac-fixup@EXEEXT@
+       ${LIBTOOL_MODE_UNINSTALL} rm -f \
+               ${DESTDIR}${sbindir}/genrandom@EXEEXT@
+       ${LIBTOOL_MODE_UNINSTALL} rm -f \
+               ${DESTDIR}${sbindir}/nsec3hash@EXEEXT@
+       ${LIBTOOL_MODE_UNINSTALL} rm -f \
+               ${DESTDIR}${bindir}/named-rrchecker@EXEEXT@
+       ${LIBTOOL_MODE_UNINSTALL} rm -f \
+               ${DESTDIR}${sbindir}/named-journalprint@EXEEXT@
+       ${LIBTOOL_MODE_UNINSTALL} rm -f \
+               ${DESTDIR}${bindir}/arpaname@EXEEXT@
+       rm -f ${DESTDIR}${mandir}/man1/dnstap-read.1
+       ${LIBTOOL_MODE_UNINSTALL} rm -f \
+               ${DESTDIR}${bindir}/dnstap-read@EXEEXT@
+       rm -f ${DESTDIR}${mandir}/man8/named-nzd2nzf.8
+       ${LIBTOOL_MODE_UNINSTALL} rm -f \
+               ${DESTDIR}${sbindir}/named-nzd2nzf@EXEEXT@
+
 clean distclean::
        rm -f ${TARGETS}
index bdeb1d52cf13d043245b209ac6686196b702b143..87f16d07aac6d28251e84abc706b0e160ba5021f 100755 (executable)
--- a/configure
+++ b/configure
@@ -795,6 +795,7 @@ ISC_PLATFORM_HAVEIPV6
 BIND9_CO_RULE
 LIBTOOL_IN_MAIN
 LIBTOOL_ALLOW_UNDEFINED
+LIBTOOL_MODE_UNINSTALL
 LIBTOOL_MODE_LINK
 LIBTOOL_MODE_INSTALL
 LIBTOOL_MODE_COMPILE
@@ -15640,6 +15641,7 @@ $as_echo "yes" >&6; }
                LIBTOOL_MODE_COMPILE='--mode=compile --tag=CC'
                LIBTOOL_MODE_INSTALL='--mode=install --tag=CC'
                LIBTOOL_MODE_LINK='--mode=link --tag=CC'
+               LIBTOOL_MODE_UNINSTALL='--mode=uninstall --tag=CC'
                INSTALL_LIBRARY='${INSTALL_PROGRAM}'
                case "$host" in
                *) LIBTOOL_ALLOW_UNDEFINED= ;;
@@ -15660,6 +15662,7 @@ $as_echo "no" >&6; }
                LIBTOOL_MODE_COMPILE=
                LIBTOOL_MODE_INSTALL=
                LIBTOOL_MODE_LINK=
+               LIBTOOL_MODE_UNINSTALL=
                LIBTOOL_ALLOW_UNDEFINED=
                LIBTOOL_IN_MAIN=
                INSTALL_LIBRARY='${INSTALL_DATA}'
@@ -17845,6 +17848,7 @@ SA=a
 
 
 
+
 BIND9_CO_RULE=".c.$O:"
 
 
index 101e050212a88114668c217d556276ac8be9aab4..9f6e2775a76bbc8720541e6b4e5917dbc3d5a05d 100644 (file)
@@ -1360,6 +1360,7 @@ case $use_libtool in
                LIBTOOL_MODE_COMPILE='--mode=compile --tag=CC'
                LIBTOOL_MODE_INSTALL='--mode=install --tag=CC'
                LIBTOOL_MODE_LINK='--mode=link --tag=CC'
+               LIBTOOL_MODE_UNINSTALL='--mode=uninstall --tag=CC'
                INSTALL_LIBRARY='${INSTALL_PROGRAM}'
                case "$host" in
                *) LIBTOOL_ALLOW_UNDEFINED= ;;
@@ -1379,6 +1380,7 @@ case $use_libtool in
                LIBTOOL_MODE_COMPILE=
                LIBTOOL_MODE_INSTALL=
                LIBTOOL_MODE_LINK=
+               LIBTOOL_MODE_UNINSTALL=
                LIBTOOL_ALLOW_UNDEFINED=
                LIBTOOL_IN_MAIN=
                INSTALL_LIBRARY='${INSTALL_DATA}'
@@ -2779,6 +2781,7 @@ AC_SUBST(LIBTOOL_MKDEP_SED)
 AC_SUBST(LIBTOOL_MODE_COMPILE)
 AC_SUBST(LIBTOOL_MODE_INSTALL)
 AC_SUBST(LIBTOOL_MODE_LINK)
+AC_SUBST(LIBTOOL_MODE_UNINSTALL)
 AC_SUBST(LIBTOOL_ALLOW_UNDEFINED)
 AC_SUBST(LIBTOOL_IN_MAIN)
 
index 37f8529df5a246b370effb5c8a83b8bd4d165a0b..a98926e733f60a80918d299cd3dd4479c564c991 100644 (file)
@@ -72,5 +72,8 @@ installdirs:
 install:: timestamp installdirs
        ${LIBTOOL_MODE_INSTALL} ${INSTALL_LIBRARY} libbind9.@A@ ${DESTDIR}${libdir}
 
+uninstall::
+       ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${libdir}/libbind9.@A@
+
 clean distclean::
        rm -f libbind9.@A@ timestamp
index c1bb0b7cf111ba67460d2dc15b8d831e094f72c2..f223ad3774e00fc66bbcdb48a935a336999970c8 100644 (file)
@@ -31,3 +31,8 @@ install:: installdirs
        for i in ${HEADERS}; do \
                ${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/bind9 ; \
        done
+
+uninstall::
+       for i in ${HEADERS}; do \
+               rm -f ${DESTDIR}${includedir}/bind9/$$i ; \
+       done
index 7998c41fd553941a335933ba5c02a31674fa685e..67ae8c44c5b64cd6da06a5a6334bdded295fb90a 100644 (file)
@@ -155,6 +155,9 @@ installdirs:
 install:: timestamp installdirs
        ${LIBTOOL_MODE_INSTALL} ${INSTALL_LIBRARY} libdns.@A@ ${DESTDIR}${libdir}
 
+uninstall::
+       ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${libdir}/libdns.@A@
+
 clean distclean::
        rm -f libdns.@A@ timestamp
        rm -f gen code.h include/dns/enumtype.h include/dns/enumclass.h
index afa944a8df1722f20ff751c7f52bb7782f50a9c1..990c0305250390fcb3a6d8733dc90a17835c8ae0 100644 (file)
@@ -47,3 +47,11 @@ install:: installdirs
        for i in ${GENHEADERS}; do \
                ${INSTALL_DATA} $$i ${DESTDIR}${includedir}/dns ; \
        done
+
+uninstall::
+       for i in ${GENHEADERS}; do \
+               rm -f ${DESTDIR}${includedir}/dns/$$i ; \
+       done
+       for i in ${HEADERS}; do \
+               rm -f ${DESTDIR}${includedir}/dns/$$i ; \
+       done
index 4569f44a96fddadc114bcfaa62263291ad941f62..060bb13d7f938a3e664675901f041958ac089d35 100644 (file)
@@ -26,3 +26,8 @@ install:: installdirs
        for i in ${HEADERS}; do \
                ${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/dst ; \
        done
+
+uninstall::
+       for i in ${HEADERS}; do \
+               rm -f ${DESTDIR}${includedir}/dst/$$i ; \
+       done
index 35b9452e7eb4d93f35e5ed9d3cf6880ae6554985..110e1211803b5eb9da21252405d8246a98815814 100644 (file)
@@ -70,5 +70,8 @@ installdirs:
 install:: timestamp installdirs
        ${LIBTOOL_MODE_INSTALL} ${INSTALL_LIBRARY} libirs.@A@ ${DESTDIR}${libdir}
 
+uninstall::
+       ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${libdir}/libirs.@A@
+
 clean distclean::
        rm -f libirs.@A@ libirs.la timestamp
index 7ee4bcc90c8c33c07ab16c2db4e884eac87e8975..4bb5b3d4b9de25eb9ce0efa4d4d54a9983809791 100644 (file)
@@ -32,5 +32,12 @@ install:: installdirs
        ${INSTALL_DATA} netdb.h ${DESTDIR}${includedir}/irs
        ${INSTALL_DATA} platform.h ${DESTDIR}${includedir}/irs
 
+uninstall::
+       rm -f ${DESTDIR}${includedir}/irs/platform.h
+       rm -f ${DESTDIR}${includedir}/irs/netdb.h
+       for i in ${HEADERS}; do \
+               rm -f ${DESTDIR}${includedir}/irs/$$i ; \
+       done
+
 distclean::
        rm -f netdb.h platform.h
index 7a29a37c492e99ea31fda978eb85d28290061a3b..e5c4db067b6d4e3b58e9814a93a8914bc5f9225e 100644 (file)
@@ -133,6 +133,9 @@ installdirs:
 install:: timestamp installdirs
        ${LIBTOOL_MODE_INSTALL} ${INSTALL_LIBRARY} libisc.@A@ ${DESTDIR}${libdir}
 
+uninstall::
+       ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${libdir}/libisc.@A@
+
 clean distclean::
        rm -f libisc.@A@ libisc-nosymtbl.@A@ libisc.la \
        libisc-nosymtbl.la timestamp
index 0eac5078481dfcce535d5ad3b04e9c4d9fb8d335..0876355a269294fc36746e7f6f91262c30b3e6ce 100644 (file)
@@ -26,3 +26,8 @@ install:: installdirs
        for i in ${HEADERS}; do \
                ${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc ; \
        done
+
+uninstall::
+       for i in ${HEADERS}; do \
+               rm -f ${DESTDIR}${includedir}/isc/$$i ; \
+       done
index 0eac5078481dfcce535d5ad3b04e9c4d9fb8d335..0876355a269294fc36746e7f6f91262c30b3e6ce 100644 (file)
@@ -26,3 +26,8 @@ install:: installdirs
        for i in ${HEADERS}; do \
                ${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc ; \
        done
+
+uninstall::
+       for i in ${HEADERS}; do \
+               rm -f ${DESTDIR}${includedir}/isc/$$i ; \
+       done
index ec339e22614eb3d1d0911d4c02763e9347a2b9ef..a6f0f2d2794b78c7e8a0aa67d91ed52dc128c4c1 100644 (file)
@@ -46,5 +46,11 @@ install:: installdirs
        done
        ${INSTALL_DATA} platform.h ${DESTDIR}${includedir}/isc
 
+uninstall::
+       rm -f ${DESTDIR}${includedir}/isc/platform.h
+       for i in ${HEADERS}; do \
+               rm -f ${DESTDIR}${includedir}/isc/$$i ; \
+       done
+
 distclean::
        rm -f platform.h
index a514e6ee99203f2089355456cfd6a158dc4c2dbb..6a4f051cf7d47fb6be2d6a20a7892c8a24270460 100644 (file)
@@ -28,3 +28,8 @@ install:: installdirs
        for i in ${HEADERS}; do \
                ${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/pk11 ; \
        done
+
+uninstall::
+       for i in ${HEADERS}; do \
+               rm -f ${DESTDIR}${includedir}/pk11/$$i ; \
+       done
index efa87fd7d83be5735dd21a4a7300cbd409143b15..e5f17d3c589cacbe04cef5928a1d987c50699022 100644 (file)
@@ -30,3 +30,8 @@ install:: installdirs
        for i in ${HEADERS}; do \
                ${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/pkcs11 ; \
        done
+
+uninstall::
+       for i in ${HEADERS}; do \
+               rm -f ${DESTDIR}${includedir}/pkcs11/$$i ; \
+       done
index 0eac5078481dfcce535d5ad3b04e9c4d9fb8d335..0876355a269294fc36746e7f6f91262c30b3e6ce 100644 (file)
@@ -26,3 +26,8 @@ install:: installdirs
        for i in ${HEADERS}; do \
                ${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc ; \
        done
+
+uninstall::
+       for i in ${HEADERS}; do \
+               rm -f ${DESTDIR}${includedir}/isc/$$i ; \
+       done
index 0eac5078481dfcce535d5ad3b04e9c4d9fb8d335..0876355a269294fc36746e7f6f91262c30b3e6ce 100644 (file)
@@ -26,3 +26,8 @@ install:: installdirs
        for i in ${HEADERS}; do \
                ${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc ; \
        done
+
+uninstall::
+       for i in ${HEADERS}; do \
+               rm -f ${DESTDIR}${includedir}/isc/$$i ; \
+       done
index 91b16d595af390fbe003697bda021b8b9aca0f91..7f09cebe4c470f61739665cf4644c8b34bd70660 100644 (file)
@@ -26,3 +26,8 @@ install:: installdirs
        for i in ${HEADERS}; do \
                ${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc ; \
        done
+
+uninstall::
+       for i in ${HEADERS}; do \
+               rm -f ${DESTDIR}${includedir}/isc/$$i ; \
+       done
index 0eac5078481dfcce535d5ad3b04e9c4d9fb8d335..0876355a269294fc36746e7f6f91262c30b3e6ce 100644 (file)
@@ -26,3 +26,8 @@ install:: installdirs
        for i in ${HEADERS}; do \
                ${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc ; \
        done
+
+uninstall::
+       for i in ${HEADERS}; do \
+               rm -f ${DESTDIR}${includedir}/isc/$$i ; \
+       done
index d161abb0e6a4814dc09a5704c8ccdadffc186d8f..cf308664c61c70627d330216977c3846f71e44af 100644 (file)
@@ -26,3 +26,8 @@ install:: installdirs
        for i in ${HEADERS}; do \
                ${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc ; \
        done
+
+uninstall::
+       for i in ${HEADERS}; do \
+               rm -f ${DESTDIR}${includedir}/isc/$$i ; \
+       done
index 22a380d5bc5b6b2f1bd35228f4891455b0d4f5f7..9f108665cf57e6c05322ce28dfdb495c70cae4eb 100644 (file)
@@ -27,3 +27,8 @@ install:: installdirs
        for i in ${HEADERS}; do \
                ${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc ; \
        done
+
+uninstall::
+       for i in ${HEADERS}; do \
+               rm -f ${DESTDIR}${includedir}/isc/$$i ; \
+       done
index 2e12b9a854b22dc700e0d4a7e6a5d46f5bf6ef81..bb31f49cf36affdec0ff207f7966051debc54580 100644 (file)
@@ -23,3 +23,8 @@ install:: installdirs
        for i in ${HEADERS}; do \
                ${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/pkcs11 ; \
        done
+
+uninstall::
+       for i in ${HEADERS}; do \
+               rm -f ${DESTDIR}${includedir}/pkcs11/$$i ; \
+       done
index 0eac5078481dfcce535d5ad3b04e9c4d9fb8d335..0876355a269294fc36746e7f6f91262c30b3e6ce 100644 (file)
@@ -26,3 +26,8 @@ install:: installdirs
        for i in ${HEADERS}; do \
                ${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc ; \
        done
+
+uninstall::
+       for i in ${HEADERS}; do \
+               rm -f ${DESTDIR}${includedir}/isc/$$i ; \
+       done
index 0e93c51ed68d3ed926367938f46913ada978ce4d..8429c8c5008d6a76ce5db3a95937b6f344c56008 100644 (file)
@@ -26,3 +26,8 @@ install:: installdirs
        for i in ${HEADERS}; do \
                ${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/isc ; \
        done
+
+uninstall::
+       for i in ${HEADERS}; do \
+               rm -f ${DESTDIR}${includedir}/isc/$$i ; \
+       done
index 2b67e9350535bb1aff636c95c8167bc6ff01f160..2637448d638bfc22e27c9f477d575fd0638888f0 100644 (file)
@@ -74,5 +74,8 @@ installdirs:
 install:: timestamp installdirs
        ${LIBTOOL_MODE_INSTALL} ${INSTALL_LIBRARY} libisccc.@A@ ${DESTDIR}${libdir}
 
+uninstall::
+       ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${libdir}/libisccc.@A@
+
 clean distclean::
        rm -f libisccc.@A@ timestamp
index 1faf6dc01c9bfa12f75a98ee5ded6b07c9cbe39f..abad84efb9eddfa4aa8e9eb1d68c29f08f2ccc60 100644 (file)
@@ -31,3 +31,8 @@ install:: installdirs
        for i in ${HEADERS}; do \
                ${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/isccc ; \
        done
+
+uninstall::
+       for i in ${HEADERS}; do \
+               rm -f ${DESTDIR}${includedir}/isccc/$$i ; \
+       done
index c15410d013fcc127ffd8a89957a0fcd5a922011c..4fdc0d71fe1ec2183788b67109cb45b97ff5111e 100644 (file)
@@ -71,5 +71,8 @@ installdirs:
 install:: timestamp installdirs
        ${LIBTOOL_MODE_INSTALL} ${INSTALL_LIBRARY} libisccfg.@A@ ${DESTDIR}${libdir}
 
+uninstall::
+       ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${libdir}/libisccfg.@A@
+
 clean distclean::
        rm -f libisccfg.@A@ timestamp
index 739bb2538b6787df937904bd5aea86f9beb500f1..d1c96c95e9dc1917ee4d6f1b36037f9cff7120ba 100644 (file)
@@ -32,3 +32,8 @@ install:: installdirs
        for i in ${HEADERS}; do \
                ${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/isccfg ; \
        done
+
+uninstall::
+       for i in ${HEADERS}; do \
+               rm -f ${DESTDIR}${includedir}/isccfg/$$i ; \
+       done
index b031f03059e2bba9abdd7e495d3d2669721ae9cb..4acb7485d220d182a31f8cd4df4b2a354ebd7245 100644 (file)
@@ -71,5 +71,8 @@ installdirs:
 install:: timestamp installdirs
        ${LIBTOOL_MODE_INSTALL} ${INSTALL_LIBRARY} liblwres.@A@ ${DESTDIR}${libdir}
 
+uninstall::
+       ${LIBTOOL_MODE_UNINSTALL} rm -f ${DESTDIR}${libdir}/liblwres.@A@
+
 clean distclean::
        rm -f liblwres.@A@ liblwres.la timestamp
index 73fd8d0a10f2a70e070f8e7e68f7de071e65aadf..834f2f36dbb4cff1b088b03bed7949b29edf4e13 100644 (file)
@@ -32,5 +32,12 @@ install:: installdirs
        ${INSTALL_DATA} netdb.h ${DESTDIR}${includedir}/lwres
        ${INSTALL_DATA} platform.h ${DESTDIR}${includedir}/lwres
 
+uninstall::
+       rm -f ${DESTDIR}${includedir}/lwres/platform.h
+       rm -f ${DESTDIR}${includedir}/lwres/netdb.h
+       for i in ${HEADERS}; do \
+               rm -f ${DESTDIR}${includedir}/lwres/$$i ; \
+       done
+
 distclean::
        rm -f netdb.h platform.h
index e201467c659dd11e1ec726e9e0377638d0b3fbaf..ce8bc09ce541489a7faa1cb1a562f12b872bc82f 100644 (file)
@@ -227,3 +227,74 @@ install:: installdirs
        @LN@ ${man3}/lwres_gethostent.3 ${man3}/lwres_sethostent_r.3
        rm -f ${man3}/lwres_string_parse.3
        @LN@ ${man3}/lwres_resutil.3 ${man3}/lwres_string_parse.3
+
+uninstall::
+       for m in ${MANPAGES}; do rm -f ${man3}/$$m ; done
+       rm -f ${man3}/lwres_addr_parse.3
+       rm -f ${man3}/lwres_buffer_add.3
+       rm -f ${man3}/lwres_buffer_back.3
+       rm -f ${man3}/lwres_buffer_clear.3
+       rm -f ${man3}/lwres_buffer_first.3
+       rm -f ${man3}/lwres_buffer_forward.3
+       rm -f ${man3}/lwres_buffer_getmem.3
+       rm -f ${man3}/lwres_buffer_getuint16.3
+       rm -f ${man3}/lwres_buffer_getuint32.3
+       rm -f ${man3}/lwres_buffer_getuint8.3
+       rm -f ${man3}/lwres_buffer_init.3
+       rm -f ${man3}/lwres_buffer_invalidate.3
+       rm -f ${man3}/lwres_buffer_putmem.3
+       rm -f ${man3}/lwres_buffer_putuint16.3
+       rm -f ${man3}/lwres_buffer_putuint32.3
+       rm -f ${man3}/lwres_buffer_putuint8.3
+       rm -f ${man3}/lwres_buffer_subtract.3
+       rm -f ${man3}/lwres_conf_clear.3
+       rm -f ${man3}/lwres_conf_get.3
+       rm -f ${man3}/lwres_conf_init.3
+       rm -f ${man3}/lwres_conf_parse.3
+       rm -f ${man3}/lwres_conf_print.3
+       rm -f ${man3}/lwres_context_allocmem.3
+       rm -f ${man3}/lwres_context_create.3
+       rm -f ${man3}/lwres_context_destroy.3
+       rm -f ${man3}/lwres_context_freemem.3
+       rm -f ${man3}/lwres_context_initserial.3
+       rm -f ${man3}/lwres_context_nextserial.3
+       rm -f ${man3}/lwres_context_sendrecv.3
+       rm -f ${man3}/lwres_endhostent.3
+       rm -f ${man3}/lwres_endhostent_r.3
+       rm -f ${man3}/lwres_freeaddrinfo.3
+       rm -f ${man3}/lwres_freehostent.3
+       rm -f ${man3}/lwres_gabnrequest_free.3
+       rm -f ${man3}/lwres_gabnrequest_parse.3
+       rm -f ${man3}/lwres_gabnrequest_render.3
+       rm -f ${man3}/lwres_gabnresponse_free.3
+       rm -f ${man3}/lwres_gabnresponse_parse.3
+       rm -f ${man3}/lwres_gabnresponse_render.3
+       rm -f ${man3}/lwres_getaddrsbyname.3
+       rm -f ${man3}/lwres_gethostbyaddr.3
+       rm -f ${man3}/lwres_gethostbyaddr_r.3
+       rm -f ${man3}/lwres_gethostbyname.3
+       rm -f ${man3}/lwres_gethostbyname2.3
+       rm -f ${man3}/lwres_gethostbyname_r.3
+       rm -f ${man3}/lwres_gethostent_r.3
+       rm -f ${man3}/lwres_getipnodebyaddr.3
+       rm -f ${man3}/lwres_getipnodebyname.3
+       rm -f ${man3}/lwres_getnamebyaddr.3
+       rm -f ${man3}/lwres_gnbarequest_free.3
+       rm -f ${man3}/lwres_gnbarequest_parse.3
+       rm -f ${man3}/lwres_gnbarequest_render.3
+       rm -f ${man3}/lwres_gnbaresponse_free.3
+       rm -f ${man3}/lwres_gnbaresponse_parse.3
+       rm -f ${man3}/lwres_gnbaresponse_render.3
+       rm -f ${man3}/lwres_herror.3
+       rm -f ${man3}/lwres_lwpacket_parseheader.3
+       rm -f ${man3}/lwres_lwpacket_renderheader.3
+       rm -f ${man3}/lwres_net_ntop.3
+       rm -f ${man3}/lwres_nooprequest_free.3
+       rm -f ${man3}/lwres_nooprequest_parse.3
+       rm -f ${man3}/lwres_nooprequest_render.3
+       rm -f ${man3}/lwres_noopresponse_free.3
+       rm -f ${man3}/lwres_noopresponse_parse.3
+       rm -f ${man3}/lwres_noopresponse_render.3
+       rm -f ${man3}/lwres_sethostent.3
+       rm -f ${man3}/lwres_sethostent_r.3
+       rm -f ${man3}/lwres_string_parse.3
index 3c3ef5e5c32ee96586e9107bcfaf0dd841c33193..7e66e69c9897734d0d3f680837ae57a4139dd6da 100644 (file)
@@ -23,3 +23,8 @@ install:: installdirs
        for i in ${HEADERS}; do \
                ${INSTALL_DATA} $(srcdir)/$$i ${DESTDIR}${includedir}/lwres ; \
        done
+
+uninstall::
+       for i in ${HEADERS}; do \
+               rm -f ${DESTDIR}${includedir}/lwres/$$i ; \
+       done
index 18602f057ee761a3ab43b8509ccee9cc0b5f8ac0..6a127bd54fbbf30951a4b7e72523fb6d50fed4f2 100644 (file)
@@ -76,7 +76,7 @@ testdirs:
 
 install:: all
 
-install clean distclean maintainer-clean doc docclean man manclean::
+install uninstall clean distclean maintainer-clean doc docclean man manclean::
        @for i in ${ALL_SUBDIRS} ${ALL_TESTDIRS}; do \
                if [ "$$i" != "nulldir" -a -d $$i ]; then \
                        echo "making $@ in `pwd`/$$i"; \
@@ -133,6 +133,7 @@ LIBTOOL = @LIBTOOL@
 LIBTOOL_MODE_COMPILE = ${LIBTOOL} @LIBTOOL_MODE_COMPILE@
 LIBTOOL_MODE_INSTALL = ${LIBTOOL} @LIBTOOL_MODE_INSTALL@
 LIBTOOL_MODE_LINK = ${LIBTOOL} @LIBTOOL_MODE_LINK@
+LIBTOOL_MODE_UNINSTALL = ${LIBTOOL} @LIBTOOL_MODE_UNINSTALL@
 PURIFY = @PURIFY@
 
 MKDEP = ${SHELL} ${top_builddir}/make/mkdep