source: examples/example_scripts/c/Makefile @ c7df2ad

mei_rt2mei_rt2_fix_1
Last change on this file since c7df2ad was ba6027a, checked in by Mei <mei@…>, 12 years ago

1) modified code all around to add support for encrypted private key for

ID credential

2) add new abac_key_t structure (abac_key.c)
3) add new keycheck option to creddy
4) add 2 new test suites

  • Property mode set to 100644
File size: 472 bytes
RevLine 
[ba6027a]1all: run
2
3abac_attr.o: abac_attr.c
4        gcc -g -c abac_attr.c -o abac_attr.o
5
6abac_attr: abac_attr.o
7        gcc -g -o abac_attr abac_attr.o -L/usr/local/lib/ipsec -labac -lYap -lreadline -lm -lstrongswan -Wl,-rpath -Wl,/usr/local/lib/ipsec
8
9clean:
10        rm -f abac_attr.o abac_attr *.pem *.der *.log
11
12realclean: 
13        make clean
14
15run: abac_attr
16        make clean
17        creddy --generate --cn IceCream
18        make abac_attr
19        ./abac_attr IceCream_ID.pem  IceCream_private.pem IceCream_attr.der 1>attr.log 2>&1
Note: See TracBrowser for help on using the repository browser.