aboutsummaryrefslogtreecommitdiffstats
path: root/examples/sample.source.PKIX1
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2004-10-28 12:04:15 +0000
committerLev Walkin <vlm@lionet.info>2004-10-28 12:04:15 +0000
commitf45bbde8455b02e072327aab0fe41acb150d9331 (patch)
tree3ee379c8bdc2a70f6848387002717c4799609f99 /examples/sample.source.PKIX1
parentda0ab72fa3cf5d98e850ae0f678619e9dfdccf89 (diff)
driven through config.h
Diffstat (limited to 'examples/sample.source.PKIX1')
-rw-r--r--examples/sample.source.PKIX1/Makefile2
-rw-r--r--examples/sample.source.PKIX1/config.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/examples/sample.source.PKIX1/Makefile b/examples/sample.source.PKIX1/Makefile
index a69669dd..dfa06f8c 100644
--- a/examples/sample.source.PKIX1/Makefile
+++ b/examples/sample.source.PKIX1/Makefile
@@ -358,7 +358,7 @@ Attribute.c: regenerate.Makefile
make
$(TARGET).o: ../decoder-template.c
- $(CC) $(CFLAGS) -Dasn_DEF=asn_DEF_Certificate -o $(TARGET).o -c ../decoder-template.c
+ $(CC) $(CFLAGS) -o $(TARGET).o -c ../decoder-template.c
distclean: clean
rm -f $(ASN_MODULE_SOURCES) $(ASN_MODULE_HEADERS)
diff --git a/examples/sample.source.PKIX1/config.h b/examples/sample.source.PKIX1/config.h
index 63b2105e..5385d429 100644
--- a/examples/sample.source.PKIX1/config.h
+++ b/examples/sample.source.PKIX1/config.h
@@ -7,3 +7,5 @@ extern int opt_debug;
fprintf(stderr, " (%s:%d)\n", \
__FILE__, __LINE__); \
} while(0)
+
+#define asn_DEF asn_DEF_Certificate /* for ../decoder-template.c */