From: Chris Rienzo Date: Thu, 8 May 2014 15:16:02 +0000 (-0400) Subject: mod_rayo: re-added Makefile for iks helpers unit tests X-Git-Tag: v1.5.12~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84eb4a0404a005cc8f9846e576b5568b918698ae;p=thirdparty%2Ffreeswitch.git mod_rayo: re-added Makefile for iks helpers unit tests --- diff --git a/src/mod/event_handlers/mod_rayo/test_iks/Makefile b/src/mod/event_handlers/mod_rayo/test_iks/Makefile new file mode 100644 index 0000000000..d75a967feb --- /dev/null +++ b/src/mod/event_handlers/mod_rayo/test_iks/Makefile @@ -0,0 +1,18 @@ +BASE=../../../../.. + +IKS_DIR=$(BASE)/libs/iksemel +IKS_LA=$(IKS_DIR)/src/libiksemel.la +LOCAL_CFLAGS += -I../ -I$(BASE)/libs/iksemel/include +LOCAL_OBJS= $(PCRE_LA) $(IKS_LA) main.o ../iks_helpers.o +LOCAL_SOURCES= main.c +include $(BASE)/build/modmake.rules + +$(IKS_LA): $(IKS_DIR) $(IKS_DIR)/.update + @cd $(IKS_DIR) && $(MAKE) + @$(TOUCH_TARGET) + +local_all: + libtool --mode=link gcc main.o ../iks_helpers.o -o test test_iks.la + +local_clean: + -rm test