diff options
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/nc/Makefile.am | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/apps/nc/Makefile.am b/apps/nc/Makefile.am index ccb770a..a8e7a40 100644 --- a/apps/nc/Makefile.am +++ b/apps/nc/Makefile.am | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | include $(top_srcdir)/Makefile.am.common | 1 | include $(top_srcdir)/Makefile.am.common |
| 2 | 2 | ||
| 3 | bin_PROGRAMS = nc | 3 | if HAVE_POLL |
| 4 | |||
| 5 | noinst_PROGRAMS = nc | ||
| 4 | 6 | ||
| 5 | nc_LDADD = $(PLATFORM_LDADD) $(PROG_LDADD) | 7 | nc_LDADD = $(PLATFORM_LDADD) $(PROG_LDADD) |
| 6 | nc_LDADD += $(top_builddir)/tls/libtls.la | 8 | nc_LDADD += $(top_builddir)/tls/libtls.la |
| @@ -9,3 +11,9 @@ nc_SOURCES = atomicio.c | |||
| 9 | nc_SOURCES += netcat.c | 11 | nc_SOURCES += netcat.c |
| 10 | nc_SOURCES += socks.c | 12 | nc_SOURCES += socks.c |
| 11 | noinst_HEADERS = atomicio.h | 13 | noinst_HEADERS = atomicio.h |
| 14 | |||
| 15 | if !HAVE_STRTONUM | ||
| 16 | nc_SOURCES += compat/strtonum.c | ||
| 17 | endif | ||
| 18 | |||
| 19 | endif | ||
