2 # SSLeay/crypto/rand/Makefile
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)
22 LIB=$(TOP)/libcrypto.a
23 LIBSRC=md_rand.c randfile.c rand_lib.c
24 LIBOBJ=md_rand.o randfile.o rand_lib.o
31 ALL= $(GENERAL) $(SRC) $(HEADER)
34 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
39 $(AR) $(LIB) $(LIBOBJ)
40 sh $(TOP)/util/ranlib.sh $(LIB)
44 perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
47 @$(TOP)/util/point.sh Makefile.ssl Makefile
48 @$(TOP)/util/mklink.sh ../../include $(EXHEADER)
49 @$(TOP)/util/mklink.sh ../../test $(TEST)
50 @$(TOP)/util/mklink.sh ../../apps $(APPS)
53 @for i in $(EXHEADER) ; \
55 (cp $$i $(INSTALLTOP)/include/$$i; \
56 chmod 644 $(INSTALLTOP)/include/$$i ); \
65 lint -DLINT $(INCLUDES) $(SRC)>fluff
68 $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC)
71 perl -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
72 mv -f Makefile.new $(MAKEFILE)
75 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
79 # DO NOT DELETE THIS LINE -- make depend depends on it.
81 md_rand.o: ../../include/e_os.h ../../include/md5.h ../../include/stack.h
82 md_rand.o: ../crypto.h ../opensslv.h rand.h
84 randfile.o: ../../include/e_os.h rand.h