2015-12-09 20:11:49 +00:00
|
|
|
#
|
2016-01-12 21:25:30 +00:00
|
|
|
# OpenSSL/crypto/rc2/Makefile
|
2015-12-09 20:11:49 +00:00
|
|
|
#
|
|
|
|
|
2016-01-12 21:25:30 +00:00
|
|
|
DIR= rc2
|
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
|
|
|
|
|
2016-02-19 21:02:41 +00:00
|
|
|
CFLAGS= $(INCLUDES) $(CFLAG) $(SHARED_CFLAG)
|
2015-12-09 20:11:49 +00:00
|
|
|
|
|
|
|
GENERAL=Makefile
|
|
|
|
|
|
|
|
LIB=$(TOP)/libcrypto.a
|
2016-01-12 21:25:30 +00:00
|
|
|
LIBSRC=rc2_ecb.c rc2_skey.c rc2_cbc.c rc2cfb64.c rc2ofb64.c
|
|
|
|
LIBOBJ=rc2_ecb.o rc2_skey.o rc2_cbc.o rc2cfb64.o rc2ofb64.o
|
2015-12-09 20:11:49 +00:00
|
|
|
|
|
|
|
SRC= $(LIBSRC)
|
|
|
|
|
2016-01-12 21:25:30 +00:00
|
|
|
HEADER= rc2_locl.h
|
|
|
|
|
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:
|
2016-02-18 12:17:15 +00:00
|
|
|
$(TOP)/util/domd $(CFLAG) $(INCLUDES) -- $(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.
|