6ff9c48811
on OpenSSL locking code. Use API in some internal FIPS files. Remove redundant ENGINE defines from fips.h
73 lines
1.4 KiB
Makefile
73 lines
1.4 KiB
Makefile
#
|
|
# OpenSSL/fips/utl/Makefile
|
|
#
|
|
|
|
DIR= utl
|
|
TOP= ../..
|
|
CC= cc
|
|
INCLUDES=
|
|
CFLAG=-g
|
|
INSTALL_PREFIX=
|
|
OPENSSLDIR= /usr/local/ssl
|
|
INSTALLTOP=/usr/local/ssl
|
|
MAKEDEPPROG= makedepend
|
|
MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
|
|
MAKEFILE= Makefile
|
|
AR= ar r
|
|
|
|
CFLAGS= $(INCLUDES) $(CFLAG)
|
|
|
|
GENERAL=Makefile
|
|
TEST=
|
|
APPS=
|
|
|
|
LIB=$(TOP)/libcrypto.a
|
|
LIBSRC= fips_err.c fips_md.c fips_enc.c fips_lck.c
|
|
LIBOBJ= fips_err.o fips_md.o fips_enc.o fips_lck.o
|
|
|
|
SRC= $(LIBSRC)
|
|
|
|
EXHEADER=
|
|
HEADER= $(EXHEADER)
|
|
|
|
ALL= $(GENERAL) $(SRC) $(HEADER)
|
|
|
|
top:
|
|
(cd $(TOP); $(MAKE) DIRS=fips FDIRS=$(DIR) sub_all)
|
|
|
|
all: lib
|
|
|
|
lib: $(LIBOBJ)
|
|
@echo $(LIBOBJ) > lib
|
|
|
|
files:
|
|
$(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
|
|
|
|
links:
|
|
@$(PERL) $(TOP)/util/mklink.pl $(TOP)/include/openssl $(EXHEADER)
|
|
@$(PERL) $(TOP)/util/mklink.pl $(TOP)/test $(TEST)
|
|
@$(PERL) $(TOP)/util/mklink.pl $(TOP)/apps $(APPS)
|
|
|
|
install:
|
|
@headerlist="$(EXHEADER)"; for i in $$headerlist; \
|
|
do \
|
|
(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
|
|
chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
|
|
done
|
|
|
|
tags:
|
|
ctags $(SRC)
|
|
|
|
tests:
|
|
|
|
depend:
|
|
$(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(SRC) $(TEST)
|
|
|
|
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
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
|
|