diff options
Diffstat (limited to 'xc/Imakefile')
-rw-r--r-- | xc/Imakefile | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/xc/Imakefile b/xc/Imakefile index 83faf2189..c74993b18 100644 --- a/xc/Imakefile +++ b/xc/Imakefile @@ -3,12 +3,17 @@ XCOMM $Xorg: Imakefile,v 1.5 2000/08/17 19:41:44 cpqbld Exp $ -XCOMM $XFree86: xc/Imakefile,v 3.26 2002/05/31 18:45:38 dawes Exp $ +XCOMM $XFree86: xc/Imakefile,v 3.29 2003/02/26 09:21:31 dawes Exp $ #define IHaveSubdirs #define PassCDebugFlags CDEBUGFLAGS="$(CDEBUGFLAGS)" RELEASE = XOrgReleaseString + +#ifdef XFree86VersionString +VERSTRING = " "version XFree86VersionString "("XFree86DateString")" +#endif + #ifndef OSName #define OSName Unknown Operating System! #endif @@ -46,6 +51,11 @@ DependSubdirs($(SUBDIRS)) #define IHaveSpecialMakefileTarget #ifndef Win32Architecture +#ifdef XFree86VersionString +VerifyOS:: + @echo "" + @echo Building XFree86 version XFree86VersionString "("XFree86DateString")." +#endif VerifyOS:: @echo "" @echo Building on OSName "("OSMajorVersion"."OSMinorVersion"."OSTeenyVersion")." @@ -63,18 +73,18 @@ VerifyOS:: @echo "" #endif -#ifdef XFree86Version #ifndef OS2Architecture version.def:: $(RM) $(IRULESRC)/version.def + $(RM) $(IRULESRC)/date.def $(LN) ../../$(XF86SRC)/xf86Version.h $(IRULESRC)/version.def + $(LN) ../../$(XF86SRC)/xf86Date.h $(IRULESRC)/date.def #else /*OS2Architecture*/ version.def:: $(RM) $(IRULESRC)/version.def + $(RM) $(IRULESRC)/date.def $(CP) $(XF86SRC)/xf86Version.h $(IRULESRC)/version.def -#endif -#else -version.def:: + $(CP) $(XF86SRC)/xf86Date.h $(IRULESRC)/date.def #endif includes:: @@ -96,7 +106,7 @@ World:: Everything:: @echo "" - @echo Rebuilding $(RELEASE) of the X Window System. + @echo Rebuilding XFree86$(VERSTRING). @echo "" @date @echo "" @@ -114,7 +124,7 @@ Everything:: @echo "" @date @echo "" - @echo Rebuild of $(RELEASE) of the X Window System complete. + @echo Rebuild of XFree86$(VERSTRING) complete. @echo "" XCOMM clean out link tree looking for stuff that should get checked in @@ -141,7 +151,7 @@ clean:: Everything:: @echo : - @echo Rebuilding $(RELEASE) of the X Window System. + @echo Rebuilding XFree86$(VERSTRING). @echo : @echo : cd $(IMAKESRC) @@ -155,7 +165,7 @@ Everything:: $(MAKE) $(MFLAGS) $(MAKE_OPTS) $(WORLDOPTS) @echo : @echo : - @echo Rebuild of $(RELEASE) of the X Window System complete. + @echo Rebuild of XFree86$(VERSTRING) complete. @echo : #ifdef ProjectRoot |