1998-12-21 18:52:47 +08:00
|
|
|
#
|
|
|
|
# SSLeay/crypto/err/Makefile
|
|
|
|
#
|
|
|
|
|
1998-12-21 18:56:39 +08:00
|
|
|
DIR= err
|
1998-12-21 18:52:47 +08:00
|
|
|
TOP= ../..
|
|
|
|
CC= cc
|
|
|
|
INCLUDES= -I.. -I../../include
|
|
|
|
CFLAG=-g
|
|
|
|
INSTALLTOP=/usr/local/ssl
|
|
|
|
MAKE= make -f Makefile.ssl
|
1999-01-20 05:36:31 +08:00
|
|
|
MAKEDEPEND= $(TOP)/util/domd $(TOP)
|
1998-12-21 18:52:47 +08:00
|
|
|
MAKEFILE= Makefile.ssl
|
|
|
|
AR= ar r
|
|
|
|
|
|
|
|
CFLAGS= $(INCLUDES) $(CFLAG)
|
|
|
|
|
|
|
|
GENERAL=Makefile
|
|
|
|
TEST=
|
|
|
|
APPS=
|
|
|
|
|
|
|
|
LIB=$(TOP)/libcrypto.a
|
|
|
|
LIBSRC=err.c err_all.c err_prn.c
|
|
|
|
LIBOBJ=err.o err_all.o err_prn.o
|
|
|
|
|
|
|
|
SRC= $(LIBSRC)
|
|
|
|
|
|
|
|
EXHEADER= err.h
|
|
|
|
HEADER= $(EXHEADER)
|
|
|
|
|
|
|
|
ALL= $(GENERAL) $(SRC) $(HEADER)
|
|
|
|
|
|
|
|
top:
|
|
|
|
(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
|
|
|
|
|
|
|
|
all: lib
|
|
|
|
|
|
|
|
lib: $(LIBOBJ)
|
|
|
|
$(AR) $(LIB) $(LIBOBJ)
|
1999-04-01 20:34:33 +08:00
|
|
|
$(RANLIB) $(LIB)
|
1998-12-21 18:52:47 +08:00
|
|
|
@touch lib
|
|
|
|
|
|
|
|
files:
|
1999-04-01 20:34:33 +08:00
|
|
|
$(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
links:
|
1999-03-06 20:32:06 +08:00
|
|
|
@$(TOP)/util/point.sh Makefile.ssl Makefile
|
|
|
|
@$(TOP)/util/mklink.sh ../../include $(EXHEADER)
|
|
|
|
@$(TOP)/util/mklink.sh ../../test $(TEST)
|
|
|
|
@$(TOP)/util/mklink.sh ../../apps $(APPS)
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
install:
|
|
|
|
@for i in $(EXHEADER) ; \
|
|
|
|
do \
|
|
|
|
(cp $$i $(INSTALLTOP)/include/$$i; \
|
|
|
|
chmod 644 $(INSTALLTOP)/include/$$i ); \
|
|
|
|
done;
|
|
|
|
|
|
|
|
tags:
|
|
|
|
ctags $(SRC)
|
|
|
|
|
|
|
|
tests:
|
|
|
|
|
|
|
|
lint:
|
|
|
|
lint -DLINT $(INCLUDES) $(SRC)>fluff
|
|
|
|
|
|
|
|
depend:
|
|
|
|
$(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC)
|
|
|
|
|
|
|
|
dclean:
|
1999-04-01 20:34:33 +08:00
|
|
|
$(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
|
1998-12-21 18:52:47 +08:00
|
|
|
mv -f Makefile.new $(MAKEFILE)
|
|
|
|
|
|
|
|
clean:
|
1999-03-06 20:32:06 +08:00
|
|
|
rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
|
1998-12-21 18:52:47 +08:00
|
|
|
|
|
|
|
errors:
|
|
|
|
|
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
1999-03-06 22:32:48 +08:00
|
|
|
|
|
|
|
err.o: ../../include/bio.h ../../include/buffer.h ../../include/e_os.h
|
|
|
|
err.o: ../../include/lhash.h ../../include/stack.h ../cryptlib.h ../crypto.h
|
1999-03-22 20:22:14 +08:00
|
|
|
err.o: ../opensslv.h err.h
|
1999-03-06 22:32:48 +08:00
|
|
|
err_all.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
|
|
|
|
err_all.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
|
|
|
|
err_all.o: ../../include/conf.h ../../include/des.h ../../include/dh.h
|
|
|
|
err_all.o: ../../include/dsa.h ../../include/evp.h ../../include/idea.h
|
|
|
|
err_all.o: ../../include/lhash.h ../../include/md2.h ../../include/md5.h
|
|
|
|
err_all.o: ../../include/mdc2.h ../../include/objects.h ../../include/pem2.h
|
|
|
|
err_all.o: ../../include/pkcs7.h ../../include/rc2.h ../../include/rc4.h
|
|
|
|
err_all.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
|
|
|
|
err_all.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
|
1999-03-22 20:22:14 +08:00
|
|
|
err_all.o: ../../include/x509_vfy.h ../../include/x509v3.h ../crypto.h
|
|
|
|
err_all.o: ../opensslv.h err.h
|
1999-03-06 22:32:48 +08:00
|
|
|
err_prn.o: ../../include/bio.h ../../include/buffer.h ../../include/e_os.h
|
|
|
|
err_prn.o: ../../include/lhash.h ../../include/stack.h ../cryptlib.h
|
1999-03-22 20:22:14 +08:00
|
|
|
err_prn.o: ../crypto.h ../opensslv.h err.h
|