libressl-portable/apps/nc/Makefile.am

50 lines
980 B
Makefile
Raw Normal View History

include $(top_srcdir)/Makefile.am.common
-include $(abs_top_builddir)/crypto/libcrypto_la_objects.mk
2022-12-18 22:10:11 -06:00
-include $(abs_top_builddir)/ssl/libssl_la_objects.mk
-include $(abs_top_builddir)/tls/libtls_la_objects.mk
2015-09-13 11:56:41 -05:00
if BUILD_NC
if ENABLE_NC
bin_PROGRAMS = nc
dist_man_MANS = nc.1
else
noinst_PROGRAMS = nc
endif
2015-09-13 07:23:04 -05:00
EXTRA_DIST = nc.1
EXTRA_DIST += CMakeLists.txt
2015-09-13 07:23:04 -05:00
2022-12-18 22:10:11 -06:00
nc_LDADD = $(libcrypto_la_objects)
nc_LDADD += $(libcompat_la_objects)
nc_LDADD += $(libcompatnoopt_la_objects)
2022-12-18 22:10:11 -06:00
nc_LDADD += $(libssl_la_objects)
nc_LDADD += $(libtls_la_objects)
nc_LDADD += $(PLATFORM_LDADD) $(PROG_LDADD)
AM_CPPFLAGS += -I$(top_srcdir)/apps/nc/compat
2015-09-13 11:56:41 -05:00
nc_SOURCES = atomicio.c
nc_SOURCES += netcat.c
nc_SOURCES += socks.c
noinst_HEADERS = atomicio.h
2015-09-13 11:56:41 -05:00
noinst_HEADERS += compat/sys/socket.h
2015-09-13 11:56:41 -05:00
nc_SOURCES += compat/socket.c
if !HAVE_B64_NTOP
nc_SOURCES += compat/base64.c
endif
2015-09-13 11:56:41 -05:00
if !HAVE_ACCEPT4
nc_SOURCES += compat/accept4.c
endif
2015-09-13 11:56:41 -05:00
if !HAVE_READPASSPHRASE
nc_SOURCES += compat/readpassphrase.c
endif
2015-09-12 10:51:11 -05:00
endif