Add em22 compile, change EM machine executable format to put proc table in text
[Ack-5.5.git] / make_macros
1 # Paths:
2 SRC_HOME = /home/nick/src/Ack-5.5
3 TARGET_HOME = /home/nick/src/Ack-5.5/stage
4 UTIL_HOME = /home/nick/src/Ack-5.5/stage
5
6 # Machine independent part created?
7 DO_MACHINE_INDEP = y
8
9 # Target machine, only needed for fast compilers
10 MACH = XXX
11
12 # compiler set for target machine
13
14 CC=cc#                          # compiler to be used for compiling ACK
15
16 # always passed to $(CC) -c.
17 COPTIONS=-O -D_EM_WSIZE=4 -D_EM_PSIZE=8 -D__XXX__
18
19 # passed to $(CC) -c when compiling modules.
20 LIBOPTIONS=#
21 # LIBOPTIONS=-LIB -L            # when $(CC) is ACK
22
23 CC_AND_MKDEP=cc-and-mkdep.all#  # when $(CC) is neither ACK or SUN,
24 # CC_AND_MKDEP=cc-and-mkdep.ack## when $(CC) is an ACK-derived C compiler,
25 # CC_AND_MKDEP=cc-and-mkdep.sun## when $(CC) is a SUN C compiler
26
27 LDOPTIONS=#                     # always passed to $(CC) when linking
28
29 SUF=o#                          # suffix of files produced with $(CC) -c
30
31 AR=ar#                          # archiver for Unix format objects
32 # AR=aal#                       # archiver for ACK .o format objects
33 # AR=arch#                      # archiver for ACK .s format objects
34
35 RANLIB=ranlib#                  # when ranlib required
36 # RANLIB=:#                     # when ranlib not required
37
38 LIBSUF=a#                       # suffix of object libraries
39
40 # compiler set for producing runnable binaries (possibly using $(UTIL_HOME)).
41 # This must describe the compiler with which $(UTIL_HOME) has been compiled.
42 # If $(TARGET_HOME) is identical to $(UTIL_HOME), which usually will be
43 # the case, this part does not have to be changed. Otherwise (when you are
44 # cross-compiling ACK), you will have to change this part. Probable
45 # replacements are given in comments. Maybe the installation script
46 # has already changed them, but they should be checked to be sure.
47
48 UCC=$(CC)
49 #UCC=cc#                        # compiler to be used
50
51 UCOPTIONS=$(COPTIONS)
52 #UCOPTIONS=-O#                  # always passed to $(UCC) -c.
53
54 ULDOPTIONS=$(LDOPTIONS)
55 #ULDOPTIONS=#                   # always passed to $(UCC) when linking
56
57 USUF=$(SUF)
58 #USUF=o#                        # suffix of files produced with $(UCC) -c
59
60 ULIBSUF=$(LIBSUF)
61 #ULIBSUF=a#                     # suffix of object libraries for $(UCC)
62
63 # There are two choices for lint here: ACK lint and Unix lint.
64 # The current setup is for ACK lint. If you want to use the Unix lint,
65 # put '#' signs on the next 4 lines that have ACK in them.
66
67 LINT=/usr/bin/lint#             # Unix lint
68 LINT=$(UTIL_HOME)/bin/lint#     # ACK lint
69
70 LINTOPTIONS=#                   # options always passed to lint
71
72 LINTPREF=llib-l#                # prefix of unix lint libraries
73 LINTPREF=#                      # ACK lint libraries do not have a prefix
74
75 LINTSUF=ln#                     # suffix of Unix lint libraries
76 LINTSUF=llb#                    # suffix of ACK lint libraries
77
78 MK_LINT_LIB=lint-lib.unix#      # for Unix lint
79 MK_LINT_LIB=lint-lib.ack#       # for ACK lint