Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Dec 1998 22:46:44 -0500 (EST)
From:      Chuck Robey <chuckr@mat.net>
To:        Warner Losh <imp@village.org>
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: Requiring make depend 
Message-ID:  <Pine.BSF.4.05.9812042239250.89030-100000@picnic.mat.net>
In-Reply-To: <199812050324.UAA45930@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 4 Dec 1998, Warner Losh wrote:

> In message <Pine.BSF.4.05.9812042216080.89030-100000@picnic.mat.net> Chuck Robey writes:
> : Been mandatory on X11 this whole time.  Run automatically by imake.
> 
> I think that you might be confusing it with make includes, which has
> been mandatory.

No, but I was confusing it with xmkmf, which invokes imake, and does do
the make depend automatically, with the -a option:

DESCRIPTION
       The  xmkmf  command is the normal way to create a Makefile
       from an Imakefile shipped with third-party software.

       When invoked with no arguments in a  directory  containing
       an  Imakefile,  the  imake  program  is run with arguments
       appropriate for your system (configured into xmkmf when  X
       was built) and generates a Makefile.

       When invoked with the -a option, xmkmf builds the Makefile
       in the current directory, and then automatically  executes
       ``make  Makefiles''  (in  case  there are subdirectories),
       ``make includes'', and ``make depend'' for you.   This  is
       the normal way to configure software that is outside the X
       Consortium build tree.

The idea is, most correctly built x11 stuff expects to have the make
depend done.  From experience, more than 50% of big things will fail if
you don't do the make depend.  It's always been a standard X11 mantra:

xmkmf
make Makefile
make Makefiles
make depend
make

and then watch something else break it.

----------------------------+-----------------------------------------------
Chuck Robey                 | Interests include any kind of voice or data 
chuckr@glue.umd.edu         | communications topic, C programming, and Unix.
213 Lakeside Drive Apt T-1  |
Greenbelt, MD 20770         | I run Journey2 and picnic (FreeBSD-current)
(301) 220-2114              | and jaunt (NetBSD).
----------------------------+-----------------------------------------------





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9812042239250.89030-100000>