forked from Mirrors/freeswitch
3abb7730b2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3772 d0543943-73ff-0310-b7d9-9358b9ac24b2
54 lines
852 B
Makefile
54 lines
852 B
Makefile
ifeq ($(SRCDIR)x,x)
|
|
SRCDIR = $(CURDIR)/..
|
|
endif
|
|
SUBDIR = lib
|
|
|
|
include $(SRCDIR)/Makefile.config
|
|
|
|
SUBDIRS = util
|
|
ifeq ($(ENABLE_ABYSS_SERVER),yes)
|
|
SUBDIRS += abyss
|
|
endif
|
|
ifeq ($(MUST_BUILD_WININET_CLIENT),yes)
|
|
SUBDIRS += wininet_transport
|
|
endif
|
|
ifeq ($(MUST_BUILD_CURL_CLIENT),yes)
|
|
SUBDIRS += curl_transport
|
|
endif
|
|
ifeq ($(MUST_BUILD_LIBWWW_CLIENT),yes)
|
|
SUBDIRS += libwww_transport
|
|
endif
|
|
ifneq ($(ENABLE_LIBXML2),yes)
|
|
SUBDIRS += expat
|
|
endif
|
|
|
|
default: all
|
|
|
|
.PHONY: all
|
|
all: $(SUBDIRS:%=%/all)
|
|
|
|
.PHONY: clean
|
|
clean: $(SUBDIRS:%=%/clean) clean-common
|
|
|
|
.PHONY: distclean
|
|
distclean: $(SUBDIRS:%=%/distclean) distclean-common
|
|
|
|
.PHONY: tags
|
|
tags: $(SUBDIRS:%=%/tags) TAGS
|
|
|
|
DISTFILES =
|
|
|
|
.PHONY: distdir
|
|
distdir: distdir-common
|
|
|
|
.PHONY: install
|
|
install: $(SUBDIRS:%=%/install)
|
|
|
|
.PHONY: dep
|
|
dep: $(SUBDIRS:%=%/dep)
|
|
|
|
include $(SRCDIR)/Makefile.common
|
|
|
|
|
|
|