forked from dnlmengs/pemtrans
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathMakefile
26 lines (19 loc) · 753 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
## Tell the compiler where to find <openssl/pem.h> and <cryptlib.h>
#INCLUDES = -I/usr/local/openssl/include -I/usr/local/include
## Tell the compiler where to find the OpenSSL libraries.
#LIBS = -L/usr/local/openssl/lib
## Where is libcl.a?
#CRYPTLIB = /usr/local/lib/libcl.a
## Cryptlib is usually linked with these libraries:
EXTRA_LIBS = -lresolv -lpthread
## Remember to change theese to suit your environment!!
INCLUDES = -I/usr/local/include/libcl
CRYPTLIB = /usr/local/lib/libcl.a
pemtrans: pemtrans.c
cc $(INCLUDES) $(LIBS) -o pemtrans pemtrans.c $(CRYPTLIB) \
-lcrypto -lssl $(EXTRA_LIBS)
p15dump: p15dump.c
cc $(INCLUDES) $(LIBS) -o p15dump p15dump.c $(CRYPTLIB) \
$(EXTRA_LIBS)
apcheader: apcheader.c
cc -o apcheader apcheader.c