--- a/libs/xmlrpc-c/lib/expat/gennmtab/Makefile +++ b/libs/xmlrpc-c/lib/expat/gennmtab/Makefile @@ -1,3 +1,5 @@ +TOPDIR=$(shell (cd $(SRCDIR)/../../../../..; pwd)) + ifeq ($(SRCDIR),) updir = $(shell echo $(dir $(1)) | sed 's/.$$//') EXPATDIR := $(call updir,$(CURDIR)) @@ -7,6 +9,7 @@ ifeq ($(SRCDIR),) endif SUBDIR := lib/expat/gennmtab +include $(TOPDIR)/rules.mk include $(BLDDIR)/config.mk LDFLAGS = $(LADD)