2015-12-10 04:11:49 +08:00
|
|
|
#
|
2016-01-13 05:25:30 +08:00
|
|
|
# crypto/seed/Makefile
|
2015-12-10 04:11:49 +08:00
|
|
|
#
|
|
|
|
|
2016-01-13 05:25:30 +08:00
|
|
|
DIR= seed
|
2015-12-10 04:11:49 +08:00
|
|
|
TOP= ../..
|
|
|
|
CC= cc
|
2016-01-13 05:25:30 +08:00
|
|
|
CPP= $(CC) -E
|
2015-12-10 04:11:49 +08:00
|
|
|
INCLUDES=
|
|
|
|
CFLAG=-g
|
2016-01-13 05:25:30 +08:00
|
|
|
MAKEFILE= Makefile
|
2015-12-10 04:11:49 +08:00
|
|
|
AR= ar r
|
|
|
|
|
2016-02-20 05:02:41 +08:00
|
|
|
CFLAGS= $(INCLUDES) $(CFLAG) $(SHARED_CFLAG)
|
2015-12-10 04:11:49 +08:00
|
|
|
|
|
|
|
GENERAL=Makefile
|
|
|
|
|
|
|
|
LIB=$(TOP)/libcrypto.a
|
2016-01-13 05:25:30 +08:00
|
|
|
LIBSRC=seed.c seed_ecb.c seed_cbc.c seed_cfb.c seed_ofb.c
|
|
|
|
LIBOBJ=seed.o seed_ecb.o seed_cbc.o seed_cfb.o seed_ofb.o
|
2015-12-10 04:11:49 +08:00
|
|
|
|
|
|
|
SRC= $(LIBSRC)
|
|
|
|
|
2016-01-13 05:25:30 +08:00
|
|
|
HEADER= seed_locl.h
|
|
|
|
|
2015-12-10 04:11:49 +08: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
|
|
|
|
|
|
|
|
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:
|
2016-01-13 05:25:30 +08:00
|
|
|
rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
|
2015-12-10 04:11:49 +08:00
|
|
|
|
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|