Index: uspace/lib/softint/Makefile
===================================================================
--- uspace/lib/softint/Makefile	(revision 8786aa5c151fa5280b899437cecc4930c636823b)
+++ uspace/lib/softint/Makefile	(revision 7f5e0700a17e22719744070bb5e06a9f2ff5a05b)
@@ -28,13 +28,13 @@
 #
 
-include Makefile.common
+USPACE_PREFIX = ../..
+LIBS = $(LIBC_PREFIX)/libc.a
+EXTRA_CFLAGS = -Iinclude
 
-.PHONY: all clean
+OUTPUT = libsoftint.a
 
-all: $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBC_PREFIX)/../../../config.defs $(LIBC_PREFIX)/libc.a
-	-[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
-	$(MAKE) -f Makefile.build PRECHECK=$(PRECHECK)
+SOURCES = \
+	generic/division.c\
+	generic/multiplication.c
 
-clean:
-	rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(LIBSOFTINT)
-	find . -name '*.o' -follow -exec rm \{\} \;
+include ../Makefile.common
