Whamcloud - gitweb
Land b_smallfix onto HEAD (20040416_1638) (more 2.6 build fixes)
[fs/lustre-release.git] / lnet / tests / autoMakefile.am
index a1ff7e8..5f81b93 100644 (file)
@@ -3,9 +3,14 @@
 # This code is issued under the GNU General Public License.
 # See the file COPYING in this distribution
 
+if MODULES
+if !CRAY_PORTALS
+if TESTS
 noinst_DATA := pingsrv$(KMODEXT) pingcli$(KMODEXT)
 noinst_DATA += spingsrv$(KMODEXT) spingcli$(KMODEXT)
+endif
+endif
+endif
 
 MOSTLYCLEANFILES = *.o *.ko *.mod.c pingsrv.c pingcli.c spingsrv.c spingcli.c
-DIST_SOURCES = $(pingsrc-objs:%.o=%.c) $(pingcli:%.o=%.c) \
-       $(spingsrv:%.o=%.c) $(spingcli:%.o=%.c) ping.h
+DIST_SOURCES = ping_srv.c ping_cli.c sping_srv.c sping_cli.c ping.h