mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-01-18 02:39:44 +00:00
Don't build libservald.so as it doesn't compile on 64 bit elf platforms and isn't used (it is only needed for JNI stuff on a phone)
While I'm here split out CFLAGS generation to make compiling without optimisation easier (for debugging)
This commit is contained in:
parent
7be0d9d00d
commit
8d30acedc8
12
Makefile.in
12
Makefile.in
@ -68,11 +68,15 @@ HDRS= fifo.h \
|
||||
sqlite-amalgamation-3070900/sqlite3.h
|
||||
|
||||
LDFLAGS=@LDFLAGS@ @PORTAUDIO_LIBS@ @SRC_LIBS@ @SPANDSP_LIBS@ @CODEC2_LIBS@ @PTHREAD_LIBS@
|
||||
CFLAGS= @CPPFLAGS@ @CFLAGS@ @PORTAUDIO_CFLAGS@ @SRC_CFLAGS@ @SPANDSP_CFLAGS@ @PTHREAD_CFLAGS@ $(VOIPTEST_CFLAGS) -Wall -Wno-unused-value
|
||||
|
||||
CFLAGS= @CPPFLAGS@ @CFLAGS@ @PORTAUDIO_CFLAGS@ @SRC_CFLAGS@ @SPANDSP_CFLAGS@ @PTHREAD_CFLAGS@ $(VOIPTEST_CFLAGS)
|
||||
CFLAGS+=-Wall -Wno-unused-value
|
||||
#CFLAGS+=-Wunreachable-code
|
||||
#CFLAGS+=-O0
|
||||
|
||||
DEFS= @DEFS@
|
||||
|
||||
|
||||
all: dna libservald.so
|
||||
all: dna
|
||||
|
||||
sqlite3.o: sqlite3.c
|
||||
@echo CC $<
|
||||
@ -86,6 +90,8 @@ dna: $(OBJS)
|
||||
@echo LINK $@
|
||||
@$(CC) $(CFLAGS) -Wall -o $@ $(OBJS) $(LDFLAGS)
|
||||
|
||||
# This does not build on 64 bit elf platforms as NaCL isn't built with -fPIC
|
||||
# DOC 20120615
|
||||
libservald.so: $(OBJS)
|
||||
@echo LINK $@
|
||||
@$(CC) $(CFLAGS) -Wall -shared -o $@ $(OBJS) $(LDFLAGS)
|
||||
|
Loading…
Reference in New Issue
Block a user