mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 09:58:01 +00:00
Colin also suggests that we can replace the backticks in the GTK
makefile with make's own $(shell ...) function, which means that gtk-config and krb5-config and so on only get run once per make invocation instead of once per gcc invocation. [originally from svn r8400]
This commit is contained in:
parent
98c4b69b08
commit
1bb22cfa1f
10
mkfiles.pl
10
mkfiles.pl
@ -939,14 +939,14 @@ if (defined $makefiles{'gtk'}) {
|
|||||||
"\n".
|
"\n".
|
||||||
&splitline("CFLAGS = -O2 -Wall -Werror -g " .
|
&splitline("CFLAGS = -O2 -Wall -Werror -g " .
|
||||||
(join " ", map {"-I$dirpfx$_"} @srcdirs) .
|
(join " ", map {"-I$dirpfx$_"} @srcdirs) .
|
||||||
" `\$(GTK_CONFIG) --cflags`").
|
" \$(shell \$(GTK_CONFIG) --cflags)").
|
||||||
" -D _FILE_OFFSET_BITS=64\n".
|
" -D _FILE_OFFSET_BITS=64\n".
|
||||||
"XLDFLAGS = \$(LDFLAGS) `\$(GTK_CONFIG) --libs`\n".
|
"XLDFLAGS = \$(LDFLAGS) \$(shell \$(GTK_CONFIG) --libs)\n".
|
||||||
"ULDFLAGS = \$(LDFLAGS)\n".
|
"ULDFLAGS = \$(LDFLAGS)\n".
|
||||||
"ifeq (,\$(findstring NO_GSSAPI,\$(COMPAT)))\n".
|
"ifeq (,\$(findstring NO_GSSAPI,\$(COMPAT)))\n".
|
||||||
"CFLAGS+= `\$(KRB5CONFIG) --cflags gssapi`\n".
|
"CFLAGS+= \$(shell \$(KRB5CONFIG) --cflags gssapi)\n".
|
||||||
"XLDFLAGS+= `\$(KRB5CONFIG) --libs gssapi`\n".
|
"XLDFLAGS+= \$(shell \$(KRB5CONFIG) --libs gssapi)\n".
|
||||||
"ULDFLAGS = `\$(KRB5CONFIG) --libs gssapi`\n".
|
"ULDFLAGS = \$(shell \$(KRB5CONFIG) --libs gssapi)\n".
|
||||||
"endif\n".
|
"endif\n".
|
||||||
"INSTALL=install\n".
|
"INSTALL=install\n".
|
||||||
"INSTALL_PROGRAM=\$(INSTALL)\n".
|
"INSTALL_PROGRAM=\$(INSTALL)\n".
|
||||||
|
Loading…
Reference in New Issue
Block a user