Makefile.ssl 8.6 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
	@$(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 59 60

install:
	@for i in $(EXHEADER) ; \
	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 89
conf_api.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
conf_api.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
R
Richard Levitte 已提交
90
conf_api.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
R
Richard Levitte 已提交
91
conf_api.o: 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
conf_def.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
R
Richard Levitte 已提交
98
conf_def.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
99
conf_def.o: ../cryptlib.h conf_def.c conf_def.h
R
Richard Levitte 已提交
100 101 102 103
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
104
conf_err.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
R
Richard Levitte 已提交
105
conf_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
R
Richard Levitte 已提交
106
conf_err.o: conf_err.c
R
Richard Levitte 已提交
107 108 109 110
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
111
conf_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
R
Richard Levitte 已提交
112
conf_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
R
Richard Levitte 已提交
113
conf_lib.o: conf_lib.c
114
conf_mall.o: ../../e_os.h ../../include/openssl/aes.h
L
Lutz Jänicke 已提交
115 116 117 118 119 120 121
conf_mall.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
conf_mall.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
conf_mall.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
conf_mall.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
conf_mall.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
conf_mall.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
conf_mall.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
B
Bodo Möller 已提交
122 123 124 125 126 127 128
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/idea.h ../../include/openssl/lhash.h
conf_mall.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
conf_mall.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
conf_mall.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
129 130
conf_mall.o: ../../include/openssl/opensslconf.h
conf_mall.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
R
Richard Levitte 已提交
131
conf_mall.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
132 133
conf_mall.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
conf_mall.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
R
Richard Levitte 已提交
134 135 136
conf_mall.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
conf_mall.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
conf_mall.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
137 138 139
conf_mall.o: ../../include/openssl/ui_compat.h ../../include/openssl/x509.h
conf_mall.o: ../../include/openssl/x509_vfy.h ../cryptlib.h conf_mall.c
conf_mod.o: ../../e_os.h ../../include/openssl/aes.h
L
Lutz Jänicke 已提交
140 141 142 143 144 145 146
conf_mod.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
conf_mod.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
conf_mod.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
conf_mod.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
conf_mod.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
conf_mod.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
conf_mod.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
B
Bodo Möller 已提交
147 148 149 150 151 152 153
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/idea.h
conf_mod.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
conf_mod.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
conf_mod.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
conf_mod.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
154
conf_mod.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
155 156 157
conf_mod.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
conf_mod.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
conf_mod.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
158 159
conf_mod.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
conf_mod.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
160
conf_mod.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
161 162
conf_mod.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
conf_mod.o: ../cryptlib.h conf_mod.c
163
conf_sap.o: ../../e_os.h ../../include/openssl/aes.h
L
Lutz Jänicke 已提交
164 165 166 167 168 169 170
conf_sap.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
conf_sap.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
conf_sap.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
conf_sap.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
conf_sap.o: ../../include/openssl/des.h ../../include/openssl/des_old.h
conf_sap.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
conf_sap.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h
B
Bodo Möller 已提交
171 172 173 174 175 176 177 178
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/idea.h ../../include/openssl/lhash.h
conf_sap.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
conf_sap.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
conf_sap.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
conf_sap.o: ../../include/openssl/opensslconf.h
179 180
conf_sap.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
conf_sap.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
181 182
conf_sap.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
conf_sap.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
183 184 185
conf_sap.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
conf_sap.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
conf_sap.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
186 187
conf_sap.o: ../../include/openssl/ui_compat.h ../../include/openssl/x509.h
conf_sap.o: ../../include/openssl/x509_vfy.h ../cryptlib.h conf_sap.c