| OLD | NEW | 
 | (Empty) | 
|   1 # |  | 
|   2 # OpenSSL/crypto/chacha/Makefile |  | 
|   3 # |  | 
|   4  |  | 
|   5 DIR=    chacha |  | 
|   6 TOP=    ../.. |  | 
|   7 CC=     cc |  | 
|   8 CPP=    $(CC) -E |  | 
|   9 INCLUDES= |  | 
|  10 CFLAG=-g |  | 
|  11 AR=             ar r |  | 
|  12  |  | 
|  13 CFLAGS= $(INCLUDES) $(CFLAG) |  | 
|  14 ASFLAGS= $(INCLUDES) $(ASFLAG) |  | 
|  15 AFLAGS= $(ASFLAGS) |  | 
|  16  |  | 
|  17 CHACHA_ENC=chacha_enc.o |  | 
|  18  |  | 
|  19 GENERAL=Makefile |  | 
|  20 TEST=chachatest.o |  | 
|  21 APPS= |  | 
|  22  |  | 
|  23 LIB=$(TOP)/libcrypto.a |  | 
|  24 LIBSRC= |  | 
|  25 LIBOBJ=$(CHACHA_ENC) |  | 
|  26  |  | 
|  27 SRC= $(LIBSRC) |  | 
|  28  |  | 
|  29 EXHEADER=chacha.h |  | 
|  30 HEADER= $(EXHEADER) |  | 
|  31  |  | 
|  32 ALL=    $(GENERAL) $(SRC) $(HEADER) |  | 
|  33  |  | 
|  34 top: |  | 
|  35         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) |  | 
|  36  |  | 
|  37 all:    lib |  | 
|  38  |  | 
|  39 lib:    $(LIBOBJ) |  | 
|  40         $(AR) $(LIB) $(LIBOBJ) |  | 
|  41         $(RANLIB) $(LIB) || echo Never mind. |  | 
|  42         @touch lib |  | 
|  43  |  | 
|  44 files: |  | 
|  45         $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO |  | 
|  46  |  | 
|  47 links: |  | 
|  48         @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) |  | 
|  49         @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) |  | 
|  50         @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) |  | 
|  51  |  | 
|  52 install: |  | 
|  53         @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile... |  | 
|  54         @headerlist="$(EXHEADER)"; for i in $$headerlist ; \ |  | 
|  55         do  \ |  | 
|  56         (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ |  | 
|  57         chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ |  | 
|  58         done; |  | 
|  59  |  | 
|  60 tags: |  | 
|  61         ctags $(SRC) |  | 
|  62  |  | 
|  63 tests: |  | 
|  64  |  | 
|  65 lint: |  | 
|  66         lint -DLINT $(INCLUDES) $(SRC)>fluff |  | 
|  67  |  | 
|  68 depend: |  | 
|  69         @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile... |  | 
|  70         $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) |  | 
|  71  |  | 
|  72 dclean: |  | 
|  73         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKE
    FILE) >Makefile.new |  | 
|  74         mv -f Makefile.new $(MAKEFILE) |  | 
|  75  |  | 
|  76 clean: |  | 
|  77         rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff |  | 
|  78  |  | 
|  79 # DO NOT DELETE THIS LINE -- make depend depends on it. |  | 
|  80  |  | 
| OLD | NEW |