2015-12-09 20:11:49 +00:00
|
|
|
#
|
2016-01-12 21:25:30 +00:00
|
|
|
# OpenSSL/crypto/idea/Makefile
|
2015-12-09 20:11:49 +00:00
|
|
|
#
|
|
|
|
|
2016-01-12 21:25:30 +00:00
|
|
|
DIR= idea
|
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=i_cbc.c i_cfb64.c i_ofb64.c i_ecb.c i_skey.c
|
|
|
|
LIBOBJ=i_cbc.o i_cfb64.o i_ofb64.o i_ecb.o i_skey.o
|
2015-12-09 20:11:49 +00:00
|
|
|
|
|
|
|
SRC= $(LIBSRC)
|
|
|
|
|
2016-01-12 21:25:30 +00:00
|
|
|
HEADER= idea_lcl.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:
|
|
|
|
@[ -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.
|