diff options
| author | Eli Zaretskii | 2011-02-21 22:00:19 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2011-02-21 22:00:19 +0200 |
| commit | 25c51af3a920a21ddfc08e6551690c18b679751f (patch) | |
| tree | cfcc9362678ab1ab8dface02dfe1222fe0bfe050 /src | |
| parent | c63090455fe67ba5788aa23a5223655c2cbe9351 (diff) | |
| download | emacs-25c51af3a920a21ddfc08e6551690c18b679751f.tar.gz emacs-25c51af3a920a21ddfc08e6551690c18b679751f.zip | |
Adapt MS-Windows build to import of filemode.c from gnulib.
nt/inc/sys/stat.h (S_ISUID, S_ISGID, S_ISVTX, S_IRGRP, S_IROTH)
(S_IWGRP, S_IWOTH, S_IXGRP, S_IXOTH, S_ISSOCK, S_ISLNK, S_ISCTG)
(S_ISDOOR, S_ISMPB, S_ISMPC, S_ISNWK, S_ISPORT, S_ISWHT)
(S_TYPEISMQ, S_TYPEISSEM, S_TYPEISSHM, S_TYPEISTMO): Define.
(lstat): Define to stat.
lib/makefile.w32-in ($(BLD)/filemode.$(O)): Move from
src/makefile.w32-in and adapt. Depend on stamp_BLD.
(GNULIBOBJS): Add $(BLD)/filemode.$(O).
src/makefile.w32-in ($(BLD)/filemode.$(O)): Move recipe to
lib/makefilw.w32-in.
($(BLD)/dired.$(O)): Depend on $(EMACS_ROOT)/lib/filemode.h.
(GLOBAL_SOURCES): Remove filemode.c.
(OBJ1): Remove $(BLD)/filemode.$(O).
lib-src/makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/emacsclient.$(O))
($(BLD)/etags.$(O), $(BLD)/movemail.$(O), $(BLD)/ntlib.$(O)):
Depend on $(EMACS_ROOT)/nt/inc/sys/stat.h.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 8 | ||||
| -rw-r--r-- | src/makefile.w32-in | 8 |
2 files changed, 10 insertions, 6 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index d95ebb32dee..9713a4a6ed5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2011-02-21 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * makefile.w32-in ($(BLD)/filemode.$(O)): Move recipe to | ||
| 4 | lib/makefilw.w32-in. | ||
| 5 | ($(BLD)/dired.$(O)): Depend on $(EMACS_ROOT)/lib/filemode.h. | ||
| 6 | (GLOBAL_SOURCES): Remove filemode.c. | ||
| 7 | (OBJ1): Remove $(BLD)/filemode.$(O). | ||
| 8 | |||
| 1 | 2011-02-21 Paul Eggert <eggert@cs.ucla.edu> | 9 | 2011-02-21 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 10 | ||
| 3 | Import filemode module from gnulib. | 11 | Import filemode module from gnulib. |
diff --git a/src/makefile.w32-in b/src/makefile.w32-in index ca7fdcac029..7a702fd45bf 100644 --- a/src/makefile.w32-in +++ b/src/makefile.w32-in | |||
| @@ -72,7 +72,6 @@ OBJ1 = $(BLD)/alloc.$(O) \ | |||
| 72 | $(BLD)/eval.$(O) \ | 72 | $(BLD)/eval.$(O) \ |
| 73 | $(BLD)/fileio.$(O) \ | 73 | $(BLD)/fileio.$(O) \ |
| 74 | $(BLD)/filelock.$(O) \ | 74 | $(BLD)/filelock.$(O) \ |
| 75 | $(BLD)/filemode.$(O) \ | ||
| 76 | $(BLD)/fns.$(O) \ | 75 | $(BLD)/fns.$(O) \ |
| 77 | $(BLD)/indent.$(O) \ | 76 | $(BLD)/indent.$(O) \ |
| 78 | $(BLD)/insdel.$(O) \ | 77 | $(BLD)/insdel.$(O) \ |
| @@ -213,7 +212,7 @@ GLOBAL_SOURCES = dosfns.c msdos.c \ | |||
| 213 | cm.c term.c terminal.c xfaces.c \ | 212 | cm.c term.c terminal.c xfaces.c \ |
| 214 | emacs.c keyboard.c macros.c keymap.c sysdep.c \ | 213 | emacs.c keyboard.c macros.c keymap.c sysdep.c \ |
| 215 | buffer.c filelock.c insdel.c marker.c \ | 214 | buffer.c filelock.c insdel.c marker.c \ |
| 216 | minibuf.c fileio.c dired.c filemode.c \ | 215 | minibuf.c fileio.c dired.c \ |
| 217 | cmds.c casetab.c casefiddle.c indent.c search.c regex.c undo.c \ | 216 | cmds.c casetab.c casefiddle.c indent.c search.c regex.c undo.c \ |
| 218 | alloc.c data.c doc.c editfns.c callint.c \ | 217 | alloc.c data.c doc.c editfns.c callint.c \ |
| 219 | eval.c floatfns.c fns.c print.c lread.c \ | 218 | eval.c floatfns.c fns.c print.c lread.c \ |
| @@ -663,6 +662,7 @@ $(BLD)/dired.$(O) : \ | |||
| 663 | $(SRC)/coding.h \ | 662 | $(SRC)/coding.h \ |
| 664 | $(SRC)/commands.h \ | 663 | $(SRC)/commands.h \ |
| 665 | $(SRC)/composite.h \ | 664 | $(SRC)/composite.h \ |
| 665 | $(EMACS_ROOT)/lib/filemode.h \ | ||
| 666 | $(SRC)/ndir.h \ | 666 | $(SRC)/ndir.h \ |
| 667 | $(SRC)/regex.h \ | 667 | $(SRC)/regex.h \ |
| 668 | $(SRC)/systime.h | 668 | $(SRC)/systime.h |
| @@ -821,10 +821,6 @@ $(BLD)/filelock.$(O) : \ | |||
| 821 | $(SRC)/composite.h \ | 821 | $(SRC)/composite.h \ |
| 822 | $(SRC)/systime.h | 822 | $(SRC)/systime.h |
| 823 | 823 | ||
| 824 | $(BLD)/filemode.$(O) : \ | ||
| 825 | $(SRC)/filemode.c \ | ||
| 826 | $(CONFIG_H) | ||
| 827 | |||
| 828 | $(BLD)/firstfile.$(O) : \ | 824 | $(BLD)/firstfile.$(O) : \ |
| 829 | $(SRC)/firstfile.c \ | 825 | $(SRC)/firstfile.c \ |
| 830 | $(CONFIG_H) | 826 | $(CONFIG_H) |