2015-12-09 20:11:49 +00:00
|
|
|
#
|
2016-01-12 21:25:30 +00:00
|
|
|
# OpenSSL/crypto/pkcs12/Makefile
|
2015-12-09 20:11:49 +00:00
|
|
|
#
|
|
|
|
|
2016-01-12 21:25:30 +00:00
|
|
|
DIR= pkcs12
|
2015-12-09 20:11:49 +00:00
|
|
|
TOP= ../..
|
|
|
|
CC= cc
|
2016-01-12 21:25:30 +00:00
|
|
|
INCLUDES= -I.. -I$(TOP) -I../../include
|
2015-12-09 20:11:49 +00:00
|
|
|
CFLAG=-g
|
2016-01-12 21:25:30 +00:00
|
|
|
MAKEFILE= Makefile
|
2015-12-09 20:11:49 +00:00
|
|
|
AR= ar r
|
|
|
|
|
|
|
|
CFLAGS= $(INCLUDES) $(CFLAG)
|
|
|
|
|
|
|
|
GENERAL=Makefile
|
|
|
|
|
|
|
|
LIB=$(TOP)/libcrypto.a
|
2016-01-12 21:25:30 +00:00
|
|
|
LIBSRC= p12_add.c p12_asn.c p12_attr.c p12_crpt.c p12_crt.c p12_decr.c \
|
|
|
|
p12_init.c p12_key.c p12_kiss.c p12_mutl.c\
|
|
|
|
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 \
|
|
|
|
p12_init.o p12_key.o p12_kiss.o p12_mutl.o\
|
|
|
|
p12_utl.o p12_npas.o pk12err.o p12_p8d.o p12_p8e.o
|
2015-12-09 20:11:49 +00:00
|
|
|
|
|
|
|
SRC= $(LIBSRC)
|
|
|
|
|
2016-01-12 21:25:30 +00:00
|
|
|
HEADER=
|
|
|
|
|
2015-12-09 20:11:49 +00:00
|
|
|
ALL= $(GENERAL) $(SRC) $(HEADER)
|
|
|
|
|
|
|
|
top:
|
|
|
|
(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
|
|
|
|
|
2016-01-12 21:25:30 +00:00
|
|
|
test:
|
|
|
|
|
2015-12-09 20:11:49 +00: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-01-29 18:29:45 +00:00
|
|
|
$(TOP)/util/domd $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
|
2015-12-09 20:11:49 +00:00
|
|
|
|
|
|
|
clean:
|
2016-01-12 21:25:30 +00:00
|
|
|
rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
|
2015-12-09 20:11:49 +00:00
|
|
|
|
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|