2015-12-10 04:11:49 +08:00
|
|
|
#
|
2016-01-13 05:25:30 +08:00
|
|
|
# OpenSSL/crypto/cmac/Makefile
|
2015-12-10 04:11:49 +08:00
|
|
|
#
|
|
|
|
|
2016-01-13 05:25:30 +08:00
|
|
|
DIR= cmac
|
2015-12-10 04:11:49 +08:00
|
|
|
TOP= ../..
|
|
|
|
CC= cc
|
|
|
|
INCLUDES=
|
|
|
|
CFLAG=-g
|
2016-01-13 05:25:30 +08:00
|
|
|
MAKEFILE= Makefile
|
2015-12-10 04:11:49 +08:00
|
|
|
AR= ar r
|
|
|
|
|
|
|
|
CFLAGS= $(INCLUDES) $(CFLAG)
|
|
|
|
|
|
|
|
GENERAL=Makefile
|
|
|
|
|
|
|
|
LIB=$(TOP)/libcrypto.a
|
2016-01-13 05:25:30 +08:00
|
|
|
LIBSRC=cmac.c cm_ameth.c cm_pmeth.c
|
|
|
|
LIBOBJ=cmac.o cm_ameth.o cm_pmeth.o
|
2015-12-10 04:11:49 +08:00
|
|
|
|
|
|
|
SRC= $(LIBSRC)
|
|
|
|
|
2016-01-13 05:25:30 +08:00
|
|
|
HEADER=
|
|
|
|
|
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
|
|
|
|
|
|
|
|
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:
|
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.
|