Newsgroups: php.internals,php.internals.win Path: news.php.net Xref: news.php.net php.internals:86340 php.internals.win:1092 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 50152 invoked from network); 21 May 2015 09:20:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 May 2015 09:20:10 -0000 Authentication-Results: pb1.pair.com header.from=anatol.php@belski.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=anatol.php@belski.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain belski.net from 85.214.73.107 cause and error) X-PHP-List-Original-Sender: anatol.php@belski.net X-Host-Fingerprint: 85.214.73.107 klapt.com Received: from [85.214.73.107] ([85.214.73.107:49395] helo=h1123647.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FB/42-37037-743AD555 for ; Thu, 21 May 2015 05:20:08 -0400 Received: by h1123647.serverkompetenz.net (Postfix, from userid 1006) id 59E7B6D2045; Thu, 21 May 2015 11:20:04 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on h1123647.serverkompetenz.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.5 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=unavailable version=3.3.2 Received: from w520phpdev (pD9FE8FF3.dip0.t-ipconnect.de [217.254.143.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by h1123647.serverkompetenz.net (Postfix) with ESMTPSA id 4D4296D2044; Thu, 21 May 2015 11:20:02 +0200 (CEST) To: "'Ferenc Kovacs'" , "'Eric Stenson'" , Cc: References: In-Reply-To: Date: Thu, 21 May 2015 11:19:52 +0200 Message-ID: <002701d093a7$4d3a9210$e7afb630$@belski.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQGWHwiSIHHeGINRHuU4zDqP8dqMxwFrPrWcne+qcYA= Content-Language: en-us Subject: RE: [INTERNALS-WIN] Re: [PHP-DEV] Q: What is the Config.w32 equivalent of PHP_ADD_MAKEFILE_FRAGMENT? From: anatol.php@belski.net ("Anatol Belski") Hi Eric, > -----Original Message----- > From: Ferenc Kovacs [mailto:tyra3l@gmail.com] > Sent: Thursday, May 21, 2015 10:29 AM > To: Eric Stenson; internals-win@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? >=20 > On Thu, May 21, 2015 at 1:12 AM, Eric Stenson > wrote: >=20 > > 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=3D69642 . = 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