]> git.ipfire.org Git - thirdparty/openssl.git/blame - crypto/lhash/Makefile.ssl
Make all configuration macros available for application by making
[thirdparty/openssl.git] / crypto / lhash / Makefile.ssl
CommitLineData
d02b48c6
RE
1#
2# SSLeay/crypto/lhash/Makefile
3#
4
5DIR= lhash
6TOP= ../..
7CC= cc
8INCLUDES=
9CFLAG=-g
e5f3045f
BM
10INSTALL_PREFIX=
11OPENSSLDIR= /usr/local/ssl
d02b48c6
RE
12INSTALLTOP=/usr/local/ssl
13MAKE= make -f Makefile.ssl
cf1b7d96
RL
14MAKEDEPPROG= makedepend
15MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
d02b48c6
RE
16MAKEFILE= Makefile.ssl
17AR= ar r
18
19CFLAGS= $(INCLUDES) $(CFLAG)
20
21GENERAL=Makefile
22TEST=
23APPS=
24
25LIB=$(TOP)/libcrypto.a
26LIBSRC=lhash.c lh_stats.c
27LIBOBJ=lhash.o lh_stats.o
28
29SRC= $(LIBSRC)
30
31EXHEADER= lhash.h
32HEADER= $(EXHEADER)
33
34ALL= $(GENERAL) $(SRC) $(HEADER)
35
36top:
37 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
38
39all: lib
40
41lib: $(LIBOBJ)
42 $(AR) $(LIB) $(LIBOBJ)
4e20a4e6
RL
43 @echo You may get an error following this line. Please ignore.
44 - $(RANLIB) $(LIB)
d02b48c6
RE
45 @touch lib
46
47files:
99aab161 48 $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
d02b48c6
RE
49
50links:
bb8f3c58 51 @$(TOP)/util/point.sh Makefile.ssl Makefile
1314c344
BM
52 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
53 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
54 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
d02b48c6
RE
55
56install:
57 @for i in $(EXHEADER) ; \
58 do \
e5f3045f
BM
59 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
60 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
d02b48c6
RE
61 done;
62
63tags:
64 ctags $(SRC)
65
66tests:
67
68lint:
69 lint -DLINT $(INCLUDES) $(SRC)>fluff
70
71depend:
f5d7a031 72 $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC)
d02b48c6
RE
73
74dclean:
99aab161 75 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
d02b48c6
RE
76 mv -f Makefile.new $(MAKEFILE)
77
78clean:
bb8f3c58 79 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
d02b48c6 80
d02b48c6 81# DO NOT DELETE THIS LINE -- make depend depends on it.
6242bb9c 82
bf57da07 83lh_stats.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
7e701817
BM
84lh_stats.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
85lh_stats.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
d6847aed 86lh_stats.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
dd9d233e 87lh_stats.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
62ab514e 88lh_stats.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
cf1b7d96 89lh_stats.o: ../cryptlib.h lh_stats.c
1c4f90a0 90lhash.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
cf1b7d96
RL
91lhash.o: ../../include/openssl/e_os2.h ../../include/openssl/lhash.h
92lhash.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
1c4f90a0 93lhash.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
cf1b7d96 94lhash.o: ../../include/openssl/symhacks.h lhash.c