Skip to content
This repository has been archived by the owner on Nov 18, 2020. It is now read-only.

Make always build all sources. #27

Closed
lkarsten opened this issue Nov 30, 2015 · 3 comments
Closed

Make always build all sources. #27

lkarsten opened this issue Nov 30, 2015 · 3 comments
Assignees

Comments

@lkarsten
Copy link
Contributor

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'
@fgsch
Copy link

fgsch commented Nov 30, 2015

Related to #26 (vcc being phony).

@dridi dridi self-assigned this Dec 15, 2015
@dridi
Copy link
Member

dridi commented Dec 15, 2015

I'll have a look at this, assigning to myself.

@dridi
Copy link
Member

dridi commented Feb 27, 2018

No longer happening.

@dridi dridi closed this as completed Feb 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants