Assume POSIX 1003.1-1988 or later for signal.h.
[bpt/emacs.git] / lib / makefile.w32-in
index b49195b..348fe91 100644 (file)
@@ -1,5 +1,5 @@
-# -*- Makefile -*- for GNU Emacs on the Microsoft W32 API.
-# Copyright (C) 2011 Free Software Foundation, Inc.
+2# -*- Makefile -*- for GNU Emacs on the Microsoft Windows API.
+# Copyright (C) 2011-2012 Free Software Foundation, Inc.
 
 # This file is part of GNU Emacs.
 
@@ -26,8 +26,11 @@ LIBS                 =
 GNULIBOBJS = $(BLD)/c-ctype.$(O) \
             $(BLD)/c-strcasecmp.$(O) \
             $(BLD)/c-strncasecmp.$(O) \
+            $(BLD)/close-stream.$(O) \
             $(BLD)/dtoastr.$(O) \
             $(BLD)/dtotimespec.$(O)  \
+            $(BLD)/execinfo.$(O)  \
+            $(BLD)/fpending.$(O)  \
             $(BLD)/getopt.$(O)  \
             $(BLD)/getopt1.$(O) \
             $(BLD)/gettime.$(O) \
@@ -39,6 +42,10 @@ GNULIBOBJS = $(BLD)/c-ctype.$(O) \
             $(BLD)/sha1.$(O) \
             $(BLD)/sha256.$(O) \
             $(BLD)/sha512.$(O) \
+            $(BLD)/sig2str.$(O) \
+            $(BLD)/stat-time.$(O) \
+            $(BLD)/timespec.$(O) \
+            $(BLD)/u64.$(O) \
             $(BLD)/filemode.$(O)
 
 #
@@ -71,18 +78,19 @@ NT_INC              = $(EMACS_ROOT)/nt/inc
 
 C_CTYPE_H      = $(GNU_LIB)/c-ctype.h \
                 $(NT_INC)/stdbool.h
-MS_W32_H       = $(SRC)/s/ms-w32.h \
+MS_W32_H       = $(NT_INC)/ms-w32.h \
                 $(NT_INC)/sys/stat.h
-CONFIG_H       = $(SRC)/config.h \
+CONF_POST_H    = $(SRC)/conf_post.h \
                 $(MS_W32_H)
+CONFIG_H       = $(SRC)/config.h \
+                $(CONF_POST_H)
 FILEMODE_H     = $(GNU_LIB)/filemode.h \
                 $(NT_INC)/sys/stat.h
 FTOASTR_H      = $(GNU_LIB)/ftoastr.h \
                 $(GNU_LIB)/intprops.h
 FTOASTR_C      = $(GNU_LIB)/ftoastr.c \
                 $(CONFIG_H) \
-                $(FTOASTR_H) \
-                $(GNU_LIB)/ftoastr.h
+                $(FTOASTR_H)
 GETOPT_INT_H   = $(GNU_LIB)/getopt_int.h \
                 $(GNU_LIB)/getopt.h
 MD5_H          = $(GNU_LIB)/md5.h \
@@ -94,8 +102,9 @@ SHA256_H       = $(GNU_LIB)/sha256.h \
 U64_H          = $(GNU_LIB)/u64.h \
                 $(NT_INC)/stdint.h
 SHA512_H       = $(GNU_LIB)/sha512.h \
-                $(U64_H) \
-                $(GNU_LIB)/u64.h
+                $(U64_H)
+STAT_TIME_H    = $(GNU_LIB)/stat-time.h \
+                $(NT_INC)/sys/stat.h
 
 $(BLD)/c-ctype.$(O) : \
        $(GNU_LIB)/c-ctype.c \
@@ -114,6 +123,13 @@ $(BLD)/c-strncasecmp.$(O) : \
        $(CONFIG_H) \
        $(C_CTYPE_H)
 
+$(BLD)/close-stream.$(O) : \
+       $(GNU_LIB)/close-stream.c \
+       $(GNU_LIB)/close-stream.h \
+       $(GNU_LIB)/fpending.h \
+       $(NT_INC)/stdbool.h \
+       $(CONFIG_H)
+
 $(BLD)/dtoastr.$(O) : \
        $(GNU_LIB)/dtoastr.c \
        $(FTOASTR_C)
@@ -124,6 +140,16 @@ $(BLD)/dtotimespec.$(O) : \
        $(GNU_LIB)/timespec.h \
        $(CONFIG_H)
 
+$(BLD)/execinfo.$(O) : \
+       $(GNU_LIB)/execinfo.c \
+       $(GNU_LIB)/execinfo.h \
+       $(CONFIG_H)
+
+$(BLD)/fpending.$(O) : \
+       $(GNU_LIB)/fpending.c \
+       $(GNU_LIB)/fpending.h \
+       $(CONFIG_H)
+
 $(BLD)/getopt.$(O) : \
        $(GNU_LIB)/getopt.c \
        $(GNU_LIB)/getopt.h \
@@ -194,6 +220,21 @@ $(BLD)/sha512.$(O) : \
        $(CONFIG_H) \
        $(SHA512_H)
 
+$(BLD)/stat-time.$(O) : \
+       $(GNU_LIB)/stat-time.c \
+       $(CONFIG_H) \
+       $(STAT_TIME_H)
+
+$(BLD)/timespec.$(O) : \
+       $(GNU_LIB)/timespec.c \
+       $(GNU_LIB)/timespec.h \
+       $(CONFIG_H)
+
+$(BLD)/u64.$(O) : \
+       $(GNU_LIB)/u64.c \
+       $(CONFIG_H) \
+       $(U64_H)
+
 $(BLD)/filemode.$(O) : \
        $(GNU_LIB)/filemode.c \
        $(CONFIG_H) \
@@ -279,3 +320,6 @@ getopt_h:
              < getopt.in.h > getopt_.h-t
        $(CP) getopt_.h-t getopt_.h
        - $(DEL) getopt_.h-t
+
+execinfo.h: execinfo.in.h
+       $(CP) execinfo.in.h $@