mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-01-29 15:43:56 +00:00
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:
parent
304db6e5f4
commit
b5581c9861
10
Makefile.in
10
Makefile.in
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user