]> git.ipfire.org Git - thirdparty/openssl.git/blame - crypto/objects/Makefile.ssl
Don't install e_os.h in include/openssl, use it only as a local
[thirdparty/openssl.git] / crypto / objects / Makefile.ssl
CommitLineData
d02b48c6
RE
1#
2# SSLeay/crypto/objects/Makefile
3#
4
5DIR= objects
6TOP= ../..
7CC= cc
8INCLUDES= -I.. -I../../include
9CFLAG=-g
e5f3045f
BM
10INSTALL_PREFIX=
11OPENSSLDIR= /usr/local/ssl
d02b48c6
RE
12INSTALLTOP=/usr/local/ssl
13MAKE= make -f Makefile.ssl
8039257d 14MAKEDEPEND= $(TOP)/util/domd $(TOP)
d02b48c6
RE
15MAKEFILE= Makefile.ssl
16AR= ar r
17
18CFLAGS= $(INCLUDES) $(CFLAG)
19
d02b48c6
RE
20GENERAL=Makefile README
21TEST=
22APPS=
23
24LIB=$(TOP)/libcrypto.a
73934800
DSH
25LIBSRC= o_names.c obj_dat.c obj_lib.c obj_err.c
26LIBOBJ= o_names.o obj_dat.o obj_lib.o obj_err.o
d02b48c6
RE
27
28SRC= $(LIBSRC)
29
30EXHEADER= objects.h
31HEADER= $(EXHEADER) obj_dat.h
32
33ALL= $(GENERAL) $(SRC) $(HEADER)
34
35top:
36 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
37
38all: obj_dat.h lib
39
40obj_dat.h: objects.h obj_dat.pl
99aab161 41 $(PERL) ./obj_dat.pl < objects.h > obj_dat.h
d02b48c6
RE
42
43lib: $(LIBOBJ)
44 $(AR) $(LIB) $(LIBOBJ)
99aab161 45 $(RANLIB) $(LIB)
d02b48c6
RE
46 @touch lib
47
48files:
99aab161 49 $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
d02b48c6
RE
50
51links:
bb8f3c58 52 @$(TOP)/util/point.sh Makefile.ssl Makefile
1314c344
BM
53 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
54 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
55 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
d02b48c6
RE
56
57install:
58 @for i in $(EXHEADER) ; \
59 do \
e5f3045f
BM
60 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
61 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
d02b48c6
RE
62 done;
63
64tags:
65 ctags $(SRC)
66
67tests:
68
69lint:
70 lint -DLINT $(INCLUDES) $(SRC)>fluff
71
72depend:
f5d7a031 73 $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC)
d02b48c6
RE
74
75dclean:
99aab161 76 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
d02b48c6
RE
77 mv -f Makefile.new $(MAKEFILE)
78
79clean:
bb8f3c58 80 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
d02b48c6 81
d02b48c6 82# DO NOT DELETE THIS LINE -- make depend depends on it.
6242bb9c 83
bf57da07
BM
84o_names.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
85o_names.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
86o_names.o: ../../include/openssl/lhash.h ../../include/openssl/objects.h
87o_names.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
5b1b0446 88o_names.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
bf57da07
BM
89obj_dat.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
90obj_dat.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
17e3dd1c
BM
91obj_dat.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
92obj_dat.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
93obj_dat.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
94obj_dat.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
95obj_dat.o: ../../include/openssl/stack.h ../cryptlib.h ../e_os.h obj_dat.h
bf57da07
BM
96obj_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
97obj_err.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
98obj_err.o: ../../include/openssl/err.h ../../include/openssl/objects.h
99obj_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
5b1b0446 100obj_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
bf57da07
BM
101obj_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
102obj_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
17e3dd1c
BM
103obj_lib.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
104obj_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
105obj_lib.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
106obj_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
107obj_lib.o: ../../include/openssl/stack.h ../cryptlib.h ../e_os.h