aboutsummaryrefslogtreecommitdiffstats
path: root/asn1c
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2005-10-06 10:09:34 +0000
committerLev Walkin <vlm@lionet.info>2005-10-06 10:09:34 +0000
commita895afba67a27db3caf3ac3b772ba1696b161afd (patch)
treee492a63b066ad3d2c3c73d60e37b2729e7109a2c /asn1c
parentc0e7071cd4e790bf75beda27ef07f8cb4ab4919d (diff)
-fskeletons-copy
Diffstat (limited to 'asn1c')
-rw-r--r--asn1c/asn1c.15
-rw-r--r--asn1c/asn1c.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/asn1c/asn1c.1 b/asn1c/asn1c.1
index 893d5995..a4289355 100644
--- a/asn1c/asn1c.1
+++ b/asn1c/asn1c.1
@@ -25,7 +25,7 @@ and other encoding standards.
.br
\fB\-fall-defs-global \-fbless-SIZE \-fcompound-names \-findirect-choice
.BI "\-fknown-extern-type="<name>
-\fB\-fnative-types \-fno-constraints \-fno-include-deps \-funnamed-unions \-ftypes88\fR
+\fB\-fnative-types \-fno-constraints \-fno-include-deps \-funnamed-unions \-fskeletons-copy \-ftypes88\fR
.TP
\fIOutput Options\fR
.br
@@ -115,6 +115,9 @@ Helps prevent namespace collisions.
.B \-funnamed-unions
Enable unnamed unions in the definitions of target language's structures.
.TP
+.B \-fskeletons-copy
+Copy support files (skeletons) rather than symlink them.
+.TP
.B \-ftypes88
Pretend to support only ASN.1:1988 embedded types. Certain reserved words,
such as UniversalString and BMPString, become ordinary type references
diff --git a/asn1c/asn1c.c b/asn1c/asn1c.c
index 11559de3..e009c381 100644
--- a/asn1c/asn1c.c
+++ b/asn1c/asn1c.c
@@ -93,6 +93,8 @@ main(int ac, char **av) {
asn1_compiler_flags |= A1C_NO_INCLUDE_DEPS;
} else if(strcmp(optarg, "unnamed-unions") == 0) {
asn1_compiler_flags |= A1C_UNNAMED_UNIONS;
+ } else if(strcmp(optarg, "skeletons-copy") == 0) {
+ asn1_compiler_flags |= A1C_SKELETONS_COPY;
} else if(strcmp(optarg, "types88") == 0) {
asn1_parser_flags |= A1P_TYPES_RESTRICT_TO_1988;
} else {
@@ -321,6 +323,7 @@ usage(const char *av0) {
" -fno-constraints Do not generate constraint checking code\n"
" -fno-include-deps Do not generate courtesy #includes for dependencies\n"
" -funnamed-unions Enable unnamed unions in structures\n"
+" -fskeletons-copy Force copying the support files\n"
" -ftypes88 Pretend to support only ASN.1:1988 embedded types\n"
"\n"