diff options
Diffstat (limited to 'xc/config/cf/sgiLib.rules')
-rw-r--r-- | xc/config/cf/sgiLib.rules | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/xc/config/cf/sgiLib.rules b/xc/config/cf/sgiLib.rules index 7a9107ffc..27cdfcd6d 100644 --- a/xc/config/cf/sgiLib.rules +++ b/xc/config/cf/sgiLib.rules @@ -1,5 +1,5 @@ XCOMM $XConsortium: sgiLib.rules /main/16 1996/09/28 18:11:04 rws $ -XCOMM $XFree86: xc/config/cf/sgiLib.rules,v 1.2 1999/01/11 05:13:08 dawes Exp $ +XCOMM $XFree86: xc/config/cf/sgiLib.rules,v 1.3 2000/06/15 20:49:56 dawes Exp $ #ifndef HasSharedLibraries #define HasSharedLibraries YES @@ -181,4 +181,24 @@ clean:: @@\ #define SharedLibraryDataTarget(libname,rev,salist) #endif /* SharedLibraryTarget */ +#ifndef SharedDepLibraryTarget +#define SharedDepLibraryTarget(libname,rev,deplist,solist,down,up) @@\ +AllTarget(Concat(lib,libname.so.rev)) @@\ + @@\ +Concat(lib,libname.so.rev): deplist $(EXTRALIBRARYDEPS) @@\ + $(RM) $@~ @@\ + (cd down; $(CCENVSETUP) $(LD) -o up/$@~ $(SHLIBLDFLAGS) -soname $@ solist $(REQUIREDLIBS)) @@\ + $(RM) $@ @@\ + $(MV) $@~ $@ @@\ + $(RM) Concat(lib,libname.so) @@\ + $(LN) $@ Concat(lib,libname.so) @@\ + LinkBuildLibrary($@) @@\ + LinkBuildLibrary(Concat(lib,libname.so)) @@\ + sgiX11soHack(libname) @@\ + @@\ +clean:: @@\ + $(RM) Concat(lib,libname.so.rev) Concat(lib,libname.so) so_locations + +#endif /* SharedDepLibraryTarget */ + #endif /* OsMajorVersion < 5 else */ |