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 >
Wrap
Text File
|
1993-07-27
|
2KB
|
89 lines
$ !-----------------------------------------------------------------------!
$ ! Filename: DVIMOTIF.COM !
$ ! Function: Compiles and links the DVIMOTIF application !
$ ! (c) 28-06-90 by Ch. Markus !
$ !-----------------------------------------------------------------------!
$ !
$ ! Define symbols for OSF/Motif toolkit
$ !
$ @$disk2:[1050101.dvi_fbi_hh]dxm_logicals.com
$ !
$ ! Defines which have to be adapted to system installation before
$ ! attempting to compile (will need modifications)
$ !
$ define/nolog dvi$decw $disk2:[1050101.dvi_fbi_hh.includes] ! path for modified .H files
$ define/nolog dvi$beebe $disk2:[1050101.dvi_fbi_hh.beebe] ! path for standard .H files
$ ! from BEEBE package
$ !
$ ! Defines which rely on system symbols set previously (partly
$ ! defined in DXM_LOGICALS)
$ !
$ define/nolog C$INCLUDE -
"DEC$KIT$XT:",-
"DEC$KIT$XM:",-
"DEC$KIT$DXM:",-
"DEC$KIT$UIL:",-
"DEC$KIT$MRM:",-
"SYS$LIBRARY:",-
"SYS$COMMON:[DECW$INCLUDE]",-
"dvi$decw:",-
"dvi$beebe:"
$ define/nolog vaxc$include c$include
$ define/nolog X11 decw$include
$ define/nolog sys sys$library
$ define/nolog uil$include "DEC$KIT$UIL:"
$ !
$ ! General checkup of old errors
$ !
$ on warning then goto error
$ !
$ !
$ ! Compile the 'C'-Source to 'OBJ'
$ !
$ if f$search("DVIMOTIF.C") .eqs. "" then goto compile_uil
$ !
$ vue$set_task_label "CC DVIMOTIF"
$ vue$popup_progress_box
$ cc /define="_MOTIF" /define="DEC_MOTIF_EXTENSION" /define=("OS_VAXVMS"=1) /define=("ANSI_LIBRARY"=1) dvimotif
$ !
$ !
$compile_uil:
$ !
$ if f$search("DVIMOTIF.UIL") .eqs. "" then goto do_link
$ !
$ ! Compile the 'UIL'-Source to 'UID'
$ !
$ vue$set_task_label "UIL DVIMOTIF"
$ vue$popup_progress_box
$ uil dvimotif.uil
$ !
$do_link:
$ !
$ ! Link the DEC-Windows program
$ !
$ vue$set_task_label "LINK DVIMOTIF"
$ vue$popup_progress_box
$ !
$ link /exe=dvimotif.exe -
sys$input:/options
dvimotif.obj
unixclib/lib
dec$kit$mrmlib/lib
dec$kit$dxmlib/lib
dec$kit$xmlib/lib
dec$kit$xtlib/lib
sys$library:decw$xlibshr/share
sys$library:vaxcrtl/share
dec$kit$xm:clib/lib
$ !
$ !
$ ! Change APPLY button to UPDATE button on FileView
$ !
$ vue$highlight_update
$end:
$ exit
$ !
$error:
$ vue$set_error_status
$ exit