Assume POSIX 1003.1-1988 or later for signal.h.
[bpt/emacs.git] / lib / makefile.w32-in
index af45b26..348fe91 100644 (file)
@@ -1,4 +1,4 @@
-# -*- Makefile -*- for GNU Emacs on the Microsoft Windows API.
+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,7 @@ 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) \
@@ -86,8 +90,7 @@ 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 \
@@ -100,6 +103,8 @@ U64_H          = $(GNU_LIB)/u64.h \
                 $(NT_INC)/stdint.h
 SHA512_H       = $(GNU_LIB)/sha512.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 \
@@ -118,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)
@@ -128,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 \
@@ -199,17 +221,19 @@ $(BLD)/sha512.$(O) : \
        $(SHA512_H)
 
 $(BLD)/stat-time.$(O) : \
-       $(GNU_LIB)/stat-time.h \
-       $(NT_INC)/sys/stat.h \
-       $(CONFIG_H)
+       $(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) : \
-       $(U64_H) \
-       $(CONFIG_H)
+       $(GNU_LIB)/u64.c \
+       $(CONFIG_H) \
+       $(U64_H)
 
 $(BLD)/filemode.$(O) : \
        $(GNU_LIB)/filemode.c \
@@ -296,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 $@