X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lnet%2Flnet%2FautoMakefile.am;h=eccb20299c75cd49dd9248720ed1b5493c843d12;hb=1101120d3258509fa74f952cd8664bfdc17bd97d;hp=136f87071bbce4e4b087b23d959e44ec12f494ab;hpb=00f255b8c00dff66481a6ab22391869217b5d8af;p=fs%2Flustre-release.git diff --git a/lnet/lnet/autoMakefile.am b/lnet/lnet/autoMakefile.am index 136f870..eccb202 100644 --- a/lnet/lnet/autoMakefile.am +++ b/lnet/lnet/autoMakefile.am @@ -1,49 +1,11 @@ -# Copyright (C) 2002 Cluster File Systems, Inc. -# -# This code is issued under the GNU General Public License. -# See the file COPYING in this distribution - -my_sources = api-errno.c api-ni.c api-wrap.c \ - lib-init.c lib-me.c lib-msg.c lib-eq.c \ - lib-md.c lib-move.c lib-ni.c lib-pid.c - -if !CRAY_PORTALS - -if LIBLUSTRE -noinst_LIBRARIES= libportals.a -libportals_a_SOURCES= $(my_sources) -libportals_a_CPPFLAGS = $(LLCPPFLAGS) -libportals_a_CFLAGS = $(LLCFLAGS) -endif - if MODULES if LINUX -modulenet_DATA = portals$(KMODEXT) +modulenet_DATA = lnet$(KMODEXT) endif # LINUX -if DARWIN -macos_PROGRAMS := portals - -portals_SOURCES := api-errno.c api-ni.c api-wrap.c -portals_SOURCES += lib-init.c lib-me.c lib-msg.c lib-eq.c lib-md.c -portals_SOURCES += lib-move.c lib-ni.c lib-pid.c module.c - -portals_CFLAGS := $(EXTRA_KCFLAGS) -portals_LDFLAGS := $(EXTRA_KLDFLAGS) -portals_LDADD := $(EXTRA_KLIBS) - -plist_DATA := Info.plist - -install-data-hook: fix-kext-ownership - -endif # DARWIN - endif # MODULES -endif # CRAY_PORTALS - -EXTRA_DIST := Info.plist +EXTRA_DIST := $(lnet-objs:%.o=%.c) -MOSTLYCLEANFILES = *.o *.ko *.mod.c portals -DIST_SOURCES = $(portals-objs:%.o=%.c) +MOSTLYCLEANFILES = @MOSTLYCLEANFILES@ lnet