Upgraded to a2c-v6. rfc3280a.asn is gone now, replaced by pkix-common.asn, and the...
[bcr-a2csamples.git] / printcert / Makefile
blob19a347f8f47582afd4410904392aa36cbd33a143
1 IARG=-I$(PATH_TO_A2C)/runtime/C
2 A2C_LIB=$(PATH_TO_A2C)/runtime/C/A2C_Runtime.lib
3 CFLAGS=$(IARG)
5 all: check
7 rfc3280.c: $(PATH_TO_A2C)/a2c.exe $(PATH_TO_A2C)/test/rfc3280.asn $(PATH_TO_A2C)/test/pkix-common.asn
8 mono $(PATH_TO_A2C)/a2c.exe -inline=static -out=rfc3280 $(PATH_TO_A2C)/test/rfc3280.asn $(PATH_TO_A2C)/test/pkix-common.asn
10 printcert: printcert.c util.c rfc3280.c $(A2C_LIB)
12 check: printcert
13 cd test && ./runtests && cd ..
15 clean:
16 rm -f printcert
17 find test -name actual.txt -print0 | xargs -0 rm