自动工具(automake)是否有办法改变这条主线
gcc -DHAVE_CONFIG_H -I. -I. -I. -pthread -I/usr/include/libgsf-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DHAVE_SVGZ=1 -I/usr/include/libcroco-0.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DHAVE_LIBCROCO=1 -pthread -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -DG_LOG_DOMAIN=\"librsvg\" -DLIBRSVG_DATADIR="\"/usr/local/share\"" -g -O2 -MT rsvg-shapes.lo -MD -MP -MF .deps/rsvg-shapes.Tpo -c -o rsvg-shapes.lo rsvg-shapes.c
进入这个
compiling rsvg-shapes.c
请注意,使用librsvg文件只是一个示例。
我看到了this question,但它是针对Makefile编写者的,是否有针对Makefile.am编写者的解决方案
最佳答案
是的,请执行以下任一操作:
silent-rules
选项添加为AM_INIT_AUTOMAKE AM_SILENT_RULES
宏如果完成了此操作,则可以传递
--enable-silent-rules
进行配置,也可以在make时传递V=0
来使构建静音。有关更多信息,请参见Automake Silent Rules in the Automake Manual。