diff options
author | Egbert Eich <eich@suse.de> | 2004-04-23 18:41:59 +0000 |
---|---|---|
committer | Egbert Eich <eich@suse.de> | 2004-04-23 18:41:59 +0000 |
commit | a3ff52d12aa7d5f4e5a138bc7c62b5f44d29e8b4 (patch) | |
tree | 426983a93684c4294c555d7c987fd200bbc6c23d /Imake.rules | |
parent | 2ca96d133adb9063b728d9b70827ba8c750e209a (diff) |
Merging XORG-CURRENT into trunk
Diffstat (limited to 'Imake.rules')
-rw-r--r-- | Imake.rules | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/Imake.rules b/Imake.rules index 021b395..86977c4 100644 --- a/Imake.rules +++ b/Imake.rules @@ -1,11 +1,12 @@ 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$ XCOMM XCOMM XCOMM XCOMM -XCOMM rules: $XFree86: xc/config/cf/Imake.rules,v 3.129 2004/02/16 18:14:33 dawes Exp $ +XCOMM rules: $XFree86: xc/config/cf/Imake.rules,v 3.128 2003/11/15 03:25:17 dawes Exp $ /* * MACHINE-INDEPENDENT RULES; DO NOT MODIFY @@ -188,6 +189,7 @@ XCOMM rules: $XFree86: xc/config/cf/Imake.rules,v 3.129 2004/02/16 18:14:33 daw * DynamicModuleTarget (module,modlist) * InstallDynamicModule (module,dest,subdir) * InstallDynamicNamedModule (module,instname,dest,subdir) + * LinkerRuntimeLibraryPathFlag (path) * * * The following are in specific <os>Lib.rules: @@ -555,6 +557,13 @@ install:: @@\ MakeDir(dir) #endif /* InstallDirectory */ +#ifndef InstallCreateLink +# define InstallCreateLink(dest,from,to) @@\ +install:: $(DESTDIR)dest/from @@\ + cd $(DESTDIR)dest && \ @@\ + $(LN) -sf from to +#endif + #ifndef BuildIncludesTop #define BuildIncludesTop(srclist) @@\ includes:: srclist @@\ @@ -1485,6 +1494,7 @@ clean:: @@\ #if BuildHtmlManPages #define InstallHtmlManPageAliases(file,aliases,suffix) @@\ install.man:: file.suffix.html @@\ + MakeDir($(DESTDIR)$(DOCHTMLDIR)) @@\ @SUF=`expr suffix \: '\(.\)'`; \ @@\ for i in aliases; do (set -x; \ @@\ RemoveFile($(DESTDIR)$(DOCHTMLDIR)/$$i.$$SUF.html); \ @@\ @@ -1500,6 +1510,7 @@ install.man:: file.suffix.html @@\ #if BuildHtmlManPages #define HtmlManIndex @@\ html_index:: @@\ + MakeDir($(DESTDIR)$(DOCHTMLDIR)) @@\ $(HTMLINDEXCMD) $(DESTDIR)$(DOCHTMLDIR) #else #define HtmlManIndex html_index:: @@ -3582,3 +3593,11 @@ clean:: @@\ #define BuildObjectFromLibrary(libname,objname) BuildObjectFromLibraryWithPath(.,libname,objname) #endif +/* + * LinkerRuntimeLibraryPathFlag - defined here to be a no-op for systems that + * don't need it. Overridden in system-specific config files for systems that + * need it, usually with something like "Concat(-R,path)" + */ +#ifndef LinkerRuntimeLibraryPathFlag +# define LinkerRuntimeLibraryPathFlag(path) /* */ +#endif |