c3691f2fa67ebe6f1ecfc107c59606c2c2dc7b97
[openssl.git] / crypto / x509 / Makefile.in
1 #
2 # OpenSSL/crypto/x509/Makefile
3 #
4
5 DIR=    x509
6 TOP=    ../..
7 CC=     cc
8 INCLUDES= -I.. -I$(TOP) -I../../include
9 CFLAG=-g
10 MAKEFILE=       Makefile
11 AR=             ar r
12
13 CFLAGS= $(INCLUDES) $(CFLAG)
14
15 GENERAL=Makefile README
16
17 LIB=$(TOP)/libcrypto.a
18 LIBSRC= x509_def.c x509_d2.c x509_r2x.c x509_cmp.c \
19         x509_obj.c x509_req.c x509spki.c x509_vfy.c \
20         x509_set.c x509cset.c x509rset.c x509_err.c \
21         x509name.c x509_v3.c x509_ext.c x509_att.c \
22         x509type.c x509_lu.c x_all.c x509_txt.c \
23         x509_trs.c by_file.c by_dir.c x509_vpm.c \
24         x_crl.c t_crl.c x_req.c t_req.c x_x509.c t_x509.c \
25         x_x509a.c x_attrib.c x_exten.c x_name.c
26 LIBOBJ= x509_def.o x509_d2.o x509_r2x.o x509_cmp.o \
27         x509_obj.o x509_req.o x509spki.o x509_vfy.o \
28         x509_set.o x509cset.o x509rset.o x509_err.o \
29         x509name.o x509_v3.o x509_ext.o x509_att.o \
30         x509type.o x509_lu.o x_all.o x509_txt.o \
31         x509_trs.o by_file.o by_dir.o x509_vpm.o \
32         x_crl.o t_crl.o x_req.o t_req.o x_x509.o t_x509.o \
33         x_x509a.o x_attrib.o x_exten.o x_name.o
34
35 SRC= $(LIBSRC)
36
37 HEADER= x509_lcl.h
38
39 ALL=    $(GENERAL) $(SRC) $(HEADER)
40
41 top:
42         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
43
44 all:    lib
45
46 lib:    $(LIBOBJ)
47         $(AR) $(LIB) $(LIBOBJ)
48         $(RANLIB) $(LIB) || echo Never mind.
49         @touch lib
50
51 files:
52         $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
53
54 depend:
55         $(TOP)/util/domd $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
56
57 clean:
58         rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
59
60 # DO NOT DELETE THIS LINE -- make depend depends on it.