+if MODULES
if LINUX
if !CRAY_PORTALS
endif # !CRAY_PORTALS
endif # LINUX
+endif # MODULES
DIST_SOURCES := $(ksocknal-objs:%.o=%.c) socknal_lib-linux.h socknal.h
EXTRA_DIST := $(plist_DATA)
install-data-hook: $(install_data_hook)
-MOSTLYCLEANFILES = *.o *.ko *.mod.c socknal_lib.c
+MOSTLYCLEANFILES := @MOSTLYCLEANFILES@ socknal_lib.c