X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2FMakefile.am;h=4b266a7390d577af6b4fcb8e1dfc009851e5dbc9;hb=c79f93d90fdb12c839ca59336e9bf571e8cbbcaa;hp=253e02a5ce2f6cd0fa33317ee5e718d55d8e1fc4;hpb=61b441dc995c1e6dd21fd85e2014dd981e9c9350;p=tinc diff --git a/src/Makefile.am b/src/Makefile.am index 253e02a5..4b266a73 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -42,6 +42,7 @@ chacha_poly1305_SOURCES = \ chacha-poly1305/poly1305.c chacha-poly1305/poly1305.h tincd_SOURCES = \ + address_cache.c address_cache.h \ autoconnect.c autoconnect.h \ buffer.c buffer.h \ cipher.h \ @@ -189,10 +190,6 @@ if MINGW tincd_SOURCES += mingw/device.c mingw/common.h endif -if CYGWIN -tincd_SOURCES += cygwin/device.c -endif - if UML tincd_SOURCES += uml_device.c endif @@ -275,13 +272,18 @@ tincd_LDADD = $(MINIUPNPC_LIBS) tincd_LDFLAGS = -pthread endif +if MINGW +sptps_test_LDFLAGS = -pthread +endif + tinc_LDADD = $(READLINE_LIBS) $(CURSES_LIBS) sptps_speed_LDADD = -lrt -LIBS = @LIBS@ -lm +LIBS = @LIBS@ -lm $(CODE_COVERAGE_LIBS) if TUNEMU LIBS += -lpcap endif -AM_CFLAGS = -DCONFDIR=\"$(sysconfdir)\" -DRUNSTATEDIR=\"$(runstatedir)\" -DLOCALSTATEDIR=\"$(localstatedir)\" -DSBINDIR=\"$(sbindir)\" -iquote. +AM_CFLAGS = -DCONFDIR=\"$(sysconfdir)\" -DRUNSTATEDIR=\"$(runstatedir)\" -DLOCALSTATEDIR=\"$(localstatedir)\" -DSBINDIR=\"$(sbindir)\" -iquote. $(CODE_COVERAGE_CFLAGS) +AM_CPPFLAGS = $(CODE_COVERAGE_CPPFLAGS)