d50d200ad81f2b7c8a3c8773e26cb323c1243434
[feed/telephony.git] / freeswitch / patches / 106-libs-xmlrpc-c-lib-expat-gennmtab-Makefile.patch
1 --- a/libs/xmlrpc-c/lib/expat/gennmtab/Makefile
2 +++ b/libs/xmlrpc-c/lib/expat/gennmtab/Makefile
3 @@ -1,3 +1,5 @@
4 +TOPDIR=$(shell (cd $(SRCDIR)/../../../../..; pwd))
5 +
6  ifeq ($(SRCDIR),)
7    updir = $(shell echo $(dir $(1)) | sed 's/.$$//')
8    EXPATDIR := $(call updir,$(CURDIR))
9 @@ -7,6 +9,7 @@ ifeq ($(SRCDIR),)
10  endif
11  SUBDIR := lib/expat/gennmtab
12  
13 +include $(TOPDIR)/rules.mk
14  include $(BLDDIR)/config.mk
15  
16  LDFLAGS = $(LADD)