2015-12-10 04:11:49 +08:00
|
|
|
#
|
2016-01-13 05:25:30 +08:00
|
|
|
# OpenSSL/ocsp/Makefile
|
2015-12-10 04:11:49 +08:00
|
|
|
#
|
|
|
|
|
2016-01-13 05:25:30 +08:00
|
|
|
DIR= ocsp
|
2015-12-10 04:11:49 +08:00
|
|
|
TOP= ../..
|
|
|
|
CC= cc
|
2016-01-13 05:25:30 +08:00
|
|
|
INCLUDES= -I.. -I$(TOP) -I../../include
|
2015-12-10 04:11:49 +08:00
|
|
|
CFLAG=-g
|
2016-01-13 05:25:30 +08:00
|
|
|
MAKEFILE= Makefile
|
2015-12-10 04:11:49 +08:00
|
|
|
AR= ar r
|
|
|
|
|
2016-02-20 05:02:41 +08:00
|
|
|
CFLAGS= $(INCLUDES) $(CFLAG) $(SHARED_CFLAG)
|
2015-12-10 04:11:49 +08:00
|
|
|
|
2016-01-13 05:25:30 +08:00
|
|
|
GENERAL=Makefile README
|
2015-12-10 04:11:49 +08:00
|
|
|
|
|
|
|
LIB=$(TOP)/libcrypto.a
|
2016-01-13 05:25:30 +08:00
|
|
|
LIBSRC= ocsp_asn.c ocsp_ext.c ocsp_ht.c ocsp_lib.c ocsp_cl.c \
|
|
|
|
ocsp_srv.c ocsp_prn.c ocsp_vfy.c ocsp_err.c v3_ocsp.c
|
|
|
|
|
|
|
|
LIBOBJ= ocsp_asn.o ocsp_ext.o ocsp_ht.o ocsp_lib.o ocsp_cl.o \
|
|
|
|
ocsp_srv.o ocsp_prn.o ocsp_vfy.o ocsp_err.o v3_ocsp.o
|
2015-12-10 04:11:49 +08:00
|
|
|
|
|
|
|
SRC= $(LIBSRC)
|
|
|
|
|
2016-01-13 05:25:30 +08:00
|
|
|
HEADER= ocsp_lcl.h
|
|
|
|
|
2015-12-10 04:11:49 +08:00
|
|
|
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:
|
2016-02-18 20:17:15 +08:00
|
|
|
$(TOP)/util/domd $(CFLAG) $(INCLUDES) -- $(LIBSRC)
|
2015-12-10 04:11:49 +08:00
|
|
|
|
|
|
|
clean:
|
2016-01-13 05:25:30 +08:00
|
|
|
rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
|
2015-12-10 04:11:49 +08:00
|
|
|
|
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|