obj/config.mk:
@echo "You need to run configure first." && false
+BUILDSYS_PATH=$(s)/build
+
# We will use the libucw build system
-include $(s)/build/Maketop
+include $(BUILDSYS_PATH)/Maketop
# Set up names of common libraries (to avoid forward references in rules)
LIBLANG=$(o)/lang/liblang.pc
LIBIMAGES=$(o)/images/libimages.pc
# Include makefiles of libraries we wish to use
-include $(s)/lib/Makefile
+include $(s)/ucw/Makefile
include $(s)/charset/Makefile
include $(s)/lang/Makefile
include $(s)/images/Makefile
PROGS+=$(o)/test
$(o)/test: $(o)/test.o $(LIBUCW) $(LIBLANG) $(LIBCHARSET) $(LIBIMAGES)
+# All tests (%-t) get automatically linked with libucw
+TESTING_DEPS=$(LIBUCW)
+
# And finally the default rules of the build system
-include $(s)/build/Makebottom
+include $(BUILDSYS_PATH)/Makebottom