1# Makefile 2# This file holds the make rules for the Telephony Engine modules 3 4# override DESTDIR at install time to prefix the install directory 5DESTDIR := 6 7SUBDIRS := data help skins scripts sounds 8 9prefix = @prefix@ 10exec_prefix = @exec_prefix@ 11datarootdir = @datarootdir@ 12datadir = @datadir@ 13shrdir = $(datadir)/yate 14 15# include optional local make rules 16-include YateLocal.mak 17 18PHONY: all clean install uninstall 19all clean install uninstall: 20 $(if $(SUBDIRS),\ 21 @for i in $(SUBDIRS) ; do \ 22 if test -f ./$$i/Makefile ; then \ 23 $(MAKE) -C ./$$i $@ || exit 1;\ 24 fi; \ 25 done \ 26 ) 27 28Makefile: @srcdir@/Makefile.in ../config.status 29 cd .. && ./config.status 30