Makefile.ssl 6.7 KB
Newer Older
1 2 3 4 5 6 7
#
# SSLeay/crypto/conf/Makefile
#

DIR=	conf
TOP=	../..
CC=	cc
8
INCLUDES= -I.. -I$(TOP) -I../../include
9
CFLAG=-g
10 11
INSTALL_PREFIX=
OPENSSLDIR=     /usr/local/ssl
12 13
INSTALLTOP=/usr/local/ssl
MAKE=		make -f Makefile.ssl
14 15
MAKEDEPPROG=	makedepend
MAKEDEPEND=	$(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
16 17 18 19 20 21 22 23 24 25
MAKEFILE=	Makefile.ssl
AR=		ar r

CFLAGS= $(INCLUDES) $(CFLAG)

GENERAL=Makefile
TEST=
APPS=

LIB=$(TOP)/libcrypto.a
26 27
LIBSRC= conf_err.c conf_lib.c conf_api.c conf_def.c conf_mod.c \
	 conf_mall.c conf_sap.c
28

29 30
LIBOBJ=	conf_err.o conf_lib.o conf_api.o conf_def.o conf_mod.o \
	conf_mall.o conf_sap.o
31 32 33

SRC= $(LIBSRC)

34 35
EXHEADER= conf.h conf_api.h
HEADER=	conf_def.h $(EXHEADER)
36 37 38 39 40 41 42 43 44 45

ALL=    $(GENERAL) $(SRC) $(HEADER)

top:
	(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)

all:	lib

lib:	$(LIBOBJ)
	$(AR) $(LIB) $(LIBOBJ)
46
	$(RANLIB) $(LIB) || echo Never mind.
47 48 49
	@touch lib

files:
50
	$(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
51 52

links:
53
	@sh $(TOP)/util/point.sh Makefile.ssl Makefile
54 55 56
	@$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
	@$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
	@$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
57 58

install:
59
	@headerlist="$(EXHEADER)"; for i in $$headerlist ; \
60
	do  \
61 62
	(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
	chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
63 64 65 66 67 68 69 70 71 72 73
	done;

tags:
	ctags $(SRC)

tests:

lint:
	lint -DLINT $(INCLUDES) $(SRC)>fluff

depend:
74
	$(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(LIBSRC)
75 76

dclean:
77
	$(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
78 79 80
	mv -f Makefile.new $(MAKEFILE)

clean:
81
	rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
82 83

# DO NOT DELETE THIS LINE -- make depend depends on it.
B
Ben Laurie 已提交
84

85 86 87
conf_api.o: ../../e_os.h ../../include/openssl/bio.h
conf_api.o: ../../include/openssl/conf.h ../../include/openssl/conf_api.h
conf_api.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
88
conf_api.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
89 90 91
conf_api.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
conf_api.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
conf_api.o: ../../include/openssl/symhacks.h conf_api.c
92 93 94 95 96
conf_def.o: ../../e_os.h ../../include/openssl/bio.h
conf_def.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h
conf_def.o: ../../include/openssl/conf_api.h ../../include/openssl/crypto.h
conf_def.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
conf_def.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
97 98 99 100
conf_def.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
conf_def.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
conf_def.o: ../../include/openssl/symhacks.h ../cryptlib.h conf_def.c
conf_def.o: conf_def.h
R
Richard Levitte 已提交
101 102 103 104
conf_err.o: ../../include/openssl/bio.h ../../include/openssl/conf.h
conf_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
conf_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
conf_err.o: ../../include/openssl/opensslconf.h
105 106 107
conf_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
conf_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
conf_err.o: ../../include/openssl/symhacks.h conf_err.c
R
Richard Levitte 已提交
108 109 110 111
conf_lib.o: ../../include/openssl/bio.h ../../include/openssl/conf.h
conf_lib.o: ../../include/openssl/conf_api.h ../../include/openssl/crypto.h
conf_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
conf_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
112 113 114
conf_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
conf_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
conf_lib.o: ../../include/openssl/symhacks.h conf_lib.c
R
Richard Levitte 已提交
115
conf_mall.o: ../../e_os.h ../../include/openssl/asn1.h
116 117 118 119 120 121 122 123
conf_mall.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
conf_mall.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
conf_mall.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
conf_mall.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
conf_mall.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
conf_mall.o: ../../include/openssl/err.h ../../include/openssl/evp.h
conf_mall.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
conf_mall.o: ../../include/openssl/objects.h
124 125
conf_mall.o: ../../include/openssl/opensslconf.h
conf_mall.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
G
Geoff Thorpe 已提交
126
conf_mall.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
R
Richard Levitte 已提交
127
conf_mall.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
G
Geoff Thorpe 已提交
128
conf_mall.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
R
Richard Levitte 已提交
129
conf_mall.o: ../../include/openssl/x509_vfy.h ../cryptlib.h conf_mall.c
R
Richard Levitte 已提交
130
conf_mod.o: ../../e_os.h ../../include/openssl/asn1.h
131 132 133 134 135 136 137 138
conf_mod.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
conf_mod.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
conf_mod.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
conf_mod.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
conf_mod.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
conf_mod.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
conf_mod.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
conf_mod.o: ../../include/openssl/opensslconf.h
139
conf_mod.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
G
Geoff Thorpe 已提交
140 141 142 143
conf_mod.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
conf_mod.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
conf_mod.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
conf_mod.o: ../../include/openssl/x509_vfy.h ../cryptlib.h conf_mod.c
R
Richard Levitte 已提交
144
conf_sap.o: ../../e_os.h ../../include/openssl/asn1.h
145 146 147 148 149 150 151 152
conf_sap.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
conf_sap.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
conf_sap.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
conf_sap.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
conf_sap.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
conf_sap.o: ../../include/openssl/err.h ../../include/openssl/evp.h
conf_sap.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
conf_sap.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
153
conf_sap.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
G
Geoff Thorpe 已提交
154
conf_sap.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
155
conf_sap.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
G
Geoff Thorpe 已提交
156
conf_sap.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
R
Richard Levitte 已提交
157
conf_sap.o: ../../include/openssl/x509_vfy.h ../cryptlib.h conf_sap.c