Closed lkarsten closed 6 years ago
With current git master for vmod example, the source tree is always rebuilt when running make.
Expected: No files rebuilt since no source files have been modified between invocations.
(=3a37e) lkarsten@IMMER ~/work/libvmod-example> make make all-recursive make[1]: Entering directory '/home/lkarsten/work/libvmod-example' Making all in src make[2]: Entering directory '/home/lkarsten/work/libvmod-example/src' /usr/share/varnish-plus/vmodtool.py ../src/vmod_example.vcc /bin/bash ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish-plus -Wall -Werror -g -O2 -MT vmod_example.lo -MD -MP -MF .deps/vmod_example.Tpo -c -o vmod_example.lo vmod_example.c libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish-plus -Wall -Werror -g -O2 -MT vmod_example.lo -MD -MP -MF .deps/vmod_example.Tpo -c vmod_example.c -fPIC -DPIC -o .libs/vmod_example.o mv -f .deps/vmod_example.Tpo .deps/vmod_example.Plo /bin/bash ../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -module -export-dynamic -avoid-version -shared -o libvmod_example.la -rpath /usr/lib/varnish-plus/vmods vmod_example.lo vcc_if.lo libtool: link: rm -fr .libs/libvmod_example.la .libs/libvmod_example.lai .libs/libvmod_example.so libtool: link: gcc -std=gnu99 -shared -fPIC -DPIC .libs/vmod_example.o .libs/vcc_if.o -O2 -Wl,-soname -Wl,libvmod_example.so -o .libs/libvmod_example.so libtool: link: ( cd ".libs" && rm -f "libvmod_example.la" && ln -s "../libvmod_example.la" "libvmod_example.la" ) make[2]: Leaving directory '/home/lkarsten/work/libvmod-example/src' make[2]: Entering directory '/home/lkarsten/work/libvmod-example' make[2]: Leaving directory '/home/lkarsten/work/libvmod-example' make[1]: Leaving directory '/home/lkarsten/work/libvmod-example' # Rerunning without modifying/touching any files: (=3a37e) lkarsten@IMMER ~/work/libvmod-example> make make all-recursive make[1]: Entering directory '/home/lkarsten/work/libvmod-example' Making all in src make[2]: Entering directory '/home/lkarsten/work/libvmod-example/src' /usr/share/varnish-plus/vmodtool.py ../src/vmod_example.vcc /bin/bash ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish-plus -Wall -Werror -g -O2 -MT vcc_if.lo -MD -MP -MF .deps/vcc_if.Tpo -c -o vcc_if.lo vcc_if.c libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish-plus -Wall -Werror -g -O2 -MT vcc_if.lo -MD -MP -MF .deps/vcc_if.Tpo -c vcc_if.c -fPIC -DPIC -o .libs/vcc_if.o mv -f .deps/vcc_if.Tpo .deps/vcc_if.Plo /bin/bash ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish-plus -Wall -Werror -g -O2 -MT vmod_example.lo -MD -MP -MF .deps/vmod_example.Tpo -c -o vmod_example.lo vmod_example.c rst2man vmod_example.man.rst vmod_example.3 libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I/usr/include/varnish-plus -Wall -Werror -g -O2 -MT vmod_example.lo -MD -MP -MF .deps/vmod_example.Tpo -c vmod_example.c -fPIC -DPIC -o .libs/vmod_example.o mv -f .deps/vmod_example.Tpo .deps/vmod_example.Plo /bin/bash ../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -module -export-dynamic -avoid-version -shared -o libvmod_example.la -rpath /usr/lib/varnish-plus/vmods vmod_example.lo vcc_if.lo libtool: link: rm -fr .libs/libvmod_example.la .libs/libvmod_example.lai .libs/libvmod_example.so libtool: link: gcc -std=gnu99 -shared -fPIC -DPIC .libs/vmod_example.o .libs/vcc_if.o -O2 -Wl,-soname -Wl,libvmod_example.so -o .libs/libvmod_example.so libtool: link: ( cd ".libs" && rm -f "libvmod_example.la" && ln -s "../libvmod_example.la" "libvmod_example.la" ) make[2]: Leaving directory '/home/lkarsten/work/libvmod-example/src' make[2]: Entering directory '/home/lkarsten/work/libvmod-example' make[2]: Leaving directory '/home/lkarsten/work/libvmod-example'
Related to #26 (vcc being phony).
I'll have a look at this, assigning to myself.
No longer happening.
With current git master for vmod example, the source tree is always rebuilt when running make.
Expected: No files rebuilt since no source files have been modified between invocations.