2008-05-23 16:56:24 -04:00
|
|
|
ifeq ($(SRCDIR),)
|
|
|
|
updir = $(shell echo $(dir $(1)) | sed 's/.$$//')
|
|
|
|
SRCDIR := $(call updir,$(CURDIR))
|
|
|
|
BLDDIR := $(SRCDIR)
|
2006-12-20 22:57:49 -05:00
|
|
|
endif
|
2008-05-23 16:56:24 -04:00
|
|
|
SUBDIR := tools
|
2006-12-20 22:57:49 -05:00
|
|
|
|
2008-05-23 16:56:24 -04:00
|
|
|
include $(BLDDIR)/config.mk
|
2006-12-20 22:57:49 -05:00
|
|
|
|
|
|
|
SUBDIRS = binmode-rpc-kit turbocharger
|
|
|
|
|
|
|
|
ifeq ($(MUST_BUILD_CLIENT),yes)
|
|
|
|
SUBDIRS += xmlrpc xmlrpc_transport
|
|
|
|
|
2008-05-23 16:56:24 -04:00
|
|
|
ifeq ($(ENABLE_CPLUSPLUS),yes)
|
|
|
|
SUBDIRS += xml-rpc-api2cpp xmlrpc_cpp_proxy
|
|
|
|
# We could add 'xmlrpc_pstream' here, but we don't because we don't
|
|
|
|
# want to deal with finding the Readline/Ncurses libraries.
|
|
|
|
endif
|
2006-12-20 22:57:49 -05:00
|
|
|
endif
|
|
|
|
|
2008-05-23 16:56:24 -04:00
|
|
|
.PHONY: all clean distclean install check dep
|
2006-12-20 22:57:49 -05:00
|
|
|
|
|
|
|
all: $(SUBDIRS:%=%/all)
|
|
|
|
|
|
|
|
clean: $(SUBDIRS:%=%/clean)
|
|
|
|
|
|
|
|
distclean: $(SUBDIRS:%=%/distclean)
|
|
|
|
|
|
|
|
install: $(SUBDIRS:%=%/install)
|
|
|
|
|
2008-05-23 16:56:24 -04:00
|
|
|
check:
|
|
|
|
|
2006-12-20 22:57:49 -05:00
|
|
|
dep: $(SUBDIRS:%=%/dep)
|
|
|
|
|
2008-05-23 16:56:24 -04:00
|
|
|
include $(SRCDIR)/common.mk
|