Michael Jerris 940bf73b72 Do a better job at tracking dependencies into the libs, so libs are re-built when they need to.
Eliminate some more gmakeisms in the modules makefiles




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4629 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-17 08:40:10 +00:00

21 lines
446 B
Makefile

switch_srcdir=../../../..
HOWL=howl-1.0.0
HOWL_DIR=$(switch_srcdir)/libs/$(HOWL)
HOWLLA=$(HOWL_DIR)/src/lib/howl/libhowl.la
LOCAL_CFLAGS=-I$(HOWL_DIR)/include
LOCAL_LIBADD=$(HOWLLA)
DEFAULT_ARGS=--prefix=$(PREFIX) --disable-shared --with-pic
include $(switch_srcdir)/build/modmake.rules
$(HOWL_DIR):
$(GETLIB) $(HOWL).tar.gz
cd $(HOWL_DIR) && ./configure $(DEFAULT_ARGS)
$(HOWLLA): $(HOWL_DIR)
cd $(HOWL_DIR) && $(MAKE)
$(TOUCH_TARGET)