Date: Tue, 30 Mar 2004 00:07:07 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [Ux2bs_Archive] No. 297 ************************************************** Monday 29 March 2004 Number 297 ************************************************** Subjects for today 1 Re: Makefile for UX2BS : Sebastian Wittmeier" 2 Re: Makefile for UX2BS : Dave and Natalie" 3 Re: Makefile for UX2BS : John Poltorak 4 Re: make 3.79.1, case insensitivity of filenames : Andreas Buening 5 Re: make 3.79.1, case insensitivity of filenames : Stefan.Neis at t-online.de **= Email 1 ==========================** Date: Sun, 28 Mar 2004 23:51:17 +0200 (CEST) From: "Sebastian Wittmeier" Subject: Re: Makefile for UX2BS On Sat, 27 Mar 2004 23:29:46 +0000, John Poltorak wrote: >Is there any way to get make to ignore datestamps and just go by the >existance of files rather than their newness with respect to the target? Why or when would you want to do that? Sebastian _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 2 ==========================** Date: Sun, 28 Mar 2004 13:56:30 -0800 From: "Dave and Natalie" Subject: Re: Makefile for UX2BS On Sun, 28 Mar 2004 14:52:49 +0100, Stefan.Neis at t-online.de wrote: > Hi, > >> Is there any way to get make to ignore datestamps and just go by the >> existance of files rather than their newness with respect to the target? > >No, I don't think so. Newness is the whole point of make ... from the man page -o file Do not remake the file file even if it is older than its dependencies, and do not remake anything on account of changes in file. Essentially the file is treated as very old and its rules are ignored. Dave _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 3 ==========================** Date: Sun, 28 Mar 2004 23:14:40 +0000 From: John Poltorak Subject: Re: Makefile for UX2BS On Sun, Mar 28, 2004 at 11:51:17PM +0200, Sebastian Wittmeier wrote: > On Sat, 27 Mar 2004 23:29:46 +0000, John Poltorak wrote: > > >Is there any way to get make to ignore datestamps and just go by the > >existance of files rather than their newness with respect to the target? > > Why or when would you want to do that? I'm just trying to think something through without a clear idea of whether Make is an appropriate tool for what I want to do... Essentially I know that an app such as Python is dependent on a number of other apps already being built, so if I represent this dependency as:- python;ncurses;readline;gdbm;zlib;expat;gmp;crypt; I would like to try and figure out if I can build a Makefile in which the target python is only built once all the other apps have been built. If the dependent object has not been built, then it should be built using the rule: 'build dependent app' ie. something like:- python: ncurses readline gdbm zlib expat gmp crypt; build $ at ncurses: build $ at readline: build $ at ....but I can't get my head around how to put this together, or if it will even work. > Sebastian -- John _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 4 ==========================** Date: Mon, 29 Mar 2004 00:48:08 +0100 From: Andreas Buening Subject: Re: make 3.79.1, case insensitivity of filenames Stefan.Neis at t-online.de wrote: > While I agree that case _in_sensitivity would > be nice for deciding which file to compile > (so make doesn't break if there's only > something.c while it's searching for > Something.c), case sensitivity is vastly > preferable in deciding which rule to use for > compiling, e.g. if there are rules for both > %.c (c-code) and %.C (c++-code) or %.s and %.S > (one being plain assembler, the other > requiring the C preprocessor to be run first > or something similar). Some packages have an 'install' target and an 'INSTALL' file which is also a target (e.g. for 'make dist'). Case insensitivity can lead to infinite recursion. > One of the make-3.75 versions has this > implemented "properly" but all later versions > seem to be broken (at least w.r.t. my > expectations). Newer makes are now case insensitive. :-) Bye, Andreas _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs **= Email 5 ==========================** Date: Mon, 29 Mar 2004 11:39:30 +0200 (CEST) From: Stefan.Neis at t-online.de Subject: Re: make 3.79.1, case insensitivity of filenames Andreas Buening schrieb: > Some packages have an 'install' target and an 'INSTALL' > file > which is also a target (e.g. for 'make dist'). Case > insensitivity > can lead to infinite recursion. Now that you mention it, I seem to remember having read something along those lines on one of those mailing lists - never experienced that problem myself, though. But in view of this, it starts to look like case-sensitivity really is a feature not a bug... :-( Sorry for being confused ;-) Stefan _______________________________________________ UX2BS mailing list UX2BS at os2ports.com http://os2ports.com/mailman/listinfo/ux2bs