X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=Makefile.comm;h=d8dcb7c3a92f68820e0a18309d8ff89f7575d5d4;hb=ba6bc90a4852272549e770b1d7d8ed19a0745f37;hp=af83dedf431bf066e3be285371f9b6288fc87c3a;hpb=127b4a136978d1fd30a69fe7dac78a37da0ca667;p=mingw%2Fmingw-org-wsl.git diff --git a/Makefile.comm b/Makefile.comm index af83ded..d8dcb7c 100644 --- a/Makefile.comm +++ b/Makefile.comm @@ -5,8 +5,8 @@ # # $Id$ # -# Written by Keith Marshall -# Copyright (C) 2017, MinGW.org Project +# Written by Keith Marshall +# Copyright (C) 2017, 2019, MinGW.org Project # # # Permission is hereby granted, free of charge, to any person obtaining a @@ -82,6 +82,14 @@ vpath %.h.in ${mingwrt_srcdir}/include ${w32api_srcdir}/include _mingw.h w32api.h: %.h: %.h.in VERSION.m4 $(PACKAGE_VERSION_SCRIPT) $< > $@ +# _mingw.h wants to include , which is nominally a user +# supplied header; for our build-time requirements, an empty file is +# sufficient, as _mingw.h provides suitable fall-back definitions. +# +_mingw.h: features.h +features.h: + > $@ + PACKAGE_VERSION_SCRIPT = sed \ -e s"`$(call PACKAGE_VERSION_FORMAT,LONG,%d,$$3+1000*($$2+1000*$$1))`" \ -e s"`$(call PACKAGE_VERSION_FORMAT,MAJOR,%7d,$$1)`" \