[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Dependencies fix
From: |
Jeff Bailey |
Subject: |
Re: Dependencies fix |
Date: |
Wed, 13 Jun 2001 11:35:36 -0700 |
User-agent: |
Mutt/1.2.5i |
I thought the automake 'make dist' target wasn't supposed to include
dependancies against system headers... That's probably the correct
bug to fix.
This fix worries me, because it will require ongoing maintenance to
keep correct.
(I still owe you some libicmp stuff, life got really weird about 2
weeks ago, and I'm just recovering from that.)
Tks,
Jeff Bailey
On Wed, Jun 13, 2001 at 08:07:34PM +0300, Sergey Poznyakoff wrote:
> Hi,
>
> I propose to add the following to each Makefile.am in SUBDIRs:
>
> OMIT_DEPENDENCIES=crypt.h err.h getopt.h osockaddr.h paths.h poll.h \
> syslog-int.h tftpsubs.h
>
> The reason for this is that the correct dependency could be established
> only after the user configures the package (the missing files can be linked
> from headers/ to include/). Without OMIT_DEPENDENCIES we are `infecting'
> distribution Makefile.ins with the dependencies peculiar to the machine
> on which `make dist' was run (Just what I did on my Solaris box :^).
>
> Opinions?
>
> Cheers,
> Sergey
>
> This is the patch for the whole tree:
>
> Index: ftp/Makefile.am
> ===================================================================
> RCS file: /cvs/inetutils/ftp/Makefile.am,v
> retrieving revision 1.8
> diff -p -u -w -b -r1.8 Makefile.am
> --- ftp/Makefile.am 2000/07/19 04:08:38 1.8
> +++ ftp/Makefile.am 2001/06/13 16:49:52
> @@ -1,4 +1,6 @@
> AUTOMAKE_OPTIONS = ../ansi2knr
> +OMIT_DEPENDENCIES=crypt.h err.h getopt.h osockaddr.h paths.h poll.h
> syslog-int.h \
> + tftpsubs.h
>
> bin_PROGRAMS = @BUILD_FTP@
>
> Index: ftpd/Makefile.am
> ===================================================================
> RCS file: /cvs/inetutils/ftpd/Makefile.am,v
> retrieving revision 1.15
> diff -p -u -w -b -r1.15 Makefile.am
> --- ftpd/Makefile.am 2000/08/23 02:52:20 1.15
> +++ ftpd/Makefile.am 2001/06/13 16:49:52
> @@ -1,4 +1,6 @@
> AUTOMAKE_OPTIONS = ../ansi2knr
> +OMIT_DEPENDENCIES=crypt.h err.h getopt.h osockaddr.h paths.h poll.h
> syslog-int.h \
> + tftpsubs.h
>
> inetdaemondir = @inetdaemondir@
>
> Index: glob/Makefile.am
> ===================================================================
> RCS file: /cvs/inetutils/glob/Makefile.am,v
> retrieving revision 1.5
> diff -p -u -w -b -r1.5 Makefile.am
> --- glob/Makefile.am 2000/07/19 04:08:38 1.5
> +++ glob/Makefile.am 2001/06/13 16:49:52
> @@ -1,4 +1,6 @@
> AUTOMAKE_OPTIONS = ../ansi2knr
> +OMIT_DEPENDENCIES=crypt.h err.h getopt.h osockaddr.h paths.h poll.h
> syslog-int.h \
> + tftpsubs.h
>
> noinst_LIBRARIES = @BUILD_LIBGLOB@
>
> Index: gwhois/Makefile.am
> ===================================================================
> RCS file: /cvs/inetutils/gwhois/Makefile.am,v
> retrieving revision 1.1
> diff -p -u -w -b -r1.1 Makefile.am
> --- gwhois/Makefile.am 2000/07/26 02:06:28 1.1
> +++ gwhois/Makefile.am 2001/06/13 16:49:52
> @@ -1,4 +1,6 @@
> AUTOMAKE_OPTIONS = ../ansi2knr
> +OMIT_DEPENDENCIES=crypt.h err.h getopt.h osockaddr.h paths.h poll.h
> syslog-int.h \
> + tftpsubs.h
>
> bin_PROGRAMS = @BUILD_WHOIS@
>
> Index: ifconfig/Makefile.am
> ===================================================================
> RCS file: /cvs/inetutils/ifconfig/Makefile.am,v
> retrieving revision 1.3
> diff -p -u -w -b -r1.3 Makefile.am
> --- ifconfig/Makefile.am 2001/05/08 06:06:52 1.3
> +++ ifconfig/Makefile.am 2001/06/13 16:49:52
> @@ -1,4 +1,6 @@
> AUTOMAKE_OPTIONS = ../ansi2knr
> +OMIT_DEPENDENCIES=crypt.h err.h getopt.h osockaddr.h paths.h poll.h
> syslog-int.h \
> + tftpsubs.h
>
> Index: inetd/Makefile.am
> ===================================================================
> RCS file: /cvs/inetutils/inetd/Makefile.am,v
> retrieving revision 1.9
> diff -p -u -w -b -r1.9 Makefile.am
> --- inetd/Makefile.am 2000/07/19 04:08:38 1.9
> +++ inetd/Makefile.am 2001/06/13 16:49:53
> @@ -1,4 +1,6 @@
> AUTOMAKE_OPTIONS = ../ansi2knr
> +OMIT_DEPENDENCIES=crypt.h err.h getopt.h osockaddr.h paths.h poll.h
> syslog-int.h \
> + tftpsubs.h
>
> inetdaemondir = @inetdaemondir@
>
> Index: libicmp/Makefile.am
> ===================================================================
> RCS file: /cvs/inetutils/libicmp/Makefile.am,v
> retrieving revision 1.1
> diff -p -u -w -b -r1.1 Makefile.am
> --- libicmp/Makefile.am 2001/06/13 11:53:27 1.1
> +++ libicmp/Makefile.am 2001/06/13 16:49:53
> @@ -1,4 +1,6 @@
> AUTOMAKE_OPTIONS = ../ansi2knr
> +OMIT_DEPENDENCIES=crypt.h err.h getopt.h osockaddr.h paths.h poll.h
> syslog-int.h \
> + tftpsubs.h
>
> noinst_LIBRARIES = libicmp.a
>
> Index: libinetutils/Makefile.am
> ===================================================================
> RCS file: /cvs/inetutils/libinetutils/Makefile.am,v
> retrieving revision 1.12
> diff -p -u -w -b -r1.12 Makefile.am
> --- libinetutils/Makefile.am 2000/08/14 04:14:01 1.12
> +++ libinetutils/Makefile.am 2001/06/13 16:49:53
> @@ -1,4 +1,6 @@
> AUTOMAKE_OPTIONS = ../ansi2knr
> +OMIT_DEPENDENCIES=crypt.h err.h getopt.h osockaddr.h paths.h poll.h
> syslog-int.h \
> + tftpsubs.h
>
> noinst_LIBRARIES = libinetutils.a
>
> Index: libls/Makefile.am
> ===================================================================
> RCS file: /cvs/inetutils/libls/Makefile.am,v
> retrieving revision 1.5
> diff -p -u -w -b -r1.5 Makefile.am
> --- libls/Makefile.am 2000/07/28 03:34:28 1.5
> +++ libls/Makefile.am 2001/06/13 16:49:53
> @@ -1,4 +1,6 @@
> AUTOMAKE_OPTIONS = ../ansi2knr
> +OMIT_DEPENDENCIES=crypt.h err.h getopt.h osockaddr.h paths.h poll.h
> syslog-int.h \
> + tftpsubs.h
>
> noinst_LIBRARIES = libls.a
>
> Index: libtelnet/Makefile.am
> ===================================================================
> RCS file: /cvs/inetutils/libtelnet/Makefile.am,v
> retrieving revision 1.3
> diff -p -u -w -b -r1.3 Makefile.am
> --- libtelnet/Makefile.am 2000/07/19 04:08:38 1.3
> +++ libtelnet/Makefile.am 2001/06/13 16:49:53
> @@ -1,4 +1,6 @@
> AUTOMAKE_OPTIONS = ../ansi2knr
> +OMIT_DEPENDENCIES=crypt.h err.h getopt.h osockaddr.h paths.h poll.h
> syslog-int.h \
> + tftpsubs.h
>
> noinst_LIBRARIES = libtelnet.a
>
> Index: logger/Makefile.am
> ===================================================================
> RCS file: /cvs/inetutils/logger/Makefile.am,v
> retrieving revision 1.3
> diff -p -u -w -b -r1.3 Makefile.am
> --- logger/Makefile.am 2000/08/24 05:51:22 1.3
> +++ logger/Makefile.am 2001/06/13 16:49:53
> @@ -1,4 +1,6 @@
> AUTOMAKE_OPTIONS = ../ansi2knr
> +OMIT_DEPENDENCIES=crypt.h err.h getopt.h osockaddr.h paths.h poll.h
> syslog-int.h \
> + tftpsubs.h
>
> bin_PROGRAMS = @BUILD_LOGGER@
>
> Index: ping/Makefile.am
> ===================================================================
> RCS file: /cvs/inetutils/ping/Makefile.am,v
> retrieving revision 1.5
> diff -p -u -w -b -r1.5 Makefile.am
> --- ping/Makefile.am 2001/06/13 11:55:53 1.5
> +++ ping/Makefile.am 2001/06/13 16:49:53
> @@ -1,4 +1,6 @@
> AUTOMAKE_OPTIONS = ../ansi2knr
> +OMIT_DEPENDENCIES=crypt.h err.h getopt.h osockaddr.h paths.h poll.h
> syslog-int.h \
> + tftpsubs.h
>
> bin_PROGRAMS = ping
>
> Index: rcp/Makefile.am
> ===================================================================
> RCS file: /cvs/inetutils/rcp/Makefile.am,v
> retrieving revision 1.6
> diff -p -u -w -b -r1.6 Makefile.am
> --- rcp/Makefile.am 2000/07/19 04:08:38 1.6
> +++ rcp/Makefile.am 2001/06/13 16:49:53
> @@ -1,4 +1,6 @@
> AUTOMAKE_OPTIONS = ../ansi2knr
> +OMIT_DEPENDENCIES=crypt.h err.h getopt.h osockaddr.h paths.h poll.h
> syslog-int.h \
> + tftpsubs.h
>
> bin_PROGRAMS = @BUILD_RCP@
>
> Index: rexecd/Makefile.am
> ===================================================================
> RCS file: /cvs/inetutils/rexecd/Makefile.am,v
> retrieving revision 1.7
> diff -p -u -w -b -r1.7 Makefile.am
> --- rexecd/Makefile.am 2000/07/19 04:08:38 1.7
> +++ rexecd/Makefile.am 2001/06/13 16:49:53
> @@ -1,4 +1,6 @@
> AUTOMAKE_OPTIONS = ../ansi2knr
> +OMIT_DEPENDENCIES=crypt.h err.h getopt.h osockaddr.h paths.h poll.h
> syslog-int.h \
> + tftpsubs.h
>
> inetdaemondir = @inetdaemondir@
>
> Index: rlogin/Makefile.am
> ===================================================================
> RCS file: /cvs/inetutils/rlogin/Makefile.am,v
> retrieving revision 1.5
> diff -p -u -w -b -r1.5 Makefile.am
> --- rlogin/Makefile.am 2000/07/19 04:08:38 1.5
> +++ rlogin/Makefile.am 2001/06/13 16:49:53
> @@ -1,4 +1,6 @@
> AUTOMAKE_OPTIONS = ../ansi2knr
> +OMIT_DEPENDENCIES=crypt.h err.h getopt.h osockaddr.h paths.h poll.h
> syslog-int.h \
> + tftpsubs.h
>
> bin_PROGRAMS = @BUILD_RLOGIN@
>
> Index: rlogind/Makefile.am
> ===================================================================
> RCS file: /cvs/inetutils/rlogind/Makefile.am,v
> retrieving revision 1.8
> diff -p -u -w -b -r1.8 Makefile.am
> --- rlogind/Makefile.am 2000/07/19 04:08:38 1.8
> +++ rlogind/Makefile.am 2001/06/13 16:49:53
> @@ -1,4 +1,6 @@
> AUTOMAKE_OPTIONS = ../ansi2knr
> +OMIT_DEPENDENCIES=crypt.h err.h getopt.h osockaddr.h paths.h poll.h
> syslog-int.h \
> + tftpsubs.h
>
> inetdaemondir = @inetdaemondir@
>
> Index: rsh/Makefile.am
> ===================================================================
> RCS file: /cvs/inetutils/rsh/Makefile.am,v
> retrieving revision 1.4
> diff -p -u -w -b -r1.4 Makefile.am
> --- rsh/Makefile.am 2000/07/19 04:08:38 1.4
> +++ rsh/Makefile.am 2001/06/13 16:49:53
> @@ -1,4 +1,6 @@
> AUTOMAKE_OPTIONS = ../ansi2knr
> +OMIT_DEPENDENCIES=crypt.h err.h getopt.h osockaddr.h paths.h poll.h
> syslog-int.h \
> + tftpsubs.h
>
> bin_PROGRAMS = @BUILD_RSH@
>
> Index: rshd/Makefile.am
> ===================================================================
> RCS file: /cvs/inetutils/rshd/Makefile.am,v
> retrieving revision 1.7
> diff -p -u -w -b -r1.7 Makefile.am
> --- rshd/Makefile.am 2000/07/19 04:08:38 1.7
> +++ rshd/Makefile.am 2001/06/13 16:49:53
> @@ -1,4 +1,6 @@
> AUTOMAKE_OPTIONS = ../ansi2knr
> +OMIT_DEPENDENCIES=crypt.h err.h getopt.h osockaddr.h paths.h poll.h
> syslog-int.h \
> + tftpsubs.h
>
> inetdaemondir = @inetdaemondir@
>
> Index: syslogd/Makefile.am
> ===================================================================
> RCS file: /cvs/inetutils/syslogd/Makefile.am,v
> retrieving revision 1.7
> diff -p -u -w -b -r1.7 Makefile.am
> --- syslogd/Makefile.am 2000/07/19 04:08:38 1.7
> +++ syslogd/Makefile.am 2001/06/13 16:49:53
> @@ -1,4 +1,6 @@
> AUTOMAKE_OPTIONS = ../ansi2knr
> +OMIT_DEPENDENCIES=crypt.h err.h getopt.h osockaddr.h paths.h poll.h
> syslog-int.h \
> + tftpsubs.h
>
> inetdaemondir = @inetdaemondir@
>
> Index: talk/Makefile.am
> ===================================================================
> RCS file: /cvs/inetutils/talk/Makefile.am,v
> retrieving revision 1.5
> diff -p -u -w -b -r1.5 Makefile.am
> --- talk/Makefile.am 2000/07/19 04:08:38 1.5
> +++ talk/Makefile.am 2001/06/13 16:49:55
> @@ -1,4 +1,6 @@
> AUTOMAKE_OPTIONS = ../ansi2knr
> +OMIT_DEPENDENCIES=crypt.h err.h getopt.h osockaddr.h paths.h poll.h
> syslog-int.h \
> + tftpsubs.h
>
> bin_PROGRAMS = @BUILD_TALK@
>
> Index: talkd/Makefile.am
> ===================================================================
> RCS file: /cvs/inetutils/talkd/Makefile.am,v
> retrieving revision 1.7
> diff -p -u -w -b -r1.7 Makefile.am
> --- talkd/Makefile.am 2000/07/19 04:08:38 1.7
> +++ talkd/Makefile.am 2001/06/13 16:49:55
> @@ -1,4 +1,6 @@
> AUTOMAKE_OPTIONS = ../ansi2knr
> +OMIT_DEPENDENCIES=crypt.h err.h getopt.h osockaddr.h paths.h poll.h
> syslog-int.h \
> + tftpsubs.h
>
> inetdaemondir = @inetdaemondir@
>
> Index: telnet/Makefile.am
> ===================================================================
> RCS file: /cvs/inetutils/telnet/Makefile.am,v
> retrieving revision 1.5
> diff -p -u -w -b -r1.5 Makefile.am
> --- telnet/Makefile.am 2000/07/19 04:08:38 1.5
> +++ telnet/Makefile.am 2001/06/13 16:49:55
> @@ -1,4 +1,6 @@
> AUTOMAKE_OPTIONS = ../ansi2knr
> +OMIT_DEPENDENCIES=crypt.h err.h getopt.h osockaddr.h paths.h poll.h
> syslog-int.h \
> + tftpsubs.h
>
> bin_PROGRAMS = @BUILD_TELNET@
>
> Index: telnetd/Makefile.am
> ===================================================================
> RCS file: /cvs/inetutils/telnetd/Makefile.am,v
> retrieving revision 1.7
> diff -p -u -w -b -r1.7 Makefile.am
> --- telnetd/Makefile.am 2000/07/19 04:08:39 1.7
> +++ telnetd/Makefile.am 2001/06/13 16:49:55
> @@ -1,4 +1,6 @@
> AUTOMAKE_OPTIONS = ../ansi2knr
> +OMIT_DEPENDENCIES=crypt.h err.h getopt.h osockaddr.h paths.h poll.h
> syslog-int.h \
> + tftpsubs.h
>
> inetdaemondir = @inetdaemondir@
>
> Index: tftp/Makefile.am
> ===================================================================
> RCS file: /cvs/inetutils/tftp/Makefile.am,v
> retrieving revision 1.5
> diff -p -u -w -b -r1.5 Makefile.am
> --- tftp/Makefile.am 2000/07/19 04:08:39 1.5
> +++ tftp/Makefile.am 2001/06/13 16:49:55
> @@ -1,4 +1,6 @@
> AUTOMAKE_OPTIONS = ../ansi2knr
> +OMIT_DEPENDENCIES=crypt.h err.h getopt.h osockaddr.h paths.h poll.h
> syslog-int.h \
> + tftpsubs.h
>
> bin_PROGRAMS = @BUILD_TFTP@
>
> Index: tftpd/Makefile.am
> ===================================================================
> RCS file: /cvs/inetutils/tftpd/Makefile.am,v
> retrieving revision 1.6
> diff -p -u -w -b -r1.6 Makefile.am
> --- tftpd/Makefile.am 2000/07/19 04:08:39 1.6
> +++ tftpd/Makefile.am 2001/06/13 16:49:55
> @@ -1,4 +1,6 @@
> AUTOMAKE_OPTIONS = ../ansi2knr
> +OMIT_DEPENDENCIES=crypt.h err.h getopt.h osockaddr.h paths.h poll.h
> syslog-int.h \
> + tftpsubs.h
>
> inetdaemondir = @inetdaemondir@
>
> Index: uucpd/Makefile.am
> ===================================================================
> RCS file: /cvs/inetutils/uucpd/Makefile.am,v
> retrieving revision 1.8
> diff -p -u -w -b -r1.8 Makefile.am
> --- uucpd/Makefile.am 2000/07/19 04:08:39 1.8
> +++ uucpd/Makefile.am 2001/06/13 16:49:55
> @@ -1,4 +1,6 @@
> AUTOMAKE_OPTIONS = ../ansi2knr
> +OMIT_DEPENDENCIES=crypt.h err.h getopt.h osockaddr.h paths.h poll.h
> syslog-int.h \
> + tftpsubs.h
>
> inetdaemondir = @inetdaemondir@
>
> Index: whois/Makefile.am
> ===================================================================
> RCS file: /cvs/inetutils/whois/Makefile.am,v
> retrieving revision 1.8
> diff -p -u -w -b -r1.8 Makefile.am
> --- whois/Makefile.am 2000/08/24 05:51:23 1.8
> +++ whois/Makefile.am 2001/06/13 16:49:55
> @@ -1,4 +1,6 @@
> AUTOMAKE_OPTIONS = ../ansi2knr
> +OMIT_DEPENDENCIES=crypt.h err.h getopt.h osockaddr.h paths.h poll.h
> syslog-int.h \
> + tftpsubs.h
>
> bin_PROGRAMS = @BUILD_WHOIS@
>
>
>
> _______________________________________________
> Bug-inetutils mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-inetutils
- Dependencies fix, Sergey Poznyakoff, 2001/06/13
- Re: Dependencies fix,
Jeff Bailey <=