head 1.15; access; symbols SNMPDX_1_0_0:1.15 SNMPDX_0_2_11:1.14 SNMPDX_0_2_10:1.13 SNMPDX_0_2_9:1.12 SNMPDX_0_2_8:1.12 SNMPDX_0_2_7:1.12 SNMPDX_0_2_6:1.10 SNMPDX_0_2_5:1.7 SNMPDX_0_2_4:1.5 SNMPDX_0_2_3:1.4 SNMPDX_0_2_2:1.3 SNMPDX_0_2_1:1.2 SNMPDX_0_2_0:1.1; locks; strict; comment @# @; 1.15 date 2007.03.01.10.52.38; author rse; state Exp; branches; next 1.14; commitid FNuFlqR2Qo3fkn8s; 1.14 date 2005.10.05.17.42.13; author rse; state Exp; branches; next 1.13; 1.13 date 2004.07.30.09.30.04; author thl; state Exp; branches; next 1.12; 1.12 date 2003.09.19.10.33.14; author rse; state Exp; branches; next 1.11; 1.11 date 2003.09.10.15.01.44; author rse; state Exp; branches; next 1.10; 1.10 date 2003.09.10.14.17.05; author rse; state Exp; branches; next 1.9; 1.9 date 2003.09.10.13.57.30; author rse; state Exp; branches; next 1.8; 1.8 date 2003.09.10.13.54.33; author rse; state Exp; branches; next 1.7; 1.7 date 2003.09.10.13.35.15; author rse; state Exp; branches; next 1.6; 1.6 date 2003.09.10.13.30.47; author rse; state Exp; branches; next 1.5; 1.5 date 2003.09.09.14.16.17; author thl; state Exp; branches; next 1.4; 1.4 date 2003.09.09.14.08.29; author thl; state Exp; branches; next 1.3; 1.3 date 2003.09.09.13.52.16; author thl; state Exp; branches; next 1.2; 1.2 date 2003.09.09.12.50.04; author thl; state Exp; branches; next 1.1; 1.1 date 2003.09.09.09.24.28; author thl; state Exp; branches; next ; desc @@ 1.15 log @Upgrade build environment to GNU shtool 2.0.6 and GNU autoconf 2.60 @ text @## ## OSSP snmpdx - SNMP Daemon Extension ## Copyright (c) 2003-2007 The OSSP Project ## Copyright (c) 2003-2007 Ralf S. Engelschall ## Copyright (c) 2003-2005 Cable & Wireless ## ## This file is part of OSSP snmpdx, a SNMP daemon extension which ## can be found at http://www.ossp.org/pkg/tool/snmpdx/. ## ## This program is free software; you can redistribute it and/or ## modify it under the terms of the GNU General Public License ## as published by the Free Software Foundation; either version ## 2.0 of the License, or (at your option) any later version. ## ## This program is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ## General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with this file; if not, write to the Free Software ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 ## USA, or contact Ralf S. Engelschall . ## ## Makefile.in: build procedure source (syntax: make) ## @@SET_MAKE@@ SHELL = /bin/sh SHTOOL = ./shtool RM = rm -f SED = sed POD2MAN = @@PATH_POD2MAN@@ PERL = @@PATH_PERL@@ prefix = @@prefix@@ exec_prefix = @@exec_prefix@@ bindir = @@bindir@@ sbindir = @@sbindir@@ libdir = @@libdir@@ sysconfdir = @@sysconfdir@@ libexecdir = @@libexecdir@@ includedir = @@includedir@@ mandir = @@mandir@@ datadir = @@datadir@@ localstatedir = @@localstatedir@@ snmpmibdir = @@snmpmibdir@@ openpkg = @@openpkg@@ DESTDIR = all: snmpdx snmpdx.cfg snmpdx.8 snmpdx: snmpdx.pl @@$(SHTOOL) echo -e "%Bgenerating snmpdx%b" V=`$(SHTOOL) version -l txt -d short VERSION`; \ D=`$(SHTOOL) version -l txt -d long VERSION | $(SED) -e 's;.*(;;' -e 's;).*;;'`; \ $(SED) \ -e "s;#!\@@PERL\@@;#!$(PERL);" \ -e "s;\@@V\@@;$$V;" \ -e "s;\@@D\@@;$$D;" \ -e "s;\@@bindir\@@;$(bindir);" \ -e "s;\@@sysconfdir\@@;$(sysconfdir);" \ -e "s;\@@libexecdir\@@;$(libexecdir);" \ -e "s;\@@datadir\@@;$(datadir);" \ -e "s;\@@localstatedir\@@;$(localstatedir);" \ -e "s;\@@snmpmibdir\@@;$(snmpmibdir);" \ -e "s;\@@openpkg\@@;$(openpkg);" \ snmpdx && \ chmod a+x snmpdx snmpdx.cfg: snmpdx.cfg.in @@$(SHTOOL) echo -e "%Bgenerating snmpdx.cfg%b" $(SED) \ -e 's;\@@libexecdir\@@;$(libexecdir);g' \ -e 's;\@@datadir\@@;$(datadir);g' \ -e 's;\@@localstatedir\@@;$(localstatedir);g' \ -e "s;\@@snmpmibdir\@@;$(snmpmibdir);" \ -e "s;\@@openpkg\@@;$(openpkg);" \ snmpdx.cfg snmpdx.8: snmpdx.pod @@$(SHTOOL) echo -e "%Bgenerating snmpdx.8%b" V=`$(SHTOOL) version -l txt -d short VERSION`; \ D=`$(SHTOOL) version -l txt -d long VERSION | $(SED) -e 's;.*(;;' -e 's;).*;;'`; \ $(POD2MAN) --section=8 --center="SNMP Daemon Extension" \ --release="$$D" --date="OSSP snmpdx $$V" snmpdx.pod >snmpdx.8 install: all $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(sbindir) $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(sysconfdir)/snmpdx $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(datadir)/snmpdx $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(libexecdir)/snmpdx $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(mandir)/man8 $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(localstatedir)/snmpdx $(SHTOOL) install -c -m 755 snmpdx $(DESTDIR)$(sbindir)/snmpdx $(SHTOOL) install -c -m 644 snmpdx.cfg $(DESTDIR)$(sysconfdir)/snmpdx/snmpdx.cfg $(SHTOOL) install -c -m 644 snmpdx.mib/*.mib $(DESTDIR)$(datadir)/snmpdx/ $(SHTOOL) install -c -m 644 snmpdx.d/*.pm $(DESTDIR)$(libexecdir)/snmpdx/ $(SHTOOL) install -c -m 644 snmpdx.8 $(DESTDIR)$(mandir)/man8/snmpdx.8 clean: $(RM) snmpdx snmpdx.cfg snmpdx.8 distclean: clean $(RM) config.cache config.status config.log $(RM) Makefile @ 1.14 log @flush pending changes @ text @d3 2 a4 2 ## Copyright (c) 2003-2005 The OSSP Project ## Copyright (c) 2003-2005 Ralf S. Engelschall @ 1.13 log @support a configurable OpenPKG instance @ text @d3 3 a5 3 ## Copyright (c) 2003 The OSSP Project ## Copyright (c) 2003 Ralf S. Engelschall ## Copyright (c) 2003 Cable & Wireless @ 1.12 log @also subst bindir @ text @d49 1 d69 1 d80 1 @ 1.11 log @More source tree cleanups and polishing, especially adding the GPL-based copyright header used inside OSSP packages @ text @d62 1 @ 1.10 log @Add Autoconf option --with-snmp=PREFIX for specifying installation prefix of net-snmp package in order to find the net-snmp MIB directory. @ text @d3 1 a3 1 ## a4 1 ## Copyright (c) 2003 The OSSP Project d7 1 a7 1 ## This file is part of OSSP snmpd, a SNMP Daemon Extension which @ 1.9 log @Place executable snmpdx into sbindir/ and man/man8/ @ text @d49 1 d67 1 d77 1 @ 1.8 log @Find pod2man(1) side-by-side with perl(1) executable. @ text @d41 1 d52 1 a52 1 all: snmpdx snmpdx.cfg snmpdx.1 d77 2 a78 2 snmpdx.1: snmpdx.pod @@$(SHTOOL) echo -e "%Bgenerating snmpdx.1%b" d81 2 a82 2 $(POD2MAN) --section=1 --center="SNMP Daemon Extension" \ --release="$$D" --date="OSSP snmpdx $$V" snmpdx.pod >snmpdx.1 d85 1 a85 1 $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(bindir) d89 1 a89 1 $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(mandir)/man1 d91 1 a91 1 $(SHTOOL) install -c -m 755 snmpdx $(DESTDIR)$(bindir)/snmpdx d95 1 a95 1 $(SHTOOL) install -c -m 644 snmpdx.1 $(DESTDIR)$(mandir)/man1/snmpdx.1 d98 1 a98 1 $(RM) snmpdx snmpdx.cfg snmpdx.1 @ 1.7 log @no need for an extra subdir 'mibs' for now @ text @d35 1 a35 1 POD2MAN = pod2man @ 1.6 log @source tree polishing @ text @d86 1 a86 1 $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(datadir)/snmpdx/mibs d92 1 a92 1 $(SHTOOL) install -c -m 644 snmpdx.mib/*.mib $(DESTDIR)$(datadir)/snmpdx/mibs/ @ 1.5 log @relocate logs into subdir @ text @d6 1 a6 1 ## Copyright (c) 2003 Cable & Wireless Germany d12 2 a13 2 ## modify it under the terms of the GNU General Public License ## as published by the Free Software Foundation; either version d21 1 a21 1 ## You should have received a copy of the GNU General Public License d37 1 a37 1 @ 1.4 log @relocate configuration into subdir @ text @d89 1 a89 1 $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(localstatedir) @ 1.3 log @relocate logs and perl modules into subdir @ text @d85 1 a85 1 $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(sysconfdir) d91 1 a91 1 $(SHTOOL) install -c -m 644 snmpdx.cfg $(DESTDIR)$(sysconfdir)/snmpdx.cfg @ 1.2 log @flush pending changes before tagging @ text @d87 1 a87 1 $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(libexecdir) d93 1 a93 1 $(SHTOOL) install -c -m 644 snmpdx.d/*.pm $(DESTDIR)$(libexecdir)/ @ 1.1 log @flush pending changes before tagging @ text @d31 17 a47 13 SHELL = /bin/sh SHTOOL = ./shtool RM = rm -f SED = sed POD2MAN = pod2man PERL = @@PATH_PERL@@ prefix = @@prefix@@ exec_prefix = @@exec_prefix@@ bindir = @@bindir@@ libdir = @@libdir@@ includedir = @@includedir@@ mandir = @@mandir@@ d49 1 a49 1 DESTDIR = d51 1 a51 1 all: snmpdx snmpdx.1 d55 20 a74 3 $(SED) -e "s;#!\@@PERL\@@;#!$(PERL);" \ snmpdx && \ chmod a+x snmpdx d85 3 a87 1 $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(libdir) d89 1 d91 3 d97 1 a97 1 $(RM) snmpdx snmpdx.1 d101 1 a101 1 $(RM) Makefile config.h @