# # Copyright (c) 2018-2023, Amazon.com, Inc. or its affiliates. All rights reserved. # # See LICENSE.txt for license information # AM_CPPFLAGS = -I$(top_srcdir)/include -DXML_DIR=\"${pkgdatadir}/xml\" sources = \ nccl_ofi_net.c \ nccl_ofi_sendrecv.c \ nccl_ofi_rdma.c \ nccl_ofi_scheduler.c \ nccl_ofi_topo.c \ nccl_ofi_msgbuff.c \ nccl_ofi_freelist.c \ nccl_ofi_deque.c \ tracepoint.c if HAVE_CUDA sources += nccl_ofi_cuda.c endif if WANT_PLATFORM_AWS sources += platform-aws.c endif if ENABLE_NEURON lib_LTLIBRARIES = libnccom-net.la sources += compat_v4.c libnccom_net_la_SOURCES = $(sources) else lib_LTLIBRARIES = libnccl-net.la sources += compat_v6.c \ compat_v5.c \ compat_v4.c \ compat_v3.c \ compat_v2.c libnccl_net_la_SOURCES = $(sources) endif