aboutsummaryrefslogtreecommitdiffstats
path: root/examples/sample.source.MEGACO
diff options
context:
space:
mode:
authorvlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826>2006-09-17 04:01:29 +0000
committervlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826>2006-09-17 04:01:29 +0000
commit70c232de00d5332a85c91d29ccc4e8af045d8b83 (patch)
tree4e6e51d429d0b48fb74826609808d7afc7ae49f9 /examples/sample.source.MEGACO
parent13d1c51735361825ad478cc40d516e16fb37c6d1 (diff)
proper
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@1199 59561ff5-6e30-0410-9f3c-9617f08c8826
Diffstat (limited to 'examples/sample.source.MEGACO')
-rw-r--r--examples/sample.source.MEGACO/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/examples/sample.source.MEGACO/Makefile b/examples/sample.source.MEGACO/Makefile
index 21009c46..d05f4a45 100644
--- a/examples/sample.source.MEGACO/Makefile
+++ b/examples/sample.source.MEGACO/Makefile
@@ -285,7 +285,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 = megacoDump
-CFLAGS += -I. -DHAVE_CONFIG_H -DPDU=MegacoMessage
+CFLAGS += -DHAVE_CONFIG_H -DPDU=MegacoMessage -I.
OBJS=${ASN_MODULE_SOURCES:.c=.o} ${ASN_CONVERTER_SOURCES:.c=.o}
all: MegacoMessage.c $(TARGET)
@@ -310,13 +310,16 @@ regenerate-from-asn1-source:
MegacoMessage.c: ../sample.makefile.regen
+ make regen-makefile
+ @touch MegacoMessage.c
+ make
+
+regen-makefile:
ASN1CMDOPTS="-fcompound-names" \
ASN1MODULES="../rfc3525-MEDIA-GATEWAY-CONTROL.asn1" \
ASN1PDU=MegacoMessage \
PROGNAME=megacoDump \
../sample.makefile.regen
- @touch MegacoMessage.c
- make
check: ${TARGET}
@if test -f ./sample-MegacoMessage-1.[db]er ; then \