emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Move sha1 to C?


From: Leo
Subject: Re: Move sha1 to C?
Date: Tue, 24 May 2011 02:23:52 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3.50 (Mac OS X 10.6.7)

On 2011-05-24 02:12 +0800, Eli Zaretskii wrote:
> For src/makefile.w32-in, yes.  For lib/makefile.w32-in, sha1.c should
> have its prerequisites added, and sha1.$(O) added to GNULIBOBJS.
>
> TIA

Something like the following?

=== modified file 'lib/makefile.w32-in'
--- lib/makefile.w32-in 2011-04-06 16:05:49 +0000
+++ lib/makefile.w32-in 2011-05-23 18:17:52 +0000
@@ -29,6 +29,7 @@
             $(BLD)/strftime.$(O) \
             $(BLD)/time_r.$(O) \
             $(BLD)/md5.$(O) \
+            $(BLD)/sha1.$(O) \
             $(BLD)/filemode.$(O)
 
 #
@@ -110,6 +111,15 @@
        $(EMACS_ROOT)/src/m/intel386.h \
        $(EMACS_ROOT)/src/config.h
 
+$(BLD)/sha1.$(O) : \
+       $(SRC)/sha1.c \
+       $(SRC)/sha1.h \
+       $(EMACS_ROOT)/nt/inc/stdint.h \
+       $(EMACS_ROOT)/nt/inc/sys/stat.h \
+       $(EMACS_ROOT)/src/s/ms-w32.h \
+       $(EMACS_ROOT)/src/m/intel386.h \
+       $(EMACS_ROOT)/src/config.h
+
 $(BLD)/filemode.$(O) : \
        $(SRC)/filemode.c \
        $(SRC)/filemode.h \

=== modified file 'src/makefile.w32-in'
--- src/makefile.w32-in 2011-05-18 11:32:07 +0000
+++ src/makefile.w32-in 2011-05-23 17:46:52 +0000
@@ -866,6 +866,7 @@
        $(EMACS_ROOT)/nt/inc/unistd.h \
        $(EMACS_ROOT)/nt/inc/sys/time.h \
        $(EMACS_ROOT)/lib/md5.h \
+       $(EMACS_ROOT)/lib/sha1.h \
        $(LISP_H) \
        $(SRC)/atimer.h \
        $(SRC)/blockinput.h \




reply via email to

[Prev in Thread] Current Thread [Next in Thread]