Remove generation of serval.c. It was only used (AFAIK) for the Asterisk plugin which can't/won't work at this stage.

This commit is contained in:
Daniel O'Connor 2012-06-04 13:07:30 +09:30
parent 304db6e5f4
commit b5581c9861

View File

@ -72,7 +72,7 @@ CFLAGS= @CPPFLAGS@ @CFLAGS@ @PORTAUDIO_CFLAGS@ @SRC_CFLAGS@ @SPANDSP_CFLAGS@ @PT
DEFS= @DEFS@
all: serval.c dna libservald.so
all: dna libservald.so
sqlite3.o: sqlite3.c
@echo CC $<
@ -90,12 +90,6 @@ libservald.so: $(OBJS)
@echo LINK $@
@$(CC) $(CFLAGS) -Wall -shared -o $@ $(OBJS) $(LDFLAGS)
serval.c: $(SRCS) $(HDRS)
@echo CREATE $@
@cat serval.h >$@
@echo '#include <sys/mman.h>' >>$@
@cat $(SRCS) | grep -v "#include" | sed -e 's/inet_ntoa/ast_inet_ntoa/g' >>$@
testserver: dna
clear
rm hlr.dat
@ -120,4 +114,4 @@ testbigset: testget
clear
./dna -vvv -s `cat testget | cut -f2 -d: | tail -1` -i 0 -W note=@411.txt
clean:
@rm -f $(OBJS) serval.c dna libservald.so
@rm -f $(OBJS) dna libservald.so