Hi Eric, > -----Original Message----- > From: Ferenc Kovacs [mailto:tyr...@gmail.com] > Sent: Thursday, May 21, 2015 10:29 AM > To: Eric Stenson; internals-...@lists.php.net > Cc: internals@lists.php.net > Subject: [INTERNALS-WIN] Re: [PHP-DEV] Q: What is the Config.w32 equivalent > of PHP_ADD_MAKEFILE_FRAGMENT? > > On Thu, May 21, 2015 at 1:12 AM, Eric Stenson <erics...@microsoft.com> > wrote: > > > Internals folks-- > > > > I'm trying to add something...complicated to a PECL extension, and I > > need to add some custom dependency rules to the Makefile. > > > > Specifically, I'm compiling a manifest file using 'mc', which produces > > both a .h file and a .rc file. I need to ensure the 'mc' command runs > > before the compilation of the .c files that depend upon the header > > being generated. > > > > With the Config.m4, there's the PHP_ADD_MAKEFILE_FRAGMENT directive, > > that magically pulls in the Makefile.frag in the same directory as the > > extension. Is there an equivalent directive for Config.w32? > >
Regarding manifests I'm currently investigating as well. Basically because of the win10 versioning which now might require us to include manifests. Please read here https://bugs.php.net/bug.php?id=69642 . Generally I see, that manifests will be already picked up when they exist. You can inspect the makefile currently generated to see how it is done. But there's no functionality to include fragments. There is just a template in win32\build\Makefile which is then extended by the configure.js run. Can you please share what exactly you need it to do? Like the command sequence or alike, maybe there is already a way to do that. Of course we can also implement embedding fragments. Though that might most likely require slightly different code for PHP 5/7 and won't be available in earlier releases. Regards Anatol -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php