From 7489c7f0d86bc7ef1367c7f3b11e82d0b04702a8 Mon Sep 17 00:00:00 2001 From: vlm Date: Fri, 29 Jun 2007 12:59:12 +0000 Subject: testing data git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@1364 59561ff5-6e30-0410-9f3c-9617f08c8826 --- examples/sample.source.ULP/Makefile | 7 ++++--- examples/sample.source.ULP/sample-ULP-PDU-1.per | Bin 0 -> 29 bytes examples/sample.source.ULP/sample-ULP-PDU-2.per | Bin 0 -> 24 bytes 3 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 examples/sample.source.ULP/sample-ULP-PDU-1.per create mode 100644 examples/sample.source.ULP/sample-ULP-PDU-2.per diff --git a/examples/sample.source.ULP/Makefile b/examples/sample.source.ULP/Makefile index 417be53d..ac47e222 100644 --- a/examples/sample.source.ULP/Makefile +++ b/examples/sample.source.ULP/Makefile @@ -225,6 +225,7 @@ ASN_MODULE_SOURCES+=per_encoder.c ASN_MODULE_HEADERS+=per_opentype.h ASN_MODULE_SOURCES+=per_opentype.c ASN_CONVERTER_SOURCES+=converter-sample.c +ASN_CONVERTER_SOURCES+=pdu_collection.c lib_LTLIBRARIES=libsomething.la @@ -233,7 +234,7 @@ libsomething_la_SOURCES=$(ASN_MODULE_SOURCES) $(ASN_MODULE_HEADERS) # This file may be used as an input for make(3) # Remove the lines below to convert it into a pure .am file TARGET = ulp-dump -CFLAGS += -DASN_CONVERTER_TITLE="OMA UserPlane Location Protocol decoder" -DHAVE_CONFIG_H -DJUNKTEST -DPDU=ULP_PDU -I. +CFLAGS += -DASN_CONVERTER_TITLE="OMA UserPlane Location Protocol decoder" -DHAVE_CONFIG_H -DJUNKTEST -DPDU=ULP_PDU -DASN_PDU_COLLECTION -I. OBJS=${ASN_MODULE_SOURCES:.c=.o} ${ASN_CONVERTER_SOURCES:.c=.o} all: ULP-PDU.c $(TARGET) @@ -254,7 +255,7 @@ clean: regen: regenerate-from-asn1-source regenerate-from-asn1-source: - ../../asn1c/asn1c -S ../../skeletons -pdu=ULP-PDU -fcompound-names -gen-PER ../ulp.asn1 + ../../asn1c/asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=auto -fcompound-names -gen-PER ../ulp.asn1 ULP-PDU.c: ../sample.makefile.regen ../ulp.asn1 @@ -264,7 +265,7 @@ ULP-PDU.c: ../sample.makefile.regen ../ulp.asn1 regen-makefile: TITLE="OMA UserPlane Location Protocol decoder" \ - ASN1CMDOPTS="-fcompound-names -gen-PER" \ + ASN1CMDOPTS="-pdu=auto -fcompound-names -gen-PER" \ ASN1MODULES="../ulp.asn1" \ ASN1PDU=ULP-PDU \ PROGNAME=ulp-dump \ diff --git a/examples/sample.source.ULP/sample-ULP-PDU-1.per b/examples/sample.source.ULP/sample-ULP-PDU-1.per new file mode 100644 index 00000000..ed388e05 Binary files /dev/null and b/examples/sample.source.ULP/sample-ULP-PDU-1.per differ diff --git a/examples/sample.source.ULP/sample-ULP-PDU-2.per b/examples/sample.source.ULP/sample-ULP-PDU-2.per new file mode 100644 index 00000000..8267f50d Binary files /dev/null and b/examples/sample.source.ULP/sample-ULP-PDU-2.per differ -- cgit v1.2.3