X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2FMakefile.am;h=4b266a7390d577af6b4fcb8e1dfc009851e5dbc9;hb=c79f93d90fdb12c839ca59336e9bf571e8cbbcaa;hp=ebf8f71ead8d019812aad0244bb78b92b9cada27;hpb=04543a57e73e29c3e2a1968fd330f03c94dd6059;p=tinc diff --git a/src/Makefile.am b/src/Makefile.am index ebf8f71e..4b266a73 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -190,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 @@ -276,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)