1999-01-24 08:50:01 +08:00
|
|
|
#
|
|
|
|
# SSLeay/crypto/x509v3/Makefile
|
|
|
|
#
|
|
|
|
|
|
|
|
DIR= x509v3
|
|
|
|
TOP= ../..
|
|
|
|
CC= cc
|
|
|
|
INCLUDES= -I.. -I../../include
|
|
|
|
CFLAG=-g
|
|
|
|
INSTALLTOP=/usr/local/ssl
|
|
|
|
MAKE= make -f Makefile.ssl
|
|
|
|
MAKEDEPEND= $(TOP)/util/domd $(TOP)
|
|
|
|
MAKEFILE= Makefile.ssl
|
|
|
|
AR= ar r
|
|
|
|
|
|
|
|
CFLAGS= $(INCLUDES) $(CFLAG)
|
|
|
|
|
|
|
|
ERR=x509v3
|
|
|
|
ERRC=v3err
|
|
|
|
GENERAL=Makefile README
|
|
|
|
TEST=
|
|
|
|
APPS=
|
|
|
|
|
|
|
|
LIB=$(TOP)/libcrypto.a
|
1999-02-06 20:35:53 +08:00
|
|
|
LIBSRC= v3_bcons.c v3_bitst.c v3_conf.c v3_extku.c v3_ia5.c \
|
1999-02-18 07:22:57 +08:00
|
|
|
v3_lib.c v3_prn.c v3_utl.c v3err.c v3_genn.c v3_alt.c v3_skey.c v3_akey.c \
|
1999-02-20 09:15:41 +08:00
|
|
|
v3_pku.c v3_int.c v3_enum.c
|
1999-02-06 20:35:53 +08:00
|
|
|
LIBOBJ= v3_bcons.o v3_bitst.o v3_conf.o v3_extku.o v3_ia5.o v3_lib.o \
|
1999-02-19 09:29:29 +08:00
|
|
|
v3_prn.o v3_utl.o v3err.o v3_genn.o v3_alt.o v3_skey.o v3_akey.o v3_pku.o \
|
1999-02-20 09:15:41 +08:00
|
|
|
v3_int.o v3_enum.o
|
1999-01-24 08:50:01 +08:00
|
|
|
|
|
|
|
SRC= $(LIBSRC)
|
|
|
|
|
|
|
|
EXHEADER= x509v3.h
|
|
|
|
HEADER= $(EXHEADER)
|
|
|
|
|
|
|
|
ALL= $(GENERAL) $(SRC) $(HEADER)
|
|
|
|
|
|
|
|
top:
|
|
|
|
(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
|
|
|
|
|
|
|
|
all: lib
|
|
|
|
|
|
|
|
lib: $(LIBOBJ)
|
|
|
|
$(AR) $(LIB) $(LIBOBJ)
|
|
|
|
sh $(TOP)/util/ranlib.sh $(LIB)
|
|
|
|
@touch lib
|
|
|
|
|
|
|
|
files:
|
|
|
|
perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
|
|
|
|
|
|
|
|
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)
|
1999-01-24 08:50:01 +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:
|
|
|
|
perl -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
|
|
|
|
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
|
1999-01-24 08:50:01 +08:00
|
|
|
|
|
|
|
errors: $(ERRC).c
|
|
|
|
|
|
|
|
$(ERRC).c: $(ERR).err
|
|
|
|
perl $(TOP)/util/err-ins.pl $(ERR).err $(ERR).h
|
|
|
|
perl ../err/err_genc.pl -s $(ERR).h $(ERRC).c
|
|
|
|
|
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|