forked from Mirrors/freeswitch
0488a5109a
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3733 d0543943-73ff-0310-b7d9-9358b9ac24b2
38 lines
644 B
Makefile
38 lines
644 B
Makefile
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
NONPORTABLE = \
|
|
testregex@EXEEXT@
|
|
|
|
PROGRAMS = \
|
|
|
|
TARGETS = $(PROGRAMS) $(NONPORTABLE)
|
|
|
|
# bring in rules.mk for standard functionality
|
|
@INCLUDE_RULES@
|
|
|
|
LOCAL_LIBS=../../lib@APR_LIBNAME@.la
|
|
|
|
CLEAN_TARGETS = testregex@EXEEXT@
|
|
|
|
INCDIR=../../include
|
|
INCLUDES=-I$(INCDIR)
|
|
|
|
CFLAGS=$(MY_CFLAGS)
|
|
|
|
all: $(PROGRAMS) $(NONPORTABLE)
|
|
|
|
check: $(PROGRAMS) $(NONPORTABLE)
|
|
for prog in $(PROGRAMS) $(NONPORTABLE); do \
|
|
./$$prog; \
|
|
if test $$i = 255; then \
|
|
echo "$$prog failed"; \
|
|
break; \
|
|
fi \
|
|
done
|
|
|
|
testregex@EXEEXT@: testregex.lo $(LOCAL_LIBS)
|
|
$(LINK) testregex.lo $(LOCAL_LIBS) $(ALL_LIBS)
|
|
|
|
# DO NOT REMOVE
|