home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / APPS / DVI_MGR / dvimgr_s.lzh / dvi_fbi_hh / DVIMOTIF / dvimotif.com < prev    next >
Text File  |  1993-07-27  |  2KB  |  89 lines

  1. $ !-----------------------------------------------------------------------!
  2. $ ! Filename: DVIMOTIF.COM                                                !
  3. $ ! Function: Compiles and links the DVIMOTIF application                 !
  4. $ ! (c) 28-06-90 by Ch. Markus                                            !
  5. $ !-----------------------------------------------------------------------!
  6. $ !
  7. $ ! Define symbols for OSF/Motif toolkit
  8. $ !
  9. $ @$disk2:[1050101.dvi_fbi_hh]dxm_logicals.com
  10. $ !
  11. $ ! Defines which have to be adapted to system installation before
  12. $ ! attempting to compile (will need modifications)
  13. $ !
  14. $ define/nolog dvi$decw $disk2:[1050101.dvi_fbi_hh.includes] ! path for modified .H files
  15. $ define/nolog dvi$beebe $disk2:[1050101.dvi_fbi_hh.beebe]   ! path for standard .H files
  16. $                                                          ! from BEEBE package
  17. $ ! 
  18. $ ! Defines which rely on system symbols set previously (partly
  19. $ ! defined in DXM_LOGICALS)
  20. $ !
  21. $ define/nolog C$INCLUDE -
  22. "DEC$KIT$XT:",-
  23. "DEC$KIT$XM:",-
  24. "DEC$KIT$DXM:",-
  25. "DEC$KIT$UIL:",-
  26. "DEC$KIT$MRM:",-
  27. "SYS$LIBRARY:",-
  28. "SYS$COMMON:[DECW$INCLUDE]",-
  29. "dvi$decw:",-
  30. "dvi$beebe:"  
  31. $ define/nolog vaxc$include c$include
  32. $ define/nolog X11 decw$include
  33. $ define/nolog sys sys$library
  34. $ define/nolog uil$include "DEC$KIT$UIL:"
  35. $ !
  36. $ ! General checkup of old errors
  37. $ !
  38. $ on warning then goto error
  39. $ ! 
  40. $ !
  41. $ ! Compile the 'C'-Source to 'OBJ'
  42. $ !                             
  43. $ if f$search("DVIMOTIF.C") .eqs. "" then goto compile_uil
  44. $ !
  45. $ vue$set_task_label "CC DVIMOTIF"
  46. $ vue$popup_progress_box
  47. $ cc /define="_MOTIF" /define="DEC_MOTIF_EXTENSION" /define=("OS_VAXVMS"=1) /define=("ANSI_LIBRARY"=1) dvimotif  
  48. $ !
  49. $ !
  50. $compile_uil:
  51. $ !
  52. $ if f$search("DVIMOTIF.UIL") .eqs. "" then goto do_link
  53. $ !
  54. $ ! Compile the 'UIL'-Source to 'UID'
  55. $ !
  56. $ vue$set_task_label "UIL DVIMOTIF"
  57. $ vue$popup_progress_box
  58. $ uil dvimotif.uil
  59. $ !
  60. $do_link:
  61. $ !
  62. $ ! Link the DEC-Windows program
  63. $ !
  64. $ vue$set_task_label "LINK DVIMOTIF"
  65. $ vue$popup_progress_box
  66. $ !
  67. $ link /exe=dvimotif.exe -                   
  68.  sys$input:/options
  69.  dvimotif.obj
  70.  unixclib/lib
  71.  dec$kit$mrmlib/lib
  72.  dec$kit$dxmlib/lib       
  73.  dec$kit$xmlib/lib        
  74.  dec$kit$xtlib/lib
  75.  sys$library:decw$xlibshr/share         
  76.  sys$library:vaxcrtl/share
  77.  dec$kit$xm:clib/lib
  78. $ ! 
  79. $ !
  80. $ ! Change APPLY button to UPDATE button on FileView
  81. $ !
  82. $ vue$highlight_update
  83. $end:
  84. $ exit
  85. $ !
  86. $error:
  87. $ vue$set_error_status
  88. $ exit
  89.