2 # SSLeay/crypto/dh/Makefile
8 INCLUDES= -I.. -I../../include
10 INSTALLTOP=/usr/local/ssl
11 MAKE= make -f Makefile.ssl
12 MAKEDEPEND= $(TOP)/util/domd $(TOP)
13 MAKEFILE= Makefile.ssl
16 CFLAGS= $(INCLUDES) $(CFLAG)
24 LIB=$(TOP)/libcrypto.a
25 LIBSRC= dh_gen.c dh_key.c dh_lib.c dh_check.c $(ERRC).c
26 LIBOBJ= dh_gen.o dh_key.o dh_lib.o dh_check.o $(ERRC).o
33 ALL= $(GENERAL) $(SRC) $(HEADER)
36 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
41 $(AR) $(LIB) $(LIBOBJ)
42 sh $(TOP)/util/ranlib.sh $(LIB)
46 perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
50 $(TOP)/util/point.sh Makefile.ssl Makefile ;
51 $(TOP)/util/mklink.sh ../../include $(EXHEADER)
52 $(TOP)/util/mklink.sh ../../test $(TEST)
53 $(TOP)/util/mklink.sh ../../apps $(APPS)
56 @for i in $(EXHEADER) ; \
58 (cp $$i $(INSTALLTOP)/include/$$i; \
59 chmod 644 $(INSTALLTOP)/include/$$i ); \
68 lint -DLINT $(INCLUDES) $(SRC)>fluff
71 $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC)
74 perl -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
75 mv -f Makefile.new $(MAKEFILE)
78 /bin/rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
83 perl $(TOP)/util/err-ins.pl $(ERR).err $(ERR).h
84 perl ../err/err_genc.pl -s $(ERR).h $(ERRC).c
86 # DO NOT DELETE THIS LINE -- make depend depends on it.
88 dh_check.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
89 dh_check.o: ../../include/e_os.h ../../include/err.h ../../include/stack.h
90 dh_check.o: ../cryptlib.h ../crypto.h dh.h
91 dh_err.o: ../../include/err.h dh.h
92 dh_gen.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
93 dh_gen.o: ../../include/e_os.h ../../include/err.h ../../include/stack.h
94 dh_gen.o: ../cryptlib.h ../crypto.h dh.h
95 dh_key.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
96 dh_key.o: ../../include/e_os.h ../../include/err.h ../../include/rand.h
97 dh_key.o: ../../include/stack.h ../cryptlib.h ../crypto.h dh.h
98 dh_lib.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
99 dh_lib.o: ../../include/e_os.h ../../include/err.h ../../include/stack.h
100 dh_lib.o: ../cryptlib.h ../crypto.h dh.h