X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2FMakefile.am;h=200c71f5ae6c7cea7d1ca30350c07601648f5813;hp=96431a31322cda0204d150e2b2b4da86c38d1586;hb=3273e3254107a4b89cd9963012d5fac8927c417c;hpb=d10834e92015f1e0e5bf74e03b161b3a5dc363fb diff --git a/src/Makefile.am b/src/Makefile.am index 96431a31..200c71f5 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -2,6 +2,8 @@ sbin_PROGRAMS = tincd tinc sptps_test sptps_keypair +CLEANFILES = version_git.h + .PHONY: version-stamp version-stamp: @@ -10,6 +12,11 @@ version_git.h: version-stamp @-(cd $(srcdir) && git describe 2>/dev/null >/dev/null) && echo '#define GIT_DESCRIPTION "'`(cd $(srcdir) && git describe) | sed 's/release-//'`'"' >$@ ||: ${srcdir}/version.c: version_git.h +## Now a hack to appease some versions of BSD make that don't understand that "./foo" is the same as "foo". +if BSD +version.c: ${srcdir}/version.c +endif + if LINUX sbin_PROGRAMS += sptps_speed endif @@ -97,6 +104,7 @@ tincd_SOURCES = \ tinc_SOURCES = \ dropin.c dropin.h \ fsck.c fsck.h \ + ifconfig.c ifconfig.h \ info.c info.h \ invitation.c invitation.h \ list.c list.h \