diff options
author | Kristian Høgsberg <krh@redhat.com> | 2004-08-13 17:21:43 +0000 |
---|---|---|
committer | Kristian Høgsberg <krh@redhat.com> | 2004-08-13 17:21:43 +0000 |
commit | 4ddde89177109174f7890e0c48445362ae2a74eb (patch) | |
tree | d107ddee3c96d7b2e7b51edb825bca0203e0be51 | |
parent | e8b81528a74e3359f522fb3fba64370997ec4a7f (diff) |
Add .PHONY target when using GNU make. This will speed up make in general,
but more importantly fix #1042.
-rw-r--r-- | Imake.rules | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/Imake.rules b/Imake.rules index 1a50de7..06f2acf 100644 --- a/Imake.rules +++ b/Imake.rules @@ -1,7 +1,7 @@ XCOMM --------------------------------------------------------------------- XCOMM Imake rules for building libraries, programs, scripts, and data files XCOMM rules: $Xorg: Imake.rules,v 1.3 2000/08/17 19:41:46 cpqbld Exp $ -XCOMM rules: $XdotOrg: xc/config/cf/Imake.rules,v 1.4 2004/06/13 04:50:20 alanc Exp $ +XCOMM rules: $XdotOrg: xc/config/cf/Imake.rules,v 1.5 2004/06/26 16:26:18 ago Exp $ XCOMM XCOMM XCOMM @@ -3607,3 +3607,21 @@ clean:: @@\ #ifndef LinkerRuntimeLibraryPathFlag # define LinkerRuntimeLibraryPathFlag(path) /* */ #endif + +/* Phony targets - GNU make has a feature to mark a target as phony, + * which means that it wont consider that target to be the name of a + * file. In general this speeds up make, since it doesn't have to + * look for those files when it sets out to create a phony target. + * However, on cygwin, this is actually required for correct + * operation, since the Win32 filesystems are case insensitive and the + * install target conflicts with the INSTALL file present in some + * (autotooled) directories. + * + * We probably don't need the #ifdef protection, since other make + * implementations would just consider this a normal rule. Better + * safe than sorry, though. + */ +#if HasGnuMake +.PHONY: all interfaces install install.man install.lib install.sdk \ + depend includes clean +#endif |