| 1 |
ASN_MODULE_SOURCES= \ |
| 2 |
InterchangedObject.c \ |
| 3 |
RootClass.c \ |
| 4 |
GroupClass.c \ |
| 5 |
StandardIdentifier.c \ |
| 6 |
GroupItem.c \ |
| 7 |
ApplicationClass.c \ |
| 8 |
DefaultAttribute.c \ |
| 9 |
FontBody.c \ |
| 10 |
SceneClass.c \ |
| 11 |
SceneCoordinateSystem.c \ |
| 12 |
AspectRatio.c \ |
| 13 |
NextScene.c \ |
| 14 |
IngredientClass.c \ |
| 15 |
ContentBody.c \ |
| 16 |
ReferencedContent.c \ |
| 17 |
LinkClass.c \ |
| 18 |
LinkCondition.c \ |
| 19 |
EventType.c \ |
| 20 |
EventData.c \ |
| 21 |
ProgramClass.c \ |
| 22 |
ResidentProgramClass.c \ |
| 23 |
RemoteProgramClass.c \ |
| 24 |
InterchangedProgramClass.c \ |
| 25 |
PaletteClass.c \ |
| 26 |
FontClass.c \ |
| 27 |
CursorShapeClass.c \ |
| 28 |
VariableClass.c \ |
| 29 |
OriginalValue.c \ |
| 30 |
BooleanVariableClass.c \ |
| 31 |
IntegerVariableClass.c \ |
| 32 |
OctetStringVariableClass.c \ |
| 33 |
ObjectRefVariableClass.c \ |
| 34 |
ContentRefVariableClass.c \ |
| 35 |
PresentableClass.c \ |
| 36 |
TokenManagerClass.c \ |
| 37 |
Movement.c \ |
| 38 |
TokenGroupClass.c \ |
| 39 |
TokenGroupItem.c \ |
| 40 |
ActionSlot.c \ |
| 41 |
ListGroupClass.c \ |
| 42 |
VisibleClass.c \ |
| 43 |
OriginalBoxSize.c \ |
| 44 |
BitmapClass.c \ |
| 45 |
LineArtClass.c \ |
| 46 |
RectangleClass.c \ |
| 47 |
DynamicLineArtClass.c \ |
| 48 |
TextClass.c \ |
| 49 |
Justification.c \ |
| 50 |
LineOrientation.c \ |
| 51 |
StartCorner.c \ |
| 52 |
StreamClass.c \ |
| 53 |
StreamComponent.c \ |
| 54 |
Storage.c \ |
| 55 |
AudioClass.c \ |
| 56 |
VideoClass.c \ |
| 57 |
Termination.c \ |
| 58 |
RTGraphicsClass.c \ |
| 59 |
InteractibleClass.c \ |
| 60 |
SliderClass.c \ |
| 61 |
Orientation.c \ |
| 62 |
SliderStyle.c \ |
| 63 |
EntryFieldClass.c \ |
| 64 |
InputType.c \ |
| 65 |
HyperTextClass.c \ |
| 66 |
ButtonClass.c \ |
| 67 |
HotspotClass.c \ |
| 68 |
PushButtonClass.c \ |
| 69 |
SwitchButtonClass.c \ |
| 70 |
ButtonStyle.c \ |
| 71 |
ActionClass.c \ |
| 72 |
ElementaryAction.c \ |
| 73 |
Add.c \ |
| 74 |
AddItem.c \ |
| 75 |
Append.c \ |
| 76 |
Call.c \ |
| 77 |
CallActionSlot.c \ |
| 78 |
Clone.c \ |
| 79 |
CloseConnection.c \ |
| 80 |
DelItem.c \ |
| 81 |
DeselectItem.c \ |
| 82 |
Divide.c \ |
| 83 |
DrawArc.c \ |
| 84 |
DrawLine.c \ |
| 85 |
DrawOval.c \ |
| 86 |
DrawPolygon.c \ |
| 87 |
DrawPolyline.c \ |
| 88 |
DrawRectangle.c \ |
| 89 |
DrawSector.c \ |
| 90 |
Fork.c \ |
| 91 |
GetAvailabilityStatus.c \ |
| 92 |
GetBoxSize.c \ |
| 93 |
GetCellItem.c \ |
| 94 |
GetCursorPosition.c \ |
| 95 |
GetEngineSupport.c \ |
| 96 |
GetEntryPoint.c \ |
| 97 |
GetFillColour.c \ |
| 98 |
GetFirstItem.c \ |
| 99 |
GetHighlightStatus.c \ |
| 100 |
GetInteractionStatus.c \ |
| 101 |
GetItemStatus.c \ |
| 102 |
GetLabel.c \ |
| 103 |
GetLastAnchorFired.c \ |
| 104 |
GetLineColour.c \ |
| 105 |
GetLineStyle.c \ |
| 106 |
GetLineWidth.c \ |
| 107 |
GetListItem.c \ |
| 108 |
GetListSize.c \ |
| 109 |
GetOverwriteMode.c \ |
| 110 |
GetPortion.c \ |
| 111 |
GetPosition.c \ |
| 112 |
GetRunningStatus.c \ |
| 113 |
GetSelectionStatus.c \ |
| 114 |
GetSliderValue.c \ |
| 115 |
GetTextContent.c \ |
| 116 |
GetTextData.c \ |
| 117 |
GetTokenPosition.c \ |
| 118 |
GetVolume.c \ |
| 119 |
Modulo.c \ |
| 120 |
Move.c \ |
| 121 |
MoveTo.c \ |
| 122 |
Multiply.c \ |
| 123 |
OpenConnection.c \ |
| 124 |
PutBefore.c \ |
| 125 |
PutBehind.c \ |
| 126 |
ReadPersistent.c \ |
| 127 |
ScaleBitmap.c \ |
| 128 |
ScaleVideo.c \ |
| 129 |
ScrollItems.c \ |
| 130 |
SelectItem.c \ |
| 131 |
SendEvent.c \ |
| 132 |
SetBoxSize.c \ |
| 133 |
SetCachePriority.c \ |
| 134 |
SetCounterEndPosition.c \ |
| 135 |
SetCounterPosition.c \ |
| 136 |
SetCounterTrigger.c \ |
| 137 |
SetCursorPosition.c \ |
| 138 |
SetCursorShape.c \ |
| 139 |
SetData.c \ |
| 140 |
SetEntryPoint.c \ |
| 141 |
SetFillColour.c \ |
| 142 |
SetFirstItem.c \ |
| 143 |
SetFontRef.c \ |
| 144 |
SetHighlightStatus.c \ |
| 145 |
SetInteractionStatus.c \ |
| 146 |
SetLabel.c \ |
| 147 |
SetLineColour.c \ |
| 148 |
SetLineStyle.c \ |
| 149 |
SetLineWidth.c \ |
| 150 |
SetOverwriteMode.c \ |
| 151 |
SetPaletteRef.c \ |
| 152 |
SetPortion.c \ |
| 153 |
SetPosition.c \ |
| 154 |
SetSliderValue.c \ |
| 155 |
SetSpeed.c \ |
| 156 |
SetTimer.c \ |
| 157 |
NewTimer.c \ |
| 158 |
SetTransparency.c \ |
| 159 |
SetVariable.c \ |
| 160 |
SetVolume.c \ |
| 161 |
Step.c \ |
| 162 |
StorePersistent.c \ |
| 163 |
Subtract.c \ |
| 164 |
TestVariable.c \ |
| 165 |
ToggleItem.c \ |
| 166 |
TransitionTo.c \ |
| 167 |
ConnectionTagOrNull.c \ |
| 168 |
ComparisonValue.c \ |
| 169 |
EmulatedEventData.c \ |
| 170 |
NewColour.c \ |
| 171 |
NewContent.c \ |
| 172 |
NewFont.c \ |
| 173 |
NewReferencedContent.c \ |
| 174 |
NewContentSize.c \ |
| 175 |
NewVariableValue.c \ |
| 176 |
Parameter.c \ |
| 177 |
Point.c \ |
| 178 |
Rational.c \ |
| 179 |
ObjectReference.c \ |
| 180 |
ExternalReference.c \ |
| 181 |
IndirectReference.c \ |
| 182 |
ContentReference.c \ |
| 183 |
GenericObjectReference.c \ |
| 184 |
GenericContentReference.c \ |
| 185 |
GenericInteger.c \ |
| 186 |
GenericBoolean.c \ |
| 187 |
GenericOctetString.c \ |
| 188 |
Colour.c \ |
| 189 |
XYPosition.c \ |
| 190 |
OctetString.c |
| 191 |
|
| 192 |
ASN_MODULE_HEADERS= \ |
| 193 |
InterchangedObject.h \ |
| 194 |
RootClass.h \ |
| 195 |
GroupClass.h \ |
| 196 |
StandardIdentifier.h \ |
| 197 |
GroupItem.h \ |
| 198 |
ApplicationClass.h \ |
| 199 |
DefaultAttribute.h \ |
| 200 |
FontBody.h \ |
| 201 |
SceneClass.h \ |
| 202 |
SceneCoordinateSystem.h \ |
| 203 |
AspectRatio.h \ |
| 204 |
NextScene.h \ |
| 205 |
IngredientClass.h \ |
| 206 |
ContentBody.h \ |
| 207 |
ReferencedContent.h \ |
| 208 |
LinkClass.h \ |
| 209 |
LinkCondition.h \ |
| 210 |
EventType.h \ |
| 211 |
EventData.h \ |
| 212 |
ProgramClass.h \ |
| 213 |
ResidentProgramClass.h \ |
| 214 |
RemoteProgramClass.h \ |
| 215 |
InterchangedProgramClass.h \ |
| 216 |
PaletteClass.h \ |
| 217 |
FontClass.h \ |
| 218 |
CursorShapeClass.h \ |
| 219 |
VariableClass.h \ |
| 220 |
OriginalValue.h \ |
| 221 |
BooleanVariableClass.h \ |
| 222 |
IntegerVariableClass.h \ |
| 223 |
OctetStringVariableClass.h \ |
| 224 |
ObjectRefVariableClass.h \ |
| 225 |
ContentRefVariableClass.h \ |
| 226 |
PresentableClass.h \ |
| 227 |
TokenManagerClass.h \ |
| 228 |
Movement.h \ |
| 229 |
TokenGroupClass.h \ |
| 230 |
TokenGroupItem.h \ |
| 231 |
ActionSlot.h \ |
| 232 |
ListGroupClass.h \ |
| 233 |
VisibleClass.h \ |
| 234 |
OriginalBoxSize.h \ |
| 235 |
BitmapClass.h \ |
| 236 |
LineArtClass.h \ |
| 237 |
RectangleClass.h \ |
| 238 |
DynamicLineArtClass.h \ |
| 239 |
TextClass.h \ |
| 240 |
Justification.h \ |
| 241 |
LineOrientation.h \ |
| 242 |
StartCorner.h \ |
| 243 |
StreamClass.h \ |
| 244 |
StreamComponent.h \ |
| 245 |
Storage.h \ |
| 246 |
AudioClass.h \ |
| 247 |
VideoClass.h \ |
| 248 |
Termination.h \ |
| 249 |
RTGraphicsClass.h \ |
| 250 |
InteractibleClass.h \ |
| 251 |
SliderClass.h \ |
| 252 |
Orientation.h \ |
| 253 |
SliderStyle.h \ |
| 254 |
EntryFieldClass.h \ |
| 255 |
InputType.h \ |
| 256 |
HyperTextClass.h \ |
| 257 |
ButtonClass.h \ |
| 258 |
HotspotClass.h \ |
| 259 |
PushButtonClass.h \ |
| 260 |
SwitchButtonClass.h \ |
| 261 |
ButtonStyle.h \ |
| 262 |
ActionClass.h \ |
| 263 |
ElementaryAction.h \ |
| 264 |
Add.h \ |
| 265 |
AddItem.h \ |
| 266 |
Append.h \ |
| 267 |
Call.h \ |
| 268 |
CallActionSlot.h \ |
| 269 |
Clone.h \ |
| 270 |
CloseConnection.h \ |
| 271 |
DelItem.h \ |
| 272 |
DeselectItem.h \ |
| 273 |
Divide.h \ |
| 274 |
DrawArc.h \ |
| 275 |
DrawLine.h \ |
| 276 |
DrawOval.h \ |
| 277 |
DrawPolygon.h \ |
| 278 |
DrawPolyline.h \ |
| 279 |
DrawRectangle.h \ |
| 280 |
DrawSector.h \ |
| 281 |
Fork.h \ |
| 282 |
GetAvailabilityStatus.h \ |
| 283 |
GetBoxSize.h \ |
| 284 |
GetCellItem.h \ |
| 285 |
GetCursorPosition.h \ |
| 286 |
GetEngineSupport.h \ |
| 287 |
GetEntryPoint.h \ |
| 288 |
GetFillColour.h \ |
| 289 |
GetFirstItem.h \ |
| 290 |
GetHighlightStatus.h \ |
| 291 |
GetInteractionStatus.h \ |
| 292 |
GetItemStatus.h \ |
| 293 |
GetLabel.h \ |
| 294 |
GetLastAnchorFired.h \ |
| 295 |
GetLineColour.h \ |
| 296 |
GetLineStyle.h \ |
| 297 |
GetLineWidth.h \ |
| 298 |
GetListItem.h \ |
| 299 |
GetListSize.h \ |
| 300 |
GetOverwriteMode.h \ |
| 301 |
GetPortion.h \ |
| 302 |
GetPosition.h \ |
| 303 |
GetRunningStatus.h \ |
| 304 |
GetSelectionStatus.h \ |
| 305 |
GetSliderValue.h \ |
| 306 |
GetTextContent.h \ |
| 307 |
GetTextData.h \ |
| 308 |
GetTokenPosition.h \ |
| 309 |
GetVolume.h \ |
| 310 |
Modulo.h \ |
| 311 |
Move.h \ |
| 312 |
MoveTo.h \ |
| 313 |
Multiply.h \ |
| 314 |
OpenConnection.h \ |
| 315 |
PutBefore.h \ |
| 316 |
PutBehind.h \ |
| 317 |
ReadPersistent.h \ |
| 318 |
ScaleBitmap.h \ |
| 319 |
ScaleVideo.h \ |
| 320 |
ScrollItems.h \ |
| 321 |
SelectItem.h \ |
| 322 |
SendEvent.h \ |
| 323 |
SetBoxSize.h \ |
| 324 |
SetCachePriority.h \ |
| 325 |
SetCounterEndPosition.h \ |
| 326 |
SetCounterPosition.h \ |
| 327 |
SetCounterTrigger.h \ |
| 328 |
SetCursorPosition.h \ |
| 329 |
SetCursorShape.h \ |
| 330 |
SetData.h \ |
| 331 |
SetEntryPoint.h \ |
| 332 |
SetFillColour.h \ |
| 333 |
SetFirstItem.h \ |
| 334 |
SetFontRef.h \ |
| 335 |
SetHighlightStatus.h \ |
| 336 |
SetInteractionStatus.h \ |
| 337 |
SetLabel.h \ |
| 338 |
SetLineColour.h \ |
| 339 |
SetLineStyle.h \ |
| 340 |
SetLineWidth.h \ |
| 341 |
SetOverwriteMode.h \ |
| 342 |
SetPaletteRef.h \ |
| 343 |
SetPortion.h \ |
| 344 |
SetPosition.h \ |
| 345 |
SetSliderValue.h \ |
| 346 |
SetSpeed.h \ |
| 347 |
SetTimer.h \ |
| 348 |
NewTimer.h \ |
| 349 |
SetTransparency.h \ |
| 350 |
SetVariable.h \ |
| 351 |
SetVolume.h \ |
| 352 |
Step.h \ |
| 353 |
StorePersistent.h \ |
| 354 |
Subtract.h \ |
| 355 |
TestVariable.h \ |
| 356 |
ToggleItem.h \ |
| 357 |
TransitionTo.h \ |
| 358 |
ConnectionTagOrNull.h \ |
| 359 |
ComparisonValue.h \ |
| 360 |
EmulatedEventData.h \ |
| 361 |
NewColour.h \ |
| 362 |
NewContent.h \ |
| 363 |
NewFont.h \ |
| 364 |
NewReferencedContent.h \ |
| 365 |
NewContentSize.h \ |
| 366 |
NewVariableValue.h \ |
| 367 |
Parameter.h \ |
| 368 |
Point.h \ |
| 369 |
Rational.h \ |
| 370 |
ObjectReference.h \ |
| 371 |
ExternalReference.h \ |
| 372 |
IndirectReference.h \ |
| 373 |
ContentReference.h \ |
| 374 |
GenericObjectReference.h \ |
| 375 |
GenericContentReference.h \ |
| 376 |
GenericInteger.h \ |
| 377 |
GenericBoolean.h \ |
| 378 |
GenericOctetString.h \ |
| 379 |
Colour.h \ |
| 380 |
XYPosition.h \ |
| 381 |
OctetString.h |
| 382 |
|
| 383 |
ASN_MODULE_HEADERS+=ANY.h |
| 384 |
ASN_MODULE_SOURCES+=ANY.c |
| 385 |
ASN_MODULE_HEADERS+=BOOLEAN.h |
| 386 |
ASN_MODULE_SOURCES+=BOOLEAN.c |
| 387 |
ASN_MODULE_HEADERS+=ENUMERATED.h |
| 388 |
ASN_MODULE_SOURCES+=ENUMERATED.c |
| 389 |
ASN_MODULE_HEADERS+=INTEGER.h |
| 390 |
ASN_MODULE_HEADERS+=NativeEnumerated.h |
| 391 |
ASN_MODULE_HEADERS+=IA5String.h |
| 392 |
ASN_MODULE_SOURCES+=IA5String.c |
| 393 |
ASN_MODULE_SOURCES+=INTEGER.c |
| 394 |
ASN_MODULE_HEADERS+=NULL.h |
| 395 |
ASN_MODULE_SOURCES+=NULL.c |
| 396 |
ASN_MODULE_SOURCES+=NativeEnumerated.c |
| 397 |
ASN_MODULE_HEADERS+=NativeInteger.h |
| 398 |
ASN_MODULE_SOURCES+=NativeInteger.c |
| 399 |
ASN_MODULE_HEADERS+=asn_SEQUENCE_OF.h |
| 400 |
ASN_MODULE_SOURCES+=asn_SEQUENCE_OF.c |
| 401 |
ASN_MODULE_HEADERS+=asn_SET_OF.h |
| 402 |
ASN_MODULE_SOURCES+=asn_SET_OF.c |
| 403 |
ASN_MODULE_HEADERS+=constr_CHOICE.h |
| 404 |
ASN_MODULE_SOURCES+=constr_CHOICE.c |
| 405 |
ASN_MODULE_HEADERS+=constr_SEQUENCE.h |
| 406 |
ASN_MODULE_SOURCES+=constr_SEQUENCE.c |
| 407 |
ASN_MODULE_HEADERS+=constr_SEQUENCE_OF.h |
| 408 |
ASN_MODULE_SOURCES+=constr_SEQUENCE_OF.c |
| 409 |
ASN_MODULE_HEADERS+=constr_SET_OF.h |
| 410 |
ASN_MODULE_HEADERS+=constr_SET.h |
| 411 |
ASN_MODULE_SOURCES+=constr_SET.c |
| 412 |
ASN_MODULE_SOURCES+=constr_SET_OF.c |
| 413 |
ASN_MODULE_HEADERS+=asn_application.h |
| 414 |
ASN_MODULE_HEADERS+=asn_system.h |
| 415 |
ASN_MODULE_HEADERS+=asn_codecs.h |
| 416 |
ASN_MODULE_HEADERS+=asn_internal.h |
| 417 |
ASN_MODULE_HEADERS+=OCTET_STRING.h |
| 418 |
ASN_MODULE_SOURCES+=OCTET_STRING.c |
| 419 |
ASN_MODULE_HEADERS+=BIT_STRING.h |
| 420 |
ASN_MODULE_SOURCES+=BIT_STRING.c |
| 421 |
ASN_MODULE_SOURCES+=asn_codecs_prim.c |
| 422 |
ASN_MODULE_HEADERS+=asn_codecs_prim.h |
| 423 |
ASN_MODULE_HEADERS+=ber_tlv_length.h |
| 424 |
ASN_MODULE_SOURCES+=ber_tlv_length.c |
| 425 |
ASN_MODULE_HEADERS+=ber_tlv_tag.h |
| 426 |
ASN_MODULE_SOURCES+=ber_tlv_tag.c |
| 427 |
ASN_MODULE_HEADERS+=ber_decoder.h |
| 428 |
ASN_MODULE_SOURCES+=ber_decoder.c |
| 429 |
ASN_MODULE_HEADERS+=der_encoder.h |
| 430 |
ASN_MODULE_SOURCES+=der_encoder.c |
| 431 |
ASN_MODULE_HEADERS+=constr_TYPE.h |
| 432 |
ASN_MODULE_SOURCES+=constr_TYPE.c |
| 433 |
ASN_MODULE_HEADERS+=constraints.h |
| 434 |
ASN_MODULE_SOURCES+=constraints.c |
| 435 |
ASN_MODULE_HEADERS+=xer_support.h |
| 436 |
ASN_MODULE_SOURCES+=xer_support.c |
| 437 |
ASN_MODULE_HEADERS+=xer_decoder.h |
| 438 |
ASN_MODULE_SOURCES+=xer_decoder.c |
| 439 |
ASN_MODULE_HEADERS+=xer_encoder.h |
| 440 |
ASN_MODULE_SOURCES+=xer_encoder.c |
| 441 |
ASN_MODULE_HEADERS+=per_support.h |
| 442 |
ASN_MODULE_SOURCES+=per_support.c |
| 443 |
ASN_MODULE_HEADERS+=per_decoder.h |
| 444 |
ASN_MODULE_SOURCES+=per_decoder.c |
| 445 |
ASN_MODULE_HEADERS+=per_encoder.h |
| 446 |
ASN_MODULE_SOURCES+=per_encoder.c |
| 447 |
ASN_CONVERTER_SOURCES+=converter-sample.c |
| 448 |
|
| 449 |
|
| 450 |
lib_LTLIBRARIES=libsomething.la |
| 451 |
libsomething_la_SOURCES=$(ASN_MODULE_SOURCES) $(ASN_MODULE_HEADERS) |
| 452 |
|
| 453 |
|
| 454 |
|
| 455 |
TARGET = mheg5dump |
| 456 |
CFLAGS += -DHAVE_CONFIG_H -DJUNKTEST -DPDU=InterchangedObject -I. |
| 457 |
OBJS=${ASN_MODULE_SOURCES:.c=.o} ${ASN_CONVERTER_SOURCES:.c=.o} |
| 458 |
|
| 459 |
all: InterchangedObject.c $(TARGET) |
| 460 |
|
| 461 |
$(TARGET): ${OBJS} |
| 462 |
$(CC) $(CFLAGS) -o $(TARGET) ${OBJS} $(LDFLAGS) $(LIBS) |
| 463 |
|
| 464 |
.SUFFIXES: |
| 465 |
.SUFFIXES: .c .o |
| 466 |
|
| 467 |
.c.o: |
| 468 |
$(CC) $(CFLAGS) -o $@ -c $< |
| 469 |
|
| 470 |
clean: |
| 471 |
rm -f $(TARGET) |
| 472 |
rm -f $(OBJS) |
| 473 |
|
| 474 |
regen: regenerate-from-asn1-source |
| 475 |
|
| 476 |
regenerate-from-asn1-source: |
| 477 |
../../asn1c/asn1c -S ../../skeletons -pdu=InterchangedObject -fcompound-names ../ISO13522-MHEG-5.asn |
| 478 |
|
| 479 |
|
| 480 |
InterchangedObject.c: ../sample.makefile.regen ../ISO13522-MHEG-5.asn |
| 481 |
make regen-makefile |
| 482 |
@touch InterchangedObject.c |
| 483 |
make |
| 484 |
|
| 485 |
regen-makefile: |
| 486 |
ASN1CMDOPTS="-fcompound-names" \ |
| 487 |
ASN1MODULES="../ISO13522-MHEG-5.asn" \ |
| 488 |
ASN1PDU=InterchangedObject \ |
| 489 |
PROGNAME=mheg5dump \ |
| 490 |
../sample.makefile.regen |
| 491 |
|
| 492 |
check: ${TARGET} check-ber check-xer check-per |
| 493 |
@echo ================ |
| 494 |
@echo All tests passed |
| 495 |
@echo ================ |
| 496 |
|
| 497 |
check-ber: |
| 498 |
@if test -f sample-InterchangedObject-1.[db]er ; then \ |
| 499 |
for f in sample-InterchangedObject-*.[db]er; do \ |
| 500 |
for b in 1 17 33 980 8192; do \ |
| 501 |
echo "Recoding $$f into XER and back ($$b)..."; \ |
| 502 |
./${TARGET} -b $$b -iber -oxer $$f > ./.tmp.1.$$$$ || exit 2; \ |
| 503 |
./${TARGET} -b $$b -ixer -oxer ./.tmp.1.$$$$ > ./.tmp.2.$$$$ || exit 2; \ |
| 504 |
diff ./.tmp.1.$$$$ ./.tmp.2.$$$$ || exit 2; \ |
| 505 |
rm -f ./.tmp.[12].$$$$; \ |
| 506 |
echo "Test junking $$f (please wait)..."; \ |
| 507 |
./${TARGET} -J0.0001 -n 1000 -b $$b -iber -onull $$f || exit 2; \ |
| 508 |
./${TARGET} -J0.001 -n 1000 -b $$b -iber -onull $$f || exit 2; \ |
| 509 |
done; done; fi |
| 510 |
|
| 511 |
check-xer: |
| 512 |
@if test -f sample-InterchangedObject-1.xer ; then \ |
| 513 |
for f in sample-InterchangedObject-*.xer; do \ |
| 514 |
for b in 1 17 33 980 8192; do \ |
| 515 |
echo "Recoding $$f into DER and back ($$b)..."; \ |
| 516 |
./${TARGET} -b $$b -ixer -oder $$f > ./.tmp.1.$$$$ || exit 2; \ |
| 517 |
./${TARGET} -b $$b -iber -oxer ./.tmp.1.$$$$ > ./.tmp.2.$$$$ || exit 2; \ |
| 518 |
diff $$f ./.tmp.2.$$$$ || exit 2; \ |
| 519 |
rm -f ./.tmp.[12].$$$$; \ |
| 520 |
echo "Test junking $$f (please wait)..."; \ |
| 521 |
./${TARGET} -J0.0001 -n 1000 -b $$b -ixer -onull $$f || exit 2; \ |
| 522 |
./${TARGET} -J0.001 -n 1000 -b $$b -ixer -onull $$f || exit 2; \ |
| 523 |
done; done; fi |
| 524 |
|
| 525 |
check-per: |
| 526 |
@if test -f sample-InterchangedObject-1.per ; then \ |
| 527 |
for f in sample-InterchangedObject-[1-9].per; do \ |
| 528 |
for b in 1 17 33 980 8192; do \ |
| 529 |
echo "Recoding $$f into DER into XER and back ($$b)..."; \ |
| 530 |
./${TARGET} -b $$b -iper -oder $$f > ./.tmp.1.$$$$ || exit 2; \ |
| 531 |
./${TARGET} -b $$b -iber -oxer ./.tmp.1.$$$$ > ./.tmp.2.$$$$ || exit 2; \ |
| 532 |
./${TARGET} -b $$b -ixer -oder ./.tmp.2.$$$$ > ./.tmp.3.$$$$ || exit 2; \ |
| 533 |
diff ./.tmp.1.$$$$ ./.tmp.3.$$$$ || exit 2; \ |
| 534 |
rm -f ./.tmp.[123].$$$$; \ |
| 535 |
echo "Test junking $$f (please wait)..."; \ |
| 536 |
./${TARGET} -J0.0001 -n 1000 -b $$b -iper -onull $$f || exit 2; \ |
| 537 |
./${TARGET} -J0.001 -n 1000 -b $$b -iper -onull $$f || exit 2; \ |
| 538 |
done; done; fi |
| 539 |
@if test -f sample-InterchangedObject-1-padded.per ; then \ |
| 540 |
for f in sample-*-[1-9]-padded.per; do \ |
| 541 |
pdu=`echo $$f | sed -E -e "s/sample-([A-Za-z-]+)-[0-9].*/\1/"`; \ |
| 542 |
for b in 1 17 33 980 8192; do \ |
| 543 |
echo "Recoding byte-padded $$f into DER into XER and back ($$b)..."; \ |
| 544 |
./${TARGET} -b $$b -per-padded -p $$pdu -iper -oder $$f > ./.tmp.1.$$$$ || exit 2; \ |
| 545 |
./${TARGET} -b $$b -p $$pdu -iber -oxer ./.tmp.1.$$$$ > ./.tmp.2.$$$$ || exit 2; \ |
| 546 |
./${TARGET} -b $$b -p $$pdu -ixer -oper ./.tmp.2.$$$$ > ./.tmp.1.$$$$ || exit 2; \ |
| 547 |
diff $$f ./.tmp.1.$$$$ || exit 2; \ |
| 548 |
rm -f ./.tmp.[12].$$$$; \ |
| 549 |
echo "Test junking $$f (please wait)..."; \ |
| 550 |
./${TARGET} -J0.0001 -n 1000 -b $$b -per-padded -iper -onull $$f || exit 2; \ |
| 551 |
./${TARGET} -J0.001 -n 1000 -b $$b -per-padded -iper -onull $$f || exit 2; \ |
| 552 |
done; done; fi |
| 553 |
|
| 554 |
distclean: clean |
| 555 |
rm -f $(ASN_MODULE_SOURCES) |
| 556 |
rm -f $(ASN_MODULE_HEADERS) |
| 557 |
rm -f $(ASN_CONVERTER_SOURCES) $(ASN_CONVERTER_HEADERS) |
| 558 |
rm -f Makefile.am.sample |