! ! Copyright © 1993, 1994 by Eric M. LaFranchi. All Rights Reserved. ! ! This software is Copyright 1993, 1994 by Eric M. LaFranchi. Permission ! to use, copy, and freely redistributed this software in its entirety is ! hereby granted provided that the above copyright notice and this ! permission notice are retained. This software may not be sold for profit ! or incorporated in commercial software products without the written ! permission of the author. This software is provided "as is", the author ! nor his employer make any representation of warranty, express or implied, ! with respect to any code or other information herein. In addition, the ! author disclaim's any liability whatsoever for any use of such code or ! other information. ! !+-+ ! Module: ! DESCRIP.MMS ! ! Abstract: ! MMS description file to build PACKASM utility ! ! Author: ! Eric M. LaFranchi ! ! Creation Date: ! 26-APR-1993 ! !-+- ! VERSION = V2.3 .IFDEF MULTINET include = tcpqual = /DEFINE=MULTINET tcpopt = MULTINET:MULTINET_SOCKET_LIBRARY.EXE/SHARE .ENDIF .IFDEF UCX include = .IFDEF __ALPHA__ tcpqual = /DEFINE=UCX/PREFIX=ALL .ELSE tcpqual = /DEFINE=UCX .ENDIF tcpopt = SYS$LIBRARY:UCX$IPC.OLB/LIBRARY .ENDIF .IFDEF TWG include = tcpqual = /DEFINE=TWG .IFDEF __ALPHA__ tcpopt = SYS$SHARE:TWGLIB/SHARE .ELSE tcpopt = TWG$COMMON:[NETDIST.LIB]TWGLIB.OLB/LIBRARY .ENDIF .ENDIF .IFDEF TCPWARE include = tcpqual = /DEFINE=TCPWARE tcpopt = SYS$SHARE:TCPWARE_SOCKLIB_SHR/SHARE .ENDIF .IFDEF FUSION include = /INCLUDE=FNS_BASE:[H] tcpqual = /DEFINE=FUSION tcpopt = FNS_BASE:[LIB]FNS.OLB/LIBRARY .ENDIF .IFDEF DEBUG ccbug = /DEBUG/NOOPTIMIZE linkbug = /DEBUG/TRACE .ELSE ccbug = linkbug = /NOTRACE .ENDIF .IFDEF __ALPHA__ cctype = /STANDARD = RELAXED_ANSI89 linktype = optfil = AXPOPT.OPT optlin1 = NAME = ""Packasm AXP"" optlin2 = IDENT = ""Packasm $(VERSION)"" optlin3 = $(tcpopt) optlin4 = .ELSE .IFDEF FUSION cctype = .ELSE cctype = /STANDARD = PORTABLE .ENDIF linktype = options = /OPTIONS optfil = VAXOPT.OPT optlin1 = NAME = ""Packasm VAX"" optlin2 = IDENT = ""Packasm $(VERSION)"" optlin3 = $(tcpopt) optlin4 = SYS$SHARE:VAXCRTL.EXE/SHARE .ENDIF CFLAGS = $(cctype)$(ccbug)$(tcpqual)$(include)/object=$(mms$target) LINKFLAGS = $(linktype)$(linkbug) .IFDEF EXE .ELSE EXE = .EXE OLB = .OLB OBJ = .OBJ .ENDIF image = packasm doc = $(image) help = $(image) objlib = $(image)$(olb) mmsfil = DESCRIP.MMS objects = vms_cmdline$(obj), vms_cldtables$(obj), - vms_mail$(obj), vms_misc$(obj), vms_handler$(obj), - pack_anunews$(obj), pack_package$(obj), pack_subject$(obj), - pack_nntp$(obj), pack_message$(obj) .first : @ flg = ("''f$search( "$(optfil)" )'" .nes. "") @ if ( flg ) then delete/nolog $(optfil);* .last : @ flg = ("''f$search( "$(optfil)" )'" .nes. "") @ if ( flg ) then delete/nolog $(optfil);* all : $(help).hlb, $(image)$(exe) @ ! $(image)$(exe) : $(objlib)($(objects)) $(op) $(optfil) $(LINK) $(LINKFLAGS)/exe = $(image)$(exe) - $(objlib)/include = (vms_cmdline)/lib, - $(optfil)/options @ ! $(optfil) : @ open/write optfil $(optfil) @ write optfil "$(optlin1)" @ write optfil "$(optlin2)" @ write optfil "$(optlin3)" @ write optfil "$(optlin4)" @ close optfil $(help).hlb : $(help).hlp $(help).hlp : $(help).rnh, $(mmsfil) pack_message$(obj) : pack_message.msg, $(mmsfil) pack_anunews$(obj) : pack_anunews.c, packdef.h, msgdef.h, $(mmsfil) pack_nntp$(obj) : pack_nntp.c, msgdef.h, $(mmsfil) pack_package$(obj) : pack_package.c, packdef.h, msgdef.h, $(mmsfil) pack_subject$(obj) : pack_subject.c, packdef.h, msgdef.h, $(mmsfil) vms_mail$(obj) : vms_mail.c, packdef.h, msgdef.h, vmsdef.h, $(mmsfil) vms_misc$(obj) : vms_misc.c, packdef.h, msgdef.h, vmsdef.h, $(mmsfil) vms_handler$(obj) : vms_handler.c, vmsdef.h, $(mmsfil) vms_cmdline$(obj) : vms_cmdline.c, packdef.h, msgdef.h, vmsdef.h, $(mmsfil) vms_cldtables$(obj) : vms_cldtables.cld, $(mmsfil)