2015-12-10 04:11:49 +08:00
|
|
|
#
|
2016-01-13 05:25:30 +08:00
|
|
|
# OpenSSL/crypto/pkcs12/Makefile
|
2015-12-10 04:11:49 +08:00
|
|
|
#
|
|
|
|
|
2016-01-13 05:25:30 +08:00
|
|
|
DIR= pkcs12
|
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
|
|
|
|
|
|
|
GENERAL=Makefile
|
|
|
|
|
|
|
|
LIB=$(TOP)/libcrypto.a
|
2016-01-13 05:25:30 +08:00
|
|
|
LIBSRC= p12_add.c p12_asn.c p12_attr.c p12_crpt.c p12_crt.c p12_decr.c \
|
2016-02-05 23:55:02 +08:00
|
|
|
p12_init.c p12_key.c p12_kiss.c p12_mutl.c p12_sbag.c \
|
2016-01-13 05:25:30 +08:00
|
|
|
p12_utl.c p12_npas.c pk12err.c p12_p8d.c p12_p8e.c
|
|
|
|
LIBOBJ= p12_add.o p12_asn.o p12_attr.o p12_crpt.o p12_crt.o p12_decr.o \
|
2016-02-05 23:55:02 +08:00
|
|
|
p12_init.o p12_key.o p12_kiss.o p12_mutl.o p12_sbag.o \
|
2016-01-13 05:25:30 +08:00
|
|
|
p12_utl.o p12_npas.o pk12err.o p12_p8d.o p12_p8e.o
|
2015-12-10 04:11:49 +08:00
|
|
|
|
|
|
|
SRC= $(LIBSRC)
|
|
|
|
|
2016-02-09 05:14:50 +08:00
|
|
|
HEADER= p12_lcl.h
|
2016-01-13 05:25:30 +08:00
|
|
|
|
2015-12-10 04:11:49 +08:00
|
|
|
ALL= $(GENERAL) $(SRC) $(HEADER)
|
|
|
|
|
|
|
|
top:
|
|
|
|
(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
|
|
|
|
|
2016-01-13 05:25:30 +08:00
|
|
|
test:
|
|
|
|
|
2015-12-10 04:11:49 +08:00
|
|
|
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) -- $(PROGS) $(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.
|