home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 February / PCWorld_2000-02_cd.bin / live / usr / X11R6 / lib / X11 / config / QNX.rules < prev    next >
Text File  |  1999-09-03  |  2KB  |  73 lines

  1. XCOMM platform:  $XFree86: xc/config/cf/QNX.rules,v 1.1.2.2 1999/07/23 13:42:29 hohndel Exp $
  2.  
  3. XCOMM Rules to work around wlib for QNX...
  4.  
  5. #define LinkFile(tofile, fromfile)                @@\
  6. tofile:: fromfile                        @@\
  7.     $(CP) fromfile tofile                    @@\
  8.                                 @@\
  9. includes:: tofile                        @@\
  10.                                 @@\
  11. depend:: tofile                            @@\
  12.                                 @@\
  13. clean::                                @@\
  14.     RemoveFile(tofile)
  15.  
  16. XCOMM This special rule is used to install the install script.
  17. XCOMM Else there's a name conflict with the QNX installer.
  18.  
  19. #define QNXCopyInstaller(tofile, fromfile)            @@\
  20. tofile::                             @@\
  21.     $(CP) fromfile tofile                    @@\
  22.                                 @@\
  23. includes:: tofile
  24.  
  25.  
  26. #define ObjectFromSpecialSource(dst, src, flags)        @@\
  27. NoConfigRec(dst.c)                        @@\
  28.                                 @@\
  29. dst.c: src.c                            @@\
  30.     RemoveFile($@)                        @@\
  31.     $(CP) $? $@                        @@\
  32.                                 @@\
  33. SpecialCObjectRule(dst,NullParameter,flags)            @@\
  34.                                 @@\
  35. includes:: dst.c                        @@\
  36.                                 @@\
  37. depend:: dst.c                            @@\
  38.                                 @@\
  39. clean::                                @@\
  40.     RemoveFile(dst.c)
  41.  
  42.  
  43. #define ObjectFromSpecialAsmSource(dst, src, flags)        @@\
  44. dst.s: src.s                            @@\
  45.     RemoveFile($@)                        @@\
  46.     $(CP) $? $@                        @@\
  47.                                 @@\
  48. dst.o: dst.s                            @@\
  49.     AssembleObject(flags)                    @@\
  50.                                 @@\
  51. dst.i: dst.s                            @@\
  52.     CPPOnlyAsm(dst,flags)                    @@\
  53.                                 @@\
  54. depend:: dst.s                            @@\
  55.                                 @@\
  56. clean::                                @@\
  57.     RemoveFile(dst.s)
  58.  
  59. /* This is the rule to make reloc. OMF objects. We use a little
  60.  * trick which works only for OMF....
  61.  */
  62. #define NormalRelocatableTarget(objname,objlist)        @@\
  63. AllTarget(objname.Osuf)                        @@\
  64.                                 @@\
  65. objname.Osuf: objlist $(EXTRALIBRARYDEPS)            @@\
  66.     RemoveFile($@)                        @@\
  67.     /bin/cat objlist > $@
  68.  
  69.  
  70.     
  71.  
  72.  
  73.