2 # SSLeay/crypto/idea/Makefile
10 INSTALLTOP=/usr/local/ssl
11 MAKE= make -f Makefile.ssl
12 MAKEDEPEND= makedepend -f Makefile.ssl
13 MAKEFILE= Makefile.ssl
16 CFLAGS= $(INCLUDES) $(CFLAG)
22 LIB=$(TOP)/libcrypto.a
23 LIBSRC=i_cbc.c i_cfb64.c i_ofb64.c i_ecb.c i_skey.c
24 LIBOBJ=i_cbc.o i_cfb64.o i_ofb64.o i_ecb.o i_skey.o
29 HEADER= idea_lcl.h $(EXHEADER)
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
48 $(TOP)/util/point.sh Makefile.ssl Makefile ;
49 $(TOP)/util/mklink.sh ../../include $(EXHEADER)
50 $(TOP)/util/mklink.sh ../../test $(TEST)
51 $(TOP)/util/mklink.sh ../../apps $(APPS)
54 @for i in $(EXHEADER) ; \
56 (cp $$i $(INSTALLTOP)/include/$$i; \
57 chmod 644 $(INSTALLTOP)/include/$$i ); \
66 lint -DLINT $(INCLUDES) $(SRC)>fluff
69 $(MAKEDEPEND) $(INCLUDES) $(PROGS) $(LIBSRC)
72 perl -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
73 mv -f Makefile.new $(MAKEFILE)
76 /bin/rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
80 # DO NOT DELETE THIS LINE -- make depend depends on it.