build: Fix parallel build issue
[ 34s] gcc -DHAVE_CONFIG_H -I. -I../aux_config -I../src -I.. -D_REENTRANT -DBSD_COMP -D_POSIX_PTHREAD_SEMANTICS -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -fPIC -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g -c -o submit_multi_resp_test.o `test -f '../test_pdu/submit_multi_resp_test.c' || echo './'`../test_pdu/submit_multi_resp_test.c [ 34s] make[2]: *** No rule to make target '../binaries/libsmpp34.la', needed by 'submit_multi_resp_test'. Stop. [ 34s] make[2]: *** Waiting for unfinished jobs.... Change-Id: Ic8e8a80d5f12606fb417204da268e37c8ab9cf69
This commit is contained in:
parent
4db6fabf66
commit
221d397b52
|
@ -9,9 +9,9 @@ include $(top_srcdir)/test_pdu/Makefile.am
|
|||
include $(top_srcdir)/test_apps/Makefile.am
|
||||
include $(top_srcdir)/src/Makefile.am
|
||||
|
||||
LDADD = $(top_builddir)/binaries/libsmpp34.la
|
||||
LDADD = libsmpp34.la
|
||||
AM_CPPFLAGS = -D_REENTRANT -DBSD_COMP -D_POSIX_PTHREAD_SEMANTICS
|
||||
AM_CFLAGS = @CFLAGS@ -Wall -fPIC # -static
|
||||
INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)
|
||||
AM_LDFLAGS = -lrt -lpthread
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/src -I$(top_srcdir)
|
||||
LDADD += -lrt -lpthread
|
||||
OBJ_EXTRA_DIST = $(esme_EXTRA_DIST)
|
||||
|
|
|
@ -20,9 +20,7 @@ include_HEADERS = \
|
|||
$(LIBRARY_SOURCE_DIR)/smpp34_params.h
|
||||
|
||||
libsmpp34_la_CFLAGS = @CFLAGS@ -Wall
|
||||
libsmpp34_la_CFLAGS += -D_REENTRANT -DBSD_COMP -D_POSIX_PTHREAD_SEMANTICS
|
||||
libsmpp34_la_INCLUDES = -I. -I..
|
||||
libsmpp34_la_CPPFLAGS = -D_REENTRANT -DBSD_COMP -D_POSIX_PTHREAD_SEMANTICS
|
||||
libsmpp34_la_CPPFLAGS += -I. -I..
|
||||
libsmpp34_la_LDFLAGS = @LDFLAGS@ -version-info 0:1:0
|
||||
libsmpp34_la_LDFLAGS += -lrt -lpthread
|
||||
|
||||
|
||||
libsmpp34_la_LIBADD = -lrt -lpthread
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# test_pdu/Makefile.am #
|
||||
|
||||
AM_CPPFLAGS = -I${top_srcdir}/src $(LIBXML2_CFLAGS)
|
||||
TESTAPPS_SOURCE_DIR = $(top_srcdir)/test_apps
|
||||
sendwp_SOURCES = \
|
||||
$(TESTAPPS_SOURCE_DIR)/tcp.c\
|
||||
|
@ -7,8 +8,7 @@ sendwp_SOURCES = \
|
|||
$(TESTAPPS_SOURCE_DIR)/sendwp.h\
|
||||
$(TESTAPPS_SOURCE_DIR)/sendwp.c
|
||||
|
||||
sendwp_CPPFLAGS = $(LIBXML2_CFLAGS)
|
||||
sendwp_LDFLAGS = $(LIBXML2_LIBS)
|
||||
sendwp_LDADD = $(LIBXML2_LIBS) libsmpp34.la
|
||||
|
||||
noinst_DATA = \
|
||||
$(TESTAPPS_SOURCE_DIR)/sendwp.xml \
|
||||
|
@ -20,11 +20,7 @@ esme_SOURCES = \
|
|||
$(TESTAPPS_SOURCE_DIR)/esme.h\
|
||||
$(TESTAPPS_SOURCE_DIR)/esme.c
|
||||
|
||||
esme_CPPFLAGS = $(LIBXML2_CFLAGS)
|
||||
esme_LDFLAGS = $(LIBXML2_LIBS)
|
||||
esme_LDADD = $(LIBXML2_LIBS) libsmpp34.la
|
||||
|
||||
analizer_SOURCES = \
|
||||
$(TESTAPPS_SOURCE_DIR)/analizer.c
|
||||
|
||||
analizer_CPPFLAGS =
|
||||
analizer_LDFLAGS =
|
||||
|
|
Loading…
Reference in New Issue