diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2004-03-02 16:53:59 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2004-03-02 16:53:59 +0000 |
commit | 802beddb2bba76e2186c69077b5664c89bca380c (patch) | |
tree | a8212b200b396ad446d5796722011e5aa357af4e | |
parent | 7aaa05ad169d681d526e16f760b62d093aa9317e (diff) |
bug #261 fix InstallSharedLibrary rule for new style shared libs on AIX 5.x
-rw-r--r-- | ibmLib.rules | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/ibmLib.rules b/ibmLib.rules index 2bd589b..549e15c 100644 --- a/ibmLib.rules +++ b/ibmLib.rules @@ -1,5 +1,5 @@ XCOMM $Xorg: ibmLib.rules,v 1.3 2000/08/17 19:41:47 cpqbld Exp $ -XCOMM $XdotOrg: ibmLib.rules,v 1.3 2000/08/17 19:41:47 cpqbld Exp $ +XCOMM $XdotOrg: xc/config/cf/ibmLib.rules,v 1.1.4.3 2003/12/15 16:42:40 kaleb Exp $ /* * AIX shared library rules @@ -174,8 +174,15 @@ LintLibReferences(varname,libname,libsource) * InstallSharedLibrary - generate rules to install the shared library. */ #ifndef InstallSharedLibrary -# define InstallSharedLibrary(libname,rev,dest) @@\ +# if OSMajorVersion < 5 +# define InstallSharedLibrary(libname,rev,dest) @@\ InstallLibrary(libname,dest) +# else /* OSMajorVersion < 5 */ +# define InstallSharedLibrary(libname,rev,dest) @@\ +install:: Concat(lib,libname.so) @@\ + MakeDir($(DESTDIR)dest) @@\ + $(INSTALL) $(INSTALLFLAGS) $(INSTBINFLAGS) Concat(lib,libname.so) $(DESTDIR)dest +# endif /* OSMajorVersion < 5 */ #endif /* InstallSharedLibrary */ /* |