annotate src/xxd/Make_vms.mms @ 4706:bf917ee1fad2 v7.3.1100

updated for version 7.3.1100 Problem: Python: a few more memory problems. Solution: Add and remove Py_XDECREF(). (ZyX)
author Bram Moolenaar <bram@vim.org>
date Sun, 02 Jun 2013 18:54:21 +0200
parents 3fc0f57ecb91
children 4481f3b29fc5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 # VMS MM[KS] makefile for XXD
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 # tested with MMK and MMS as well.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 # Maintained by Zoltan Arpadffy <arpadffy@polarhome.com>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 # Edit the lines in the Configuration section below to select.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 # To build: use the following command line:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 # mms/descrip=Make_vms.mms
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 # or if you use mmk
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 # mmk/descrip=Make_vms.mms
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 ######################################################################
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 # Configuration section.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 ######################################################################
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 # Compiler selection.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 # Comment out if you use the VAXC compiler
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 ######################################################################
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 # DECC = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 #####################################################################
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 # Uncomment if want a debug version. Resulting executable is DVIM.EXE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 ######################################################################
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 # DEBUG = YES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 ######################################################################
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 # End of configuration section.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 #
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 # Please, do not change anything below without programming experience.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 ######################################################################
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 CC = cc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 .IFDEF DECC
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 CC_DEF = $(CC)/decc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 PREFIX = /prefix=all
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 .ELSE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 CC_DEF = $(CC)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 PREFIX =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 .ENDIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 LD_DEF = link
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 .IFDEF DEBUG
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 TARGET = dxxd.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 CFLAGS = /debug/noopt$(PREFIX)/cross_reference/include=[]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 LDFLAGS = /debug
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 .ELSE
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 TARGET = xxd.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 CFLAGS = /opt$(PREFIX)/include=[]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 LDFLAGS =
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 .ENDIF
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 .SUFFIXES : .obj .c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 SOURCES = xxd.c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 OBJ = xxd.obj
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 .obj.c :
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 $(CC_DEF) $(CFLAGS) $<
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 $(TARGET) : $(OBJ)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 $(LD_DEF) $(LDFLAGS) /exe=$(TARGET) $+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 clean :
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 -@ if "''F$SEARCH("*.obj")'" .NES. "" then delete/noconfirm/nolog *.obj;*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 -@ if "''F$SEARCH("*.exe")'" .NES. "" then delete/noconfirm/nolog *.exe;*