Computing.Net > Forums > OpenVMS > OpenVMS MAKE

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

OpenVMS MAKE

Reply to Message Icon

Name: marchunan2000
Date: September 10, 2005 at 17:40:21 Pacific
OS: Alpha/OpenVMS V8.2
CPU/Ram: Alpha DS10 server
Comment:

Hi,
I am trying to understand how to build a Module developed using DEC C, C++, and VAX MACRO 32 (ported to Alpha) (three source languages). Here I have pasted my existing makefile.vms code, which is used to build. But I don't understand what utility has been used to write this makefile.vms program, is it MMS, or any third party tools?

===========================
# Makefile for VMS
#
%include mdm_cinc:make.vms

all: $(AR) obj:filefind.exe

$(AR):
IF F$SEARCH("$(AR).DIR") .EQS. "" THEN CREATE/DIR/NOLOG [.$(AR)]

obj:main.obj: mdm_slib:main.c
cc$(CFLAGS)/obj=obj: mdm_slib:main.c

obj:check.obj: check.c common.d filefind.d filefind.h
cc$(CFLAGS)/obj=obj: check.c

obj:mcommon.obj: mcommon.c
cc$(CFLAGS)/obj=obj: mcommon.c

obj:stk_filefind.obj: stk_filefind.mar common.mar filefind.mar filefind_defs.mar
macro/debug/obj=obj:stk_filefind common+filefind+filefind_defs+stk_filefind


OBJL=mdmc_lib:libmdm.olb/lib,\
mdmc_lib:libmdmc.olb/lib,\
mdmc_lib:libmdm.olb/lib,\
mdmc_lib:libmdmc.olb/lib,\
mdmc_lib:libmdmv.olb/lib

obj:filefind.exe: obj:main.obj obj:check.obj obj:mcommon.obj \
obj:stk_filefind.obj $(OBJL)
cxxlink $(LFLAGS) /map=obj:filefind/exe=obj:filefind -
obj:main,obj:check,obj:mcommon,obj:stk_filefind,-
$(OBJL),$(LOPTIONS)

filefind.mar: filefind.m
mcr mdmc_bin:register "-M" filefind.m

common.mar: mdm_cinc:common.m
mcr mdmc_bin:register "-M" mdm_cinc:common.m
copy mdm_cinc:common.mar *
delete/nolog mdm_cinc:common.mar;*

common.d: mdm_cinc:common.d
copy mdm_cinc:common.d *

filefind.d: filefind.m
mcr mdmc_bin:register -h filefind.m

filefind_defs.mar: filefind.defs
@mdmc_bin:make_includes filefind.defs macro:ffind -s

filefind.h: filefind.defs
@mdmc_bin:make_includes filefind.defs C -s

clean:
IF F$SEARCH("OBJ:*.*") .NES. "" THEN DELETE OBJ:*.*;*

clean_exe:
IF F$SEARCH("OBJ:*.EXE") .NES. "" THEN DELETE OBJ:*.EXE;*

mdmc_root:[register.vms]filefind.m: filefind.m
copy/nolog filefind.m mdmc_root:[register.vms]
purge/nolog mdmc_root:[register.vms]filefind.m

mdmc_bin:filefind.exe: obj:filefind.exe
copy/nolog obj:filefind.exe mdmc_bin:
purge/nolog mdmc_bin:filefind.exe

install: mdmc_bin:filefind.exe mdmc_root:[register.vms]filefind.m
===========================================

Could you please give me some idea where can I find the document to understand this "makefile.vms" code

Thanks in advance.
Archunan Muthiah



Sponsored Link
Ads by Google

Response Number 1
Name: ramachandra
Date: September 15, 2005 at 03:42:31 Pacific
Reply:

Hi,

I think there is no utility to generate this MMS file, you have to enter it manually, MMS utility is a layered product and it is available in DECSET.

Regards
Rama


0
Reply to Message Icon

Related Posts

See More


X Windows from Unix to VM... X windows


Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: OpenVMS MAKE

sftp from vms to linux www.computing.net/answers/openvms/sftp-from-vms-to-linux/493.html

Alpha/OpenVMS Config www.computing.net/answers/openvms/alphaopenvms-config/388.html

install OpenVMS Ver. 7.1-1H2 www.computing.net/answers/openvms/install-openvms-ver-711h2/569.html