ced2c2c598
Reviewed-by: Richard Levitte <levitte@openssl.org>
60 lines
1.4 KiB
Makefile
60 lines
1.4 KiB
Makefile
#
|
|
# OpenSSL/crypto/x509/Makefile
|
|
#
|
|
|
|
DIR= x509
|
|
TOP= ../..
|
|
CC= cc
|
|
INCLUDES= -I.. -I$(TOP) -I../../include
|
|
CFLAG=-g
|
|
MAKEFILE= Makefile
|
|
AR= ar r
|
|
|
|
CFLAGS= $(INCLUDES) $(CFLAG)
|
|
|
|
GENERAL=Makefile README
|
|
|
|
LIB=$(TOP)/libcrypto.a
|
|
LIBSRC= x509_def.c x509_d2.c x509_r2x.c x509_cmp.c \
|
|
x509_obj.c x509_req.c x509spki.c x509_vfy.c \
|
|
x509_set.c x509cset.c x509rset.c x509_err.c \
|
|
x509name.c x509_v3.c x509_ext.c x509_att.c \
|
|
x509type.c x509_lu.c x_all.c x509_txt.c \
|
|
x509_trs.c by_file.c by_dir.c x509_vpm.c \
|
|
x_crl.c t_crl.c x_req.c t_req.c x_x509.c t_x509.c \
|
|
x_x509a.c x_attrib.c x_exten.c x_name.c
|
|
LIBOBJ= x509_def.o x509_d2.o x509_r2x.o x509_cmp.o \
|
|
x509_obj.o x509_req.o x509spki.o x509_vfy.o \
|
|
x509_set.o x509cset.o x509rset.o x509_err.o \
|
|
x509name.o x509_v3.o x509_ext.o x509_att.o \
|
|
x509type.o x509_lu.o x_all.o x509_txt.o \
|
|
x509_trs.o by_file.o by_dir.o x509_vpm.o \
|
|
x_crl.o t_crl.o x_req.o t_req.o x_x509.o t_x509.o \
|
|
x_x509a.o x_attrib.o x_exten.o x_name.o
|
|
|
|
SRC= $(LIBSRC)
|
|
|
|
HEADER= x509_lcl.h
|
|
|
|
ALL= $(GENERAL) $(SRC) $(HEADER)
|
|
|
|
top:
|
|
(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
|
|
|
|
all: lib
|
|
|
|
lib: $(LIBOBJ)
|
|
$(AR) $(LIB) $(LIBOBJ)
|
|
$(RANLIB) $(LIB) || echo Never mind.
|
|
@touch lib
|
|
|
|
files:
|
|
$(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
|
|
|
|
depend:
|
|
$(TOP)/util/domd $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
|
|
|
|
clean:
|
|
rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
|
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|