2000-10-14 20:09:54 +00:00
|
|
|
#
|
2001-03-05 20:31:49 +00:00
|
|
|
# crypto/rijndael/Makefile
|
2000-10-14 20:09:54 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DIR= rijndael
|
|
|
|
TOP= ../..
|
|
|
|
CC= cc
|
|
|
|
CPP= $(CC) -E
|
|
|
|
INCLUDES=
|
|
|
|
CFLAG=-g
|
|
|
|
INSTALL_PREFIX=
|
|
|
|
OPENSSLDIR= /usr/local/ssl
|
|
|
|
INSTALLTOP=/usr/local/ssl
|
|
|
|
MAKE= make -f Makefile.ssl
|
2001-02-19 16:06:34 +00:00
|
|
|
MAKEDEPPROG= makedepend
|
|
|
|
MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
|
2000-10-14 20:09:54 +00:00
|
|
|
MAKEFILE= Makefile.ssl
|
|
|
|
AR= ar r
|
|
|
|
|
|
|
|
RD_ENC= rd_enc.o
|
|
|
|
# or use
|
|
|
|
#DES_ENC= bx86-elf.o
|
|
|
|
|
2001-02-08 11:15:50 +00:00
|
|
|
# CFLAGS= -mpentiumpro $(INCLUDES) $(CFLAG) -O3 -fexpensive-optimizations -funroll-loops -fforce-addr
|
|
|
|
CFLAGS= $(INCLUDES) $(CFLAG)
|
2000-10-14 20:09:54 +00:00
|
|
|
|
|
|
|
GENERAL=Makefile
|
|
|
|
TEST=
|
|
|
|
APPS=
|
|
|
|
|
|
|
|
LIB=$(TOP)/libcrypto.a
|
2000-11-12 22:32:18 +00:00
|
|
|
LIBSRC=rd_fst.c
|
|
|
|
LIBOBJ=rd_fst.o
|
2000-10-14 20:09:54 +00:00
|
|
|
|
|
|
|
SRC= $(LIBSRC)
|
|
|
|
|
2000-11-12 22:32:18 +00:00
|
|
|
EXHEADER=rd_fst.h rijndael.h
|
2000-10-14 20:09:54 +00:00
|
|
|
|
|
|
|
top:
|
|
|
|
(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
|
|
|
|
|
|
|
|
all: lib
|
|
|
|
|
|
|
|
lib: $(LIBOBJ)
|
|
|
|
$(AR) $(LIB) $(LIBOBJ)
|
|
|
|
$(RANLIB) $(LIB)
|
|
|
|
@touch lib
|
|
|
|
|
2001-02-06 14:09:13 +00:00
|
|
|
$(LIBOBJ): $(LIBSRC)
|
|
|
|
|
2000-10-14 20:09:54 +00:00
|
|
|
files:
|
|
|
|
$(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
|
|
|
|
|
|
|
|
links:
|
|
|
|
@$(TOP)/util/point.sh Makefile.ssl Makefile
|
|
|
|
@$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
|
|
|
|
@$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
|
|
|
|
@$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
|
|
|
|
|
|
|
|
install: installs
|
|
|
|
|
|
|
|
installs:
|
|
|
|
@for i in $(EXHEADER) ; \
|
|
|
|
do \
|
|
|
|
(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
|
|
|
|
chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
|
|
|
|
done;
|
|
|
|
|
|
|
|
tags:
|
|
|
|
ctags $(SRC)
|
|
|
|
|
|
|
|
tests:
|
|
|
|
|
|
|
|
lint:
|
|
|
|
lint -DLINT $(INCLUDES) $(SRC)>fluff
|
|
|
|
|
|
|
|
depend:
|
|
|
|
$(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC)
|
|
|
|
|
|
|
|
dclean:
|
|
|
|
$(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
|
|
|
|
mv -f Makefile.new $(MAKEFILE)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
|
|
|
|
|
2001-02-19 16:06:34 +00:00
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
2000-10-14 20:09:54 +00:00
|
|
|
|
2001-07-31 17:07:24 +00:00
|
|
|
rd_fst.o: rd_fst.c rd_fst.h
|