mod_rayo: re-added Makefile for srgs unit tests

This commit is contained in:
Chris Rienzo 2014-05-08 11:14:20 -04:00
parent 752f7956f9
commit d7d4625866
1 changed files with 18 additions and 0 deletions

View File

@ -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 ../srgs.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 ../srgs.o -o test test_srgs.la
local_clean:
-rm test