X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lnet%2Fklnds%2Fgmlnd%2FautoMakefile.am;h=6ff7933633ee7a00f2a5f252ec0c0c7ba48f31fb;hb=ed88907a96ba81d3558e71ade9def98bdc785169;hp=9e92c69872f1e34d22d29531532bde1c7499bc17;hpb=3de901fceee79de12a31428bcc6ba3a00f10d1fe;p=fs%2Flustre-release.git diff --git a/lnet/klnds/gmlnd/autoMakefile.am b/lnet/klnds/gmlnd/autoMakefile.am index 9e92c69..6ff7933 100644 --- a/lnet/klnds/gmlnd/autoMakefile.am +++ b/lnet/klnds/gmlnd/autoMakefile.am @@ -3,7 +3,11 @@ # This code is issued under the GNU General Public License. # See the file COPYING in this distribution -modulenet_DATA = kgmnal$(KMODEXT) +if MODULES +if BUILD_GMLND +modulenet_DATA = kgmlnd$(KMODEXT) +endif +endif -MOSTLYCLEANFILES = *.o *.ko *.mod.c -DIST_SOURCES = $(kgmnal-objs:%.o=%.c) gmnal.h +MOSTLYCLEANFILES := @MOSTLYCLEANFILES@ +DIST_SOURCES = $(kgmlnd-objs:%.o=%.c) gmlnd.h