2015-12-09 20:11:49 +00:00
|
|
|
#
|
2016-01-12 21:25:30 +00:00
|
|
|
# OpenSSL/crypto/md/Makefile
|
2015-12-09 20:11:49 +00:00
|
|
|
#
|
|
|
|
|
2016-01-12 21:25:30 +00:00
|
|
|
DIR= md2
|
2015-12-09 20:11:49 +00:00
|
|
|
TOP= ../..
|
|
|
|
CC= cc
|
|
|
|
INCLUDES=
|
|
|
|
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=md2_dgst.c md2_one.c
|
|
|
|
LIBOBJ=md2_dgst.o md2_one.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)
|
|
|
|
|
|
|
|
all: lib
|
|
|
|
|
|
|
|
lib: $(LIBOBJ)
|
|
|
|
$(AR) $(LIB) $(LIBOBJ)
|
|
|
|
$(RANLIB) $(LIB) || echo Never mind.
|
|
|
|
@touch lib
|
|
|
|
|
|
|
|
files:
|
|
|
|
$(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
|
|
|
|
|
|
|
|
depend:
|
|
|
|
@[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
|
|
|
|
$(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
|
|
|
|
|
|
|
|
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.
|