mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
7e70181723
in cryptlib.h (which is often included as "../cryptlib.h"), then the question remains relative to which directory this is to be interpreted. gcc went one further directory up, as intended; but makedepend thinks differently, and so probably do some C compilers. So the ../ must go away; thus e_os.h goes back into include/openssl (but I now use #include "openssl/e_os.h" instead of <openssl/e_os.h> to make the point) -- and we have another huge bunch of dependency changes. Argh.
90 lines
2.0 KiB
Makefile
90 lines
2.0 KiB
Makefile
#
|
|
# SSLeay/crypto/mdc2/Makefile
|
|
#
|
|
|
|
DIR= mdc2
|
|
TOP= ../..
|
|
CC= cc
|
|
INCLUDES=
|
|
CFLAG=-g
|
|
INSTALL_PREFIX=
|
|
OPENSSLDIR= /usr/local/ssl
|
|
INSTALLTOP=/usr/local/ssl
|
|
MAKE= make -f Makefile.ssl
|
|
MAKEDEPEND= $(TOP)/util/domd $(TOP)
|
|
MAKEFILE= Makefile.ssl
|
|
AR= ar r
|
|
|
|
CFLAGS= $(INCLUDES) $(CFLAG)
|
|
|
|
GENERAL=Makefile
|
|
TEST= mdc2test.c
|
|
APPS=
|
|
|
|
LIB=$(TOP)/libcrypto.a
|
|
LIBSRC=mdc2dgst.c mdc2_one.c
|
|
LIBOBJ=mdc2dgst.o mdc2_one.o
|
|
|
|
SRC= $(LIBSRC)
|
|
|
|
EXHEADER= mdc2.h
|
|
HEADER= $(EXHEADER)
|
|
|
|
ALL= $(GENERAL) $(SRC) $(HEADER)
|
|
|
|
top:
|
|
(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
|
|
|
|
all: lib
|
|
|
|
lib: $(LIBOBJ)
|
|
$(AR) $(LIB) $(LIBOBJ)
|
|
$(RANLIB) $(LIB)
|
|
@touch lib
|
|
|
|
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:
|
|
@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
|
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
|
|
|
mdc2_one.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
|
|
mdc2_one.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
|
|
mdc2_one.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
|
|
mdc2_one.o: ../../include/openssl/err.h ../../include/openssl/mdc2.h
|
|
mdc2_one.o: ../../include/openssl/opensslconf.h
|
|
mdc2_one.o: ../../include/openssl/opensslv.h ../../include/openssl/stack.h
|
|
mdc2_one.o: ../cryptlib.h
|
|
mdc2dgst.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
|
|
mdc2dgst.o: ../../include/openssl/mdc2.h ../../include/openssl/opensslconf.h
|