File: ttcn3_makefilegen.1

package info (click to toggle)
eclipse-titan 7.2.0-1.1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 103,144 kB
  • sloc: cpp: 264,784; ansic: 33,124; yacc: 23,073; makefile: 14,730; lex: 9,190; java: 4,849; perl: 3,783; sh: 2,298; xml: 1,378; javascript: 85; awk: 48; php: 32; python: 13
file content (216 lines) | stat: -rw-r--r-- 6,541 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
.TH ttcn3_makefilegen 1 "May 2020" "Ericsson Telecom AB" "TTCN-3 Tools"
.SH NAME
ttcn3_makefilegen \- Makefile Generator
.SH SYNOPSIS
.B ttcn3_makefilegen
.RB "[\| " \-acdEfghiklMnpRsSw " \|]"
.RB "[\| " \-e
.IR " ETS_name" " \|]"
.RB "[\| " \-o
.IR " dir|file" " \|]"
.RB "[\| " \-O
.IR " file" " \|]"
.RB "[\| " \-z
.IR " file" " \|] ..."
TTCN3_module[.ttcn] ... ASN1_module[.asn] ... Testport_name[.cc] ...
.br
or
.br
.B ttcn3_makefilegen
.B \-v
.SH DESCRIPTION
This manual page is a quick reference for the Makefile Generator
of the TTCN-3 Test Executor. It only summarizes the meaning of
all command line options. For more details please consult the
.B Programmer's Technical Reference for TITAN TTCN-3 Test Executor.
.SH OPTIONS
The following options are supported (in alphabetical order):
.TP 10
.B \-a
Refer to files using
.I absolute
path names in the generated Makefile. By default the Makefile uses relative
path names to access files located outside the current working directory of
the compiler. Files from the current working directory are always referenced
using only the file name without any directory.
.TP
.B \-c
Generate a Makefile that is capable of using pre-compiled C++ and object files
from
.I central
directories in order to save disk space and compilation time.
.TP
.B \-d
.I Dump
the internal data structures used for Makefile generation. This option
is mainly useful for debugging.
.TP
.BI \-e " ETS_name"
Sets the name of the target binary program (i.e. the executable test
suite) to
.I ETS_name
in the generated Makefile. If this option is omitted, the name of the
first TTCN-3 module will be used as default.
.TP
.B \-E
Instructs the variant attribute parser to display warnings instead of errors
for unrecognized/erroneous attributes.
.TP
.B \-f
Forces the Makefile Generator to
.I overwrite
the output files even if they exist or are unchanged.
.TP
.B \-g
Generates a Makefile that can be used with
.I GNU make
only. The resulting Makefile will be smaller and less redundant. It
exploits the pattern substitution features of GNU make, which may cause
syntax errors with other versions of make.
.TP
.B \-h
Allows unsafe universal charstring to charstring conversion.
.TP
.B \-i
Enables real-time testing features.
.TP
.BI \-I " path"
Adds the path to the list of search paths.
.I path
must be an
absolute path. Used with the 
.B -t
option when the referenced projects
can not be found at the projectRelativeURI location. In that case the
tool will try to find the referenced TPD file using the search paths.
The first TPD file found is taken. If the tpdName attribute is present in
 ReferencedProject then the value of tpdName will be used as a TPD name
during search. However if the tpdName attribute is missing then the value
of the name attribute is taken with the .tpd suffix and used during the
search.
.TP
.B \-k
Enables object-oriented features.
.TP
.BI \-o " dir|file"
Write the Makefile to the given directory or file.
The current working directory is the default otherwise.
If the given argument is an existing directory, the generated
.I Makefile
will be placed into that directory. Otherwise the given argument is assumed to be the name of the generated
.I Makefile.
.TP
.BI \-O " file"
Add
.I file
to the list of
.I other files
in the generated Makefile without analyzing the file's contents and suffix.
This option can be used to temporarily exclude some TTCN-3, ASN.1 or C++ files
from the build process, but add them to the archive created by the command
.I make archive.
.TP
.B \-l
Enable dynamic linking. All files of the project will be compiled with
.I -fPIC
and for each (static) object, a new shared object will be created. Then, these
shared objects will be linked to the final executable instead of the (static)
objects. It can be used to speed up the linking phase, in the price of somewhat lower
performance and increased memory usage. It's recommended to use this flag only in the
development phase of the project. This option is not supported on Windows.
.TP
.B \-M
Allows the use of the value
.B omit
in template lists and complemented template lists (legacy behavior).
If set, an omitted field will match a template list, if the value
.B omit
appears in the list, and it will match a complemented template list, if
.B omit
is not in the list (the
.B ifpresent
attribute can still be used for matching omitted fields). This also affects the
.B ispresent
operation and the
.B present
template restriction accordingly.
.TP
.B \-n
Activates the debugger and generates extra code for storing debug information.
.TP
.B \-p
Generate Makefile with
.I TTCN-3 preprocessing.
All the TTCN-3 source files with the
.I ttcnpp
extension will be preprocessed using the C preprocessor.
.TP
.B \-R
Use function test runtime (TITAN_RUNTIME_2). Generates a Makefile that
compiles and links the source code using the function test runtime.
.TP
.B \-s
Generates a Makefile, which links the executable test suite with the
.I single mode
version of the base library. If this switch is omitted the executable is
built for parallel mode by default.
.TP
.B \-S
Suppresses all 
.I makefilegen
warning messages.
.TP
.B \-v
Prints
.I version
and license key information and exits.
.TP 10
.B \-w
Suppresses all
.I warning
messages gerenated by TITAN.
.TP
.BI \-z " file"
Enables code coverage and profiling in the TTCN-3 files listed in the
.I file
argument. The TTCN-3 files in the list must be separated by new lines and must
also appear among the makefile generator's arguments (this switch is ignored if the
.B \-t
option is present).

.SH ENVIRONMENT VARIABLES
.TP
.SM
TTCN3_DIR
The installation directory where the uncompressed binary package of
TTCN-3 Test Executor can be found.
.TP
.SM
TTCN3_LICENSE_FILE
It shall point to the
.I file
.RB ( NB:
.I not
to its directory) that contains the personalized license key for the
current user or host.
.SH BUGS
.LP
For trouble reporting use the tool
.BR "MTTSMS" "."
For TR writers guide please visit the web page:
.I http://ttcn.ericsson.se.
.SH SEE ALSO
.TP
.SM
Ericsson document 2/198 17-CRL 113 200 Uen:
.B Programmer's Technical Reference for TITAN TTCN-3 Test Executor
.SH AUTHOR
This manpage is written by Janos Zoltan Szabo, Ericsson Telecom AB
.br
Copyright (c) 2000-2020 Ericsson Telecom AB
.br
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v2.0
which accompanies this distribution, and is available at
.br
https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html