X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lnet%2Fklnds%2Fsocklnd%2FautoMakefile.am;h=1141b1cb580eeb12e26c518d24f13f89f142dac8;hb=HEAD;hp=5abd1357b96141c5521908c40e3c9db96fb91830;hpb=d63c9fc5bdf2d9bc09d799295d8077a3aab217cb;p=fs%2Flustre-release.git diff --git a/lnet/klnds/socklnd/autoMakefile.am b/lnet/klnds/socklnd/autoMakefile.am index 5abd135..4703d2d 100644 --- a/lnet/klnds/socklnd/autoMakefile.am +++ b/lnet/klnds/socklnd/autoMakefile.am @@ -1,37 +1,13 @@ -# Copyright (C) 2001 Cluster File Systems, Inc. +# SPDX-License-Identifier: GPL-2.0 + +# +# This file is part of Lustre, http://www.lustre.org/ # -# This code is issued under the GNU General Public License. -# See the file COPYING in this distribution if MODULES -if !CRAY_PORTALS - -if LINUX -modulenet_DATA = ksocknal$(KMODEXT) -endif - -if DARWIN -macos_PROGRAMS := ksocknal - -ksocknal_SOURCES := socknal.c socknal_cb.c socknal_lib-darwin.c - -ksocknal_CFLAGS := $(EXTRA_KCFLAGS) -ksocknal_LDFLAGS := $(EXTRA_KLDFLAGS) -ksocknal_LDADD := $(EXTRA_KLIBS) - -plist_DATA := Info.plist - -install_data_hook := fix-kext-ownership - -endif - -endif -endif - -install-data-hook: $(install_data_hook) +modulenet_DATA := ksocklnd$(KMODEXT) +endif # MODULES -EXTRA_DIST := Info.plist +EXTRA_DIST := $(ksocklnd-objs:%.o=%.c) socklnd.h -MOSTLYCLEANFILES = *.o *.ko *.mod.c socknal_lib.c -DIST_SOURCES = $(ksocknal-objs:%.o=%.c) socknal_lib-darwin.c \ - socknal_lib-darwin.h socknal_lib-linux.h socknal.h +MOSTLYCLEANFILES = @MOSTLYCLEANFILES@