# This code is issued under the GNU General Public License.
# See the file COPYING in this distribution
-DEFS=
+if !LINUX25
+modulefs_DATA = ptlbd$(KMODEXT)
+endif
-MODULE = ptlbd
-modulefs_DATA = ptlbd.o
-EXTRA_PROGRAMS = ptlbd
-
-ptlbd_SOURCES = blk.c client.c main.c rpc.c server.c
-
-include $(top_srcdir)/Rules
+MOSTLYCLEANFILES = *.o *.ko *.mod.c
+DIST_SOURCES = $(ptlbd-objs:%.o=%.c)