2015-12-10 04:11:49 +08:00
|
|
|
#
|
2016-01-13 05:25:30 +08:00
|
|
|
# OpenSSL/crypto/ripemd/Makefile
|
2015-12-10 04:11:49 +08:00
|
|
|
#
|
|
|
|
|
2016-01-13 05:25:30 +08:00
|
|
|
DIR= ripemd
|
|
|
|
TOP= ../..
|
|
|
|
CC= cc
|
2015-12-10 04:11:49 +08:00
|
|
|
CPP= $(CC) -E
|
|
|
|
INCLUDES=
|
|
|
|
CFLAG=-g
|
2016-01-13 05:25:30 +08:00
|
|
|
MAKEFILE= Makefile
|
|
|
|
AR= ar r
|
2015-12-10 04:11:49 +08:00
|
|
|
|
2016-01-13 05:25:30 +08:00
|
|
|
RIP_ASM_OBJ=
|
2015-12-12 19:29:37 +08:00
|
|
|
|
2016-02-20 05:02:41 +08:00
|
|
|
CFLAGS= $(INCLUDES) $(CFLAG) $(SHARED_CFLAG)
|
2016-03-04 22:36:07 +08:00
|
|
|
ASFLAGS= $(INCLUDES) $(ASFLAG) $(SHARED_CFLAG)
|
2015-12-10 04:11:49 +08:00
|
|
|
AFLAGS= $(ASFLAGS)
|
|
|
|
|
|
|
|
GENERAL=Makefile
|
|
|
|
|
|
|
|
LIB=$(TOP)/libcrypto.a
|
2016-01-13 05:25:30 +08:00
|
|
|
LIBSRC=rmd_dgst.c rmd_one.c
|
|
|
|
LIBOBJ=rmd_dgst.o rmd_one.o $(RMD160_ASM_OBJ)
|
2015-12-10 04:11:49 +08:00
|
|
|
|
|
|
|
SRC= $(LIBSRC)
|
|
|
|
|
2016-01-13 05:25:30 +08:00
|
|
|
HEADER= rmd_locl.h rmdconst.h
|
|
|
|
|
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
|
|
|
all: lib
|
2015-12-10 04:11:49 +08:00
|
|
|
|
2016-01-13 05:25:30 +08:00
|
|
|
lib: $(LIBOBJ)
|
2015-12-10 04:11:49 +08:00
|
|
|
$(AR) $(LIB) $(LIBOBJ)
|
|
|
|
$(RANLIB) $(LIB) || echo Never mind.
|
|
|
|
@touch lib
|
|
|
|
|
2016-01-13 05:25:30 +08:00
|
|
|
rmd-586.s: asm/rmd-586.pl ../perlasm/x86asm.pl
|
2016-03-07 22:49:34 +08:00
|
|
|
$(PERL) asm/rmd-586.pl $(PERLASM_SCHEME) $(CFLAGS) $@
|
2016-01-13 05:25:30 +08:00
|
|
|
|
2015-12-10 04:11:49 +08:00
|
|
|
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:
|
|
|
|
rm -f *.s *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
|
|
|
|
|
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|